[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,633
    2,457
    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,633
    2,457
    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,633
    2,457
    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,633
    2,457
    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,633
    2,457
    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

    ??? :confused: Please, try with latest MP 1.33, not 1.30 and, all in debug logs to provide...
    ??? :confused: Please, try with latest MP 1.33, not 1.30 and, all in debug logs to provide...
    Hi Running MP1 - 1.39 for long while, no issues. 10th April [same time as 2024-KB5037036 Cumulative Update for .NET Framework...
    Replies
    4
    Views
    212
    MP1 MP2 [solved] Basic audio question... DE
    Yes, works, thanks. Deselecting "Prefer multichannel audio streams" under "Video Player" (under "Players") gives me the stereo stream, by default, in television also. Thanks for your help. N.
    Yes, works, thanks. Deselecting "Prefer multichannel audio streams" under "Video Player" (under "Players") gives me the stereo...
    Is there a way to set the default audio stream for live TV? The default default, so to speak, for me seems to be English...
    Replies
    4
    Views
    684
    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all data including poster. Also the import speed is much faster + the local data are kept forever, even MP2 is removed. To overwrite only some movies you need to remove them once from the share, place an...
    Please check the wiki. I never take online sources but perform offline imports. You can use external tools for that and change all...
    Hi, I'm new here but have been gradually getting my head around setting everything up but one simple task is throwing me off - how...
    Replies
    1
    Views
    486
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
    Replies
    0
    Views
    1K
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    Will be version 2.5.1 ready quite soon? I read somewhere it will be a bugfix release, no new features are probably not in focus.
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    70
    Views
    5K
    Top Bottom