Folder Scan does not see all my music

Discussion in 'Listen Music' started by totopsgr, April 26, 2015.

  1. totopsgr
    • Premium Supporter

    totopsgr MP Donator

    Joined:
    August 15, 2011
    Messages:
    108
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Project Management Consultant
    Location:
    Abu Dhabi, UAE
    Ratings:
    +14 / 0
    Home Country:
    Greece Greece
    Dear All,

    I had an HTPC with MP 1.8 on it, and all was working well. Recently due to hardware problems I bought a new HTPC and given the opportunity of a clean setup I upgraded to MP 1.11. I have my music collection on a NAS (network storage Unit). Once I set the music folder path and click on update DB, the process completes after 98 music files only, although I have more than a thousand. My music files are all .flac and .aiff. I made sure these extensions are in the extension list in MP. I delete the link to the shared folder and created a new one and re-scanned but with the same results. Only 98 songs from the same three artists. Any ideas on what to look for/ try fixing? In MP 1.8 didn't encounter this problem.

    Thank you in advance.



    Regards

    AT
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
  4. totopsgr
    • Premium Supporter

    totopsgr MP Donator

    Joined:
    August 15, 2011
    Messages:
    108
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Project Management Consultant
    Location:
    Abu Dhabi, UAE
    Ratings:
    +14 / 0
    Home Country:
    Greece Greece
    Hi,

    My problem is slightly different than what I thought. Yes the rescan lasts very little time in comparison with before (processing files up to around 115 when I have thousands). But if I switch to share view I can see all my music under the corresponding artist records (all my collection is structured in physical folders Artist--->Album) and I can play the music. But if I switch to artist view (or any view that depends on file metadata) it sees only three artists. Possibly associated with not processing all the files. I know all my files have metadata and in the previous MP setup I had (1.8) music was working as expected.

    So I ran the watchdog for MP, went to settings did a scan on a new share (same location, different name) watched it do the limited file processing and the problem was the same. Then I exited MP. Log files attached.

    Thank you
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Thanks for the logs.
    Here is the scan (from MediaPortal.log):
    Show Spoiler

    [2015-04-26 16:47:11,445] [Log ] [MusicScan] [INFO ] - MusicDatabase: adding share \\MEDIAMONSTER\music\My Music Library\Music for scanning - available disk space: 1394125 MB
    [2015-04-26 16:47:11,447] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: Beginning music database reorganization...
    [2015-04-26 16:47:11,447] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: Last import done at 01-Jan-01 12:00:00 AM
    [2015-04-26 16:47:11,447] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: Cleaning up Artists, AlbumArtists and Genres
    [2015-04-26 16:47:11,463] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: CleanupForeignKeys completed
    [2015-04-26 16:47:11,463] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: Scanning for music files
    [2015-04-26 16:47:44,573] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._01 High.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:44,729] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._02 You're Beautiful.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:44,838] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._03 Wisemen.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:44,901] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._04 Goodbye My Lover.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:44,963] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._05 Tears And Rain.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,010] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._06 Out Of My Mind.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,073] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._07 So Long, Jimmy.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,135] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._08 Billy 1.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,198] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._08 Billy.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,276] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._09 Cry.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:45,354] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\James Blunt\Back To Bedlam\._10 No Bravery.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:51,948] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._01 Dance Me To The End Of Love.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:51,995] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._02 Don't Wait Too Long.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,088] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._03 Don't Cry Baby.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,167] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._04 You're Gonna Make Me Lonesome When You Go.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,229] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._05 Between The Bars.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,276] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._06 No More.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,307] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._07 Lonesome Road.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,354] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._08 J'ai Deux Amours.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,385] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._09 Weary Blues.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,432] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._10 I'll Look Around.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,495] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._11 Careless Love.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:52,573] [Log ] [25 ] [WARN ] - TagReader: Exception reading file \\MEDIAMONSTER\music\My Music Library\Music\Madeleine Peyroux\Careless Love\._12 This Is Heaven To Me.aif. File does not begin with AIFF identifier
    [2015-04-26 16:47:53,729] [Error ] [25 ] [ERROR] - MusicDBReorg: Exception accessing file or folder: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
    [2015-04-26 16:47:53,760] [Log ] [MusicScan] [INFO ] - Musicdatabasereorg: Total Songs: 98. 23 added / 75 updated / 0 skipped


    You can see that the tag reader thinks some of your AIF files aren't actually AIFs... but the biggest problem seems to be an extra long path/file name. The error log is pretty clear:
     
  6. totopsgr
    • Premium Supporter

    totopsgr MP Donator

    Joined:
    August 15, 2011
    Messages:
    108
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Project Management Consultant
    Location:
    Abu Dhabi, UAE
    Ratings:
    +14 / 0
    Home Country:
    Greece Greece
    Thanks for the quick response.

    Seeing now the log it seems some have extension .aif instead of .aiff, but anyway the above log is only about the 98 songs that are recognized. What about the thousands that are not processed?

    Could it that the long file name/directory name stops the process? Why MP 1.11 can not handle something that MP 1.8 could?

    I'll try to eliminate the long filenames and see if that makes a difference.
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Yes - that's exactly what I was trying to say.

    Pass. I'm not an expert on the music section, but I doubt that the code relating to this function has changed recently because we don't have anybody actively working on the music section.
    Are you sure something didn't change on your side? For example, the share name, or the way you've organised your music.
    ...and are you sure you previously had that music (ie. not a new purchase) and that it was actually imported successfully by MP?
     
  8. Helios61
    • Premium Supporter

    Helios61 Retired Team Member

    Joined:
    January 30, 2008
    Messages:
    4,587
    Likes Received:
    584
    Gender:
    Male
    Location:
    NRW
    Ratings:
    +897 / 4
    Home Country:
    Germany Germany
    Show System Specs
    Maybe @hwahrmann can help?
     
  9. totopsgr
    • Premium Supporter

    totopsgr MP Donator

    Joined:
    August 15, 2011
    Messages:
    108
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Project Management Consultant
    Location:
    Abu Dhabi, UAE
    Ratings:
    +14 / 0
    Home Country:
    Greece Greece
    Ok I think this issue is closed since I found a work around.

    Yesterday I tried to import my music in a different way. I created new directory, moved all my music there. then I moved only artists with letter A back to the shared folder. Did the rescan, same result, only one artist gets their metadata processed. I do the same again excluding that particular artist and this time smaller batch (4 artist folders at a time) and..Eureka!! all artists metadata processed. I keep doing the same adding to the shared folder a small number of artists (folders with sub folders) and they get processed till the whole A letter group was processed successfully.

    It is a mystery to me but I am a happy customer again. MP would process small number of files/folders at a time but not big ones.
     
  10. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    So did you eventually get all your music imported, or did the folders/artists which caused errors (=> import stop) not import at all?

    I wonder if share security or network reliability is an issue. Is this new HTPC of yours connect with wireless or wired networking?
    What happens if you copy the music folder from the NAS onto the HTPC and try to import it in its entirety?
     
  11. totopsgr
    • Premium Supporter

    totopsgr MP Donator

    Joined:
    August 15, 2011
    Messages:
    108
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Project Management Consultant
    Location:
    Abu Dhabi, UAE
    Ratings:
    +14 / 0
    Home Country:
    Greece Greece
    @mm1352000

    Haven't scanned all music yet just "A" artists, but even 'A" wouldn't import if all files where in the share, but as said it imported when I was adding a few artists at a time. The HTPC is on wired gigabit network pulling data from a Synology 5 bay NAS. Haven't tried copying all the music from the NAS locally but that wouldn't be practical, since I wouldn't be interested in such a solution, so I won't explore it.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!