[Suggestion] Find missing tag info (1 Viewer)

spoonyluv

MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    Hi,
    It would be useful to scan a folder of music files and find those that are missing tag info such as artist, album and genre and would therefore be categorized incorrectly when imported.

    Thanks.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    You can already do that.

    in the Treeview, you'll see a filter Tab.
    Select it and check the "Use Tag Filter". With the mouse in the Grid below press the "Ins" - Key or right click to select "Insert Filter" from the context menu.

    Then select "Artist" or whatever field you like from the combo and leave the Filter field empty.
    Now press F% for refresh and the filter is applied. it will list only files with an empty artist.

    if you enter "!" (without quotes of course) into the filter field, it'll list files which have an artist.
     

    spoonyluv

    MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    Thanks! that's awesome, great work on the filter features.

    I'm now running into an unhandled exception crash when its scanning my entire music collection. Seems to happen on the same file number each time, how can I find out which file is causing the problem?

    Below is the exception info if it helps,

    Thanks again





    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
    Parameter name: length
    at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle)
    at TagLib.File.Create(String path)
    at MPTagThat.GridView.GridViewTracks.FolderScan()
    at MPTagThat.Main.RefreshTrackList()
    at MPTagThat.TreeViewControl.treeViewFolderBrowser_AfterSelect(Object sender, TreeViewEventArgs e)
    at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
    at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
    at System.Windows.Forms.TreeView.WmNotify(Message& m)
    at System.Windows.Forms.TreeView.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MPTagThat
    Assembly Version: 1.1.3434.16708
    Win32 Version: 1.1.3434.16708
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/MPTagThat.exe
    ----------------------------------------
    MPTagThat.Core
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/MPTagThat.Core.DLL
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    BassRegistration
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/BassRegistration.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Bass.Net
    Assembly Version: 2.4.0.1
    Win32 Version: 2.4.0.1
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/Bass.Net.DLL
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    u550tmjr
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    w6gln3li
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    kaqkjzi0
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    eaqw6pjh
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    u_da3rnm
    Assembly Version: 1.1.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Telerik.WinControls.UI
    Assembly Version: 2.1.1.0
    Win32 Version: 2.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/Telerik.WinControls.UI.DLL
    ----------------------------------------
    Telerik.WinControls
    Assembly Version: 2.1.1.0
    Win32 Version: 2.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/Telerik.WinControls.DLL
    ----------------------------------------
    4pmi19mz
    Assembly Version: 2.1.1.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    TelerikCommon
    Assembly Version: 2.1.1.0
    Win32 Version: 2.1.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/TelerikCommon.DLL
    ----------------------------------------
    System.Drawing.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
    ----------------------------------------
    taglib-sharp
    Assembly Version: 2.0.2.17
    Win32 Version: 2.0.2.17
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/taglib-sharp.DLL
    ----------------------------------------
    gohnvtm-
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    dynamicBASSNET
    Assembly Version: 0.0.0.0
    Win32 Version: 2.4.0.1
    CodeBase: file:///C:/Program%20Files%20(x86)/Team%20MediaPortal/MPTagThat/Bin/Bass.Net.dll
    ----------------------------------------
    System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    grab an updated installation from here

    it captures the exception and tells you, which file is in error.
    Please upload the file to a free file hoster and pm me the link.
    i would love to have a look at this file.
     

    spoonyluv

    MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    I have figured out which files are causing a crash. I've located three albums so far that crash the program, but can't find anything special about them.

    Perhaps this is a bug that can be fixed? let me know if you need information about the files.

    I PMed a link to one of the files.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    THe file you've uploaded has 2 Comments inside.
    the second comment is not aligned to a Word boundary, so i'm running out of index.
    this is an error, which should be fixed by taglib-sharp.
    will see what i could do
     

    spoonyluv

    MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    Great, thanks.

    Out of curiosity, how would I see these comments? When I look in Windows explorer or in another MP3 tag editor, the comments field is blank on all the tracks that are having issues?
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    yes, looks like the other tag editors skip those comments.
    I can read one of them, but on the second on i'm failing.

    both comments are UTF-16 encoded and contain Asian characters (Chinese, Japanse, or whatever).
    This isn't the problem, but the second comments contains 1 byte too less and this is causing the troubles.

    the only way to look at them is using a hex editor. they're somewhere around 340 bytes into the file starting with COMM.
    if you remove everything starting (and including) the first COMM until APIC starts, then you wil be able to read the file.
    i was also successfull by just adding 1 byte to the second COMM frame.

    another quick solution, until i could fix the issue, would be to use another tag editor, which doesn't fail and remove the ID3 V2 tag and retag it.
     

    spoonyluv

    MP Donator
  • Premium Supporter
  • July 12, 2008
    38
    0
    oh wow, that's a little too ambitious for me. Do you think you'll be able to work around this? if so, I'll probably just wait for a fix.

    Thx.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    yeah, most probabl i can, but it'll take me some time.
    for the time being, those files will be ignored and not shown in the list
     

    Users who are viewing this thread

    Similar threads

    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    PS: But maybe the MP2 team will be back tomorrow, and development and bug fixes will continue. Time will tell.
    Hi, Help Please. I've got several FLAC audio files that play OK on my PC, and my HTPC, via: Media Player / Windows Media Player /...
    Replies
    8
    Views
    870
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search songs with Lyrics in Music tag>
    I do have most of my Music tagged with Lyrics and it works with My Lyrics. If I remember correctly, you have to set: <Don't search...
    Hi. Setting up MyLyrics now. I got version 2.2.2.295 from My Lyrics 2.2.0 for MP 1.10 Final, and above (31-12-2014) . I'm planning...
    Replies
    1
    Views
    3K
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    2K
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is missing in my Titan skin. This only applies to my .TS files, my .MKV files are OK. I believe the difference is likely to be because .MKV files embed the runtime in the file unlike .TS files. I have done...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    I have recently installed MediaPortal 1.37 (x64) and MP-TVSeries v4.5.1.697 and unfortunately the TV episode runtime duration is...
    Replies
    0
    Views
    1K
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    4K
    Top Bottom