plex_autoscan icon indicating copy to clipboard operation
plex_autoscan copied to clipboard

Music isn't being added to the library due to media_parts errors

Open titooo7 opened this issue 5 years ago • 1 comments

I added "flac" to the FILE_EXTENSION_LIST section and "audio" to MIME_TYPE_LIST section of config.json

The files seem to be scanned based on the log but it shows some errors. The music doesn't get added to my Plex library.

LOG (removed non relevant lines):

 2020-02-07 16:02:00,117 -     INFO -    GOOGLE [139652553303808]: Processing 6 changes                                                                                             
 2020-02-07 16:02:00,120 -     INFO -    GOOGLE [139652553303808]: Added '1GIAmTGHA1dXACD3lDoT7Uf9GImSLYFD1' to cache: Winter In Analog (Album)                                                                                      
 2020-02-07 16:02:00,374 -     INFO -    GOOGLE [139652553303808]: Added '1_UPoeB-ymuOfIfXK27SjbNJ7QYlANWPx' to cache: 08 Celebrate.flac                                            
 2020-02-07 16:03:07,381 -     INFO -      PLEX [139652428068608]: File '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Album)/08 Celebrate.flac' exists on check 1 of 5.    
 2020-02-07 16:03:07,382 -     INFO -      PLEX [139652428068608]: Scan request is now being processed...                                                                           
 2020-02-07 16:03:07,438 -     INFO -      PLEX [139652428068608]: No 'Plex Media Scanner' processes were found.                                                                    
 2020-02-07 16:03:07,438 -     INFO -      PLEX [139652428068608]: Running Plex Media Scanner for: /mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Album)                     
 2020-02-07 16:03:08,541 -     INFO -      PLEX [139652428068608]: Finished scan!                                                                                                   
 2020-02-07 16:03:09,553 -     INFO -      PLEX [139652428068608]: There are 0 queued item(s) remaining.                                                                            
 2020-02-07 16:03:19,562 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' in 1 of 5 attempts...                                                                                                                                       
 2020-02-07 16:03:29,571 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' in 2 of 5 attempts...                                                                                                                                       
 2020-02-07 16:03:39,579 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' in 3 of 5 attempts...                                                                                                                                       
 2020-02-07 16:03:49,588 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' in 4 of 5 attempts...                                                                                                                                       
 2020-02-07 16:03:59,595 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' in 5 of 5 attempts...                                                                                                                                       
 2020-02-07 16:04:02,507 -     INFO -    GOOGLE [139652553303808]: Retrieving changes from drive: drive_root                                                                        
 2020-02-07 16:04:02,739 -     INFO -    GOOGLE [139652553303808]: Processing 0 changes                                                                                             
 2020-02-07 16:04:02,739 -     INFO -    GOOGLE [139652553303808]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved                                               
 2020-02-07 16:04:02,739 -     INFO -    GOOGLE [139652553303808]: Retrieving changes from drive: teamdrive_Hip-Hop & Jazz                                                          
 2020-02-07 16:04:02,929 -     INFO -    GOOGLE [139652553303808]: Processing 0 changes                                                                                             
 2020-02-07 16:04:02,930 -     INFO -    GOOGLE [139652553303808]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved                                               
 2020-02-07 16:04:02,930 -     INFO -    GOOGLE [139652553303808]: Retrieving changes from drive: teamdrive_Multimedia-grupo                                                        
 2020-02-07 16:04:03,121 -     INFO -    GOOGLE [139652553303808]: Processing 0 changes                                                                                             
 2020-02-07 16:04:03,122 -     INFO -    GOOGLE [139652553303808]: 0 added / 0 removed / 0 unwanted / 0 ignored / 0 renamed / 0 moved                                               
 2020-02-07 16:04:09,603 -    ERROR -      PLEX [139652428068608]: Could not locate record in 'media_parts' where 'file' = '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Al
bum)/08 Celebrate.flac' after 5 tries                                                                                                                                               
 2020-02-07 16:04:09,604 -  WARNING -      PLEX [139652428068608]: Aborting analysis of '/mnt/unionfs/HIP-HOP/The Other Guys/Winter In Analog (Album)/08 Celebrate.flac' because cou
ld not find any 'metadata_item_id' for it. 

titooo7 avatar Feb 07 '20 15:02 titooo7

This doesn;t look like a bug. it looks like, as you stated, the music files are not being added to your Plex Library. This is because the Plex Media Scanner is not adding the files.

See my response to #130

JNR8 avatar Mar 11 '20 16:03 JNR8