{"action":"created","issue":{"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/3","repository_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder","labels_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/3/comments","events_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/3/events","html_url":"https://github.com/wnielson/Plex-Remote-Transcoder/issues/3","id":111381143,"number":3,"title":"Cross Platform Arch","user":{"login":"DrEVILish","id":6287003,"avatar_url":"https://avatars.githubusercontent.com/u/6287003?v=3","gravatar_id":"","url":"https://api.github.com/users/DrEVILish","html_url":"https://github.com/DrEVILish","followers_url":"https://api.github.com/users/DrEVILish/followers","following_url":"https://api.github.com/users/DrEVILish/following{/other_user}","gists_url":"https://api.github.com/users/DrEVILish/gists{/gist_id}","starred_url":"https://api.github.com/users/DrEVILish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrEVILish/subscriptions","organizations_url":"https://api.github.com/users/DrEVILish/orgs","repos_url":"https://api.github.com/users/DrEVILish/repos","events_url":"https://api.github.com/users/DrEVILish/events{/privacy}","received_events_url":"https://api.github.com/users/DrEVILish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/labels/feature%20request","name":"feature request","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-14T11:44:27Z","updated_at":"2016-03-18T03:17:08Z","closed_at":null,"body":"Currently the way this works you can't use two different CPU Architectures in the \"cluster\" because of the transcoder is complied on the PlexMediaServer host.\r\n\r\nIf during the slave setup process you compile the transcoders for the slave arch from the source:\r\nhttp://files.plexapp.com/elan/ffmpeg/PlexNewTranscoder.tar.bz2\r\nhttp://files.plexapp.com/elan/ffmpeg/PlexTranscoder.tar.bz2\r\nload them locally instead of going back to the host for the transcoder.\r\n\r\nThis would allow cross platform architecture.\r\ni.e. Ubuntu laptop x86_64 with Plex Media Server installed.\r\nThen some RaspberryPi's as Slaves..."},"comment":{"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/comments/198182672","html_url":"https://github.com/wnielson/Plex-Remote-Transcoder/issues/3#issuecomment-198182672","issue_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/3","id":198182672,"user":{"login":"DrEVILish","id":6287003,"avatar_url":"https://avatars.githubusercontent.com/u/6287003?v=3","gravatar_id":"","url":"https://api.github.com/users/DrEVILish","html_url":"https://github.com/DrEVILish","followers_url":"https://api.github.com/users/DrEVILish/followers","following_url":"https://api.github.com/users/DrEVILish/following{/other_user}","gists_url":"https://api.github.com/users/DrEVILish/gists{/gist_id}","starred_url":"https://api.github.com/users/DrEVILish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrEVILish/subscriptions","organizations_url":"https://api.github.com/users/DrEVILish/orgs","repos_url":"https://api.github.com/users/DrEVILish/repos","events_url":"https://api.github.com/users/DrEVILish/events{/privacy}","received_events_url":"https://api.github.com/users/DrEVILish/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T03:17:08Z","updated_at":"2016-03-18T03:17:08Z","body":"OS = platform.system()\r\nCPU_ARCH = platform.machine()\r\n\r\nif OS == \"Darwin\":\r\n    # OS X\r\n    TRANSCODER_DIR  = \"/Applications/Plex Media Server.app/Contents/Resources/\"\r\n    LD_LIBRARY_PATH = \"/Applications/Plex Media Server.app/Contents/Frameworks/\"\r\nelif OS == ('Linux'):\r\n    #if os.path.exists(\"/opt/plex/arch/\" + CPU_ARCH):\r\n        # Linux\r\n        LD_LIBRARY_PATH = os.path.join(\"/opt/plex/arch/\", CPU_ARCH)\r\n        TRANSCODER_DIR  = os.path.join(LD_LIBRARY_PATH, \"Resources\")\r\n#    else:\r\n         #fail back to original director if processor not recognised\r\n#        TRANSCODER_DIR  = \"/usr/lib/plexmediaserver/Resources/\"\r\n#        LD_LIBRARY_PATH = \"usr/lib/plexmediaserver\"\r\nelse:\r\n    raise NotImplementedError(\"This platform is not yet supported\")"}}