Plex-Remote-Transcoder icon indicating copy to clipboard operation
Plex-Remote-Transcoder copied to clipboard

Gracenote fails

Open liviynz opened this issue 9 years ago • 2 comments

It seems plex has hardcoded the temporary location for the gracenote temporary transcodes to /tmp which if a slave does the work the master can't see the files. /tmp is a very tricky one for nfs or redirecting the file system due to it's heavy use by core apps.

e.g. 2016-01-06 12:11:26,728 - prt - INFO - Launching transcode_remote with args ['ssh', u'[email protected]', '-p', u'22', u"export LD_LIBRARY_PATH=/usr/lib/plexmediaserver:$LD_LIBRARY_PATH;cd /usr/lib/plexmediaserver;prt_local -i '' -threads 0 -y -f s16le -t 60 -loglevel quiet -loglevel_plex error -map_metadata -1 -ar 44100 -ac 2 **/tmp/**27f5-d15e-96c3-63d4.pcm"]

Hopefully they change that but will have a think on the best way to work round it in the meantime.

liviynz avatar Jan 08 '16 03:01 liviynz

Actually, just after writing that issue...it seems I have a fix/workaround for it. It can be done manually but maybe I'll just add some code to automatically fix it on prt install and/or warn on run if the fix isn't there.

After my fix : 2016-01-08 15:07:21,067 - prt - INFO - Launching transcode_remote with args ['ssh', u'[email protected]', '-p', u'22', u"export LD_LIBRARY_PATH=/usr/lib/plexmediaserver:$LD_LIBRARY_PATH;cd /usr/lib/plexmediaserver;prt_local -i '' -threads 0 -y -f s16le -t 60 -loglevel quiet -loglevel_plex error -map_metadata -1 -ar 44100 -ac 2 **/opt/plex/tmp/**9851-a341-ac37-907e.pcm"]

liviynz avatar Jan 08 '16 03:01 liviynz

can you assign this to me please @wnielson

liviynz avatar Jan 19 '16 20:01 liviynz