Server Version#: 1.40.2.8395-c67dce28e
Player Version#: N/A
TLDR
I use Plex server and Plexamp as my primary solution for listening to music. I recently got a new album as a WAV download, converted the tracks to flac, and added it to the music directory on my Linux NAS Plex server. Despite many attempts, I can’t get the media scanner to find this album.
Based on the server logs, it looks like PMS sees and recognizes these files correctly. They just don’t appear in my library after the scan.
A few things I’ve tried:
I know that filesystem permissions and ownership are a common reason for the scanner to fail to find files, and I’ve dealt with this issue many times in the past. I tried changing the ownership and permissions of these flac files and the directories containing them. Even if the owner, group, and permissions of these files and directories (including extended permissions i.e. setfacl) are identical to those of another FLAC album that Plex handles correctly, this album isn’t recognized.
I tried re-encoding the FLACs with 16 bit depth instead of 24 bit depth. I tried encoding them using both the flac command line tool and ffmpeg. This didn’t make any difference.
I read somewhere that Plex might have trouble handling FLAC audio with more than 2 channels. I confirmed that these files are all just 2-channel stereo L+R.
I tried encoding an mp3 file for one of the tracks and leaving this mp3 in the same album directory with the same filesystem permissions. I ran the scanner again and Plex immediately found this one mp3, but still couldn’t handle any of the FLACs.
I found some results about flac discnumber metadata being weird, for example this forum thread. This could be relevant because the album I’m having trouble with is 2 discs. However, that thread says it should work as long as the discnumber metadata field is not all uppercase.
The flac files can be played from by VLC with no issues from the same directory. The metadata can be edited by mp3tag and can be printed with command line tools like ffprobe, media_info, and metaflac.
Logs
metaflac output – uploaded to google drive because it’s 14MB. I think it includes a hex dump of the cover art.
cindy_lee_diamond_jubilee_track_01_mediainfo.txt (1.6 KB)
Plex Media Scanner Analysis.log (4.5 KB)
Plex Media Scanner Matcher.log (21.3 KB)
cindy_lee_diamond_jubilee_track_01_ffprobe.txt (2.2 KB)