wnielson / Plex-Remote-Transcoder

A distributed transcoding backend for Plex
MIT License
646 stars 58 forks source link

Getting an error when trying to prt install on a mac #41

Open alexholliz opened 8 years ago

alexholliz commented 8 years ago

I have been troubleshooting why the prt script can't successfully install on a mac. I am running El Capitan with python provided by homebrew.

When I run 'sudo prt install' I get this error message: Error renaming original transcoder: [Errno 2] No such file or directory

I've been going through the script, and the paths for Darwin are accurate, I tried editing the prt.py with backslashes to escape the spaces in the path: TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/" (which made it look like) /Applications/Plex\ Media\ Server.app/Contents/

I did notice that on OSX, the Plex Transcoder is in /Applications/Plex Media Server.app/Contents/Resources/

Not really sure what else to try, I've made a few changes and tried them out, but nothing changed that error message.

alexholliz commented 8 years ago

Ok, I just solved this: I changed: TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/" to: TRANSCODER_DIR = "/Applications/Plex Media Server.app/Contents/MacOS/"

alexholliz commented 8 years ago

I also noticed this needed to be changed for OSX: SETTINGS_PATH = "~/Library/Preferences/com.plexapp.plexmediaserver" to: SETTINGS_PATH = "~/Library/Preferences/com.plexapp.plexmediaserver.plist"

alexholliz commented 8 years ago

Note: I can't run a: prt check_config on either paths in the above comment.

The error is as follows: Performing PRT configuration check ERROR: Couldn't open settings file - ~/Library/Preferences/com.plexapp.plexmediaserver.plist

wnielson commented 8 years ago

Thank for the feedback and troubleshooting. I'll work those in changes for OS X. AS for the check_config command, that makes sense because PRT can't read plist files yet. I've created #43 to address that issue.

aarhusgregersen commented 8 years ago

Experiencing the same issue on a native linux install (on RPI though!). I am getting Error renaming original transcoder: [Errno 2] No such file or directory

ryanbmilbourne commented 8 years ago

I'm getting the same error, but I think the issue is that I'm trying to get this installed on the Plex instance running on my QNAP NAS, which stores its Plex install in a non-standard path.