[Bug] New "Plex Music" library doesn't work with command line scanner

Thanks for your Reply

Initial: My Music have a Path “/volume1/data/”. Scanner is Plex Music. I have a very large Music Folder, so i add Music manual to Plex with the command line, to prevent full scanns.

So, in my envoirment i take: (Ubuntu)

export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=“/usr/lib/plexmediaserver/Library/Application Support”
export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
export LD_LIBRARY_PATH=/usr/lib/plexmediaserver/lib

Then for manual (Script) adding Folders to my Music Library (c4) i take to follow command:

sudo -u plex “/usr/lib/plexmediaserver/Plex Media Scanner” -s -c 4 -d “/volume1/data/ABBA/Gold_(1992)”

This command is successfull on the bash (no error). In the Plex Alterts is NOTHING. No new Artist, no new Album. Then i take the command (Path) without the Album:

sudo -u plex “/usr/lib/plexmediaserver/Plex Media Scanner” -s -c 4 -d “/volume1/data/ABBA”

This command is successfull on the bash (no error). In the Plex Alerts i see, the “scanning ABBA”. But no new Artist/Album is show up in the Plex itself.

Hope you understand and can reproduce

If you have any Questions, please ask me.
Thanks a lot

1 Like