{"action":"created","comment":{"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/comments/49678069","id":49678069,"diff_hunk":"@@ -147,10 +163,42 @@ def install_transcoder():\n     if rename_transcoder():\n         try:\n             shutil.copyfile(prt_remote, get_transcoder_path(ORIGINAL_TRANSCODER_NAME))\n-            os.chmod(get_transcoder_path(ORIGINAL_TRANSCODER_NAME), 0777)\n+            # 0.2.1 - Changed the chmod to 0775 rather than 0777 which is bad security practice","path":"prt.py","position":99,"original_position":99,"commit_id":"deeab0585715b0e416cb819fc5adf30a2ef80a5d","original_commit_id":"deeab0585715b0e416cb819fc5adf30a2ef80a5d","user":{"login":"wnielson","id":32327,"avatar_url":"https://avatars.githubusercontent.com/u/32327?v=3","gravatar_id":"","url":"https://api.github.com/users/wnielson","html_url":"https://github.com/wnielson","followers_url":"https://api.github.com/users/wnielson/followers","following_url":"https://api.github.com/users/wnielson/following{/other_user}","gists_url":"https://api.github.com/users/wnielson/gists{/gist_id}","starred_url":"https://api.github.com/users/wnielson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnielson/subscriptions","organizations_url":"https://api.github.com/users/wnielson/orgs","repos_url":"https://api.github.com/users/wnielson/repos","events_url":"https://api.github.com/users/wnielson/events{/privacy}","received_events_url":"https://api.github.com/users/wnielson/received_events","type":"User","site_admin":false},"body":"Remove","created_at":"2016-01-14T01:36:56Z","updated_at":"2016-01-14T01:36:56Z","html_url":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7#discussion_r49678069","pull_request_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/comments/49678069"},"html":{"href":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7#discussion_r49678069"},"pull_request":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7","id":55191955,"html_url":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7","diff_url":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7.diff","patch_url":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7.patch","issue_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/7","number":7,"state":"open","locked":false,"title":" 0.2.1- Added overwrite function for upgraded plex after install. Fix…","user":{"login":"liviynz","id":16407051,"avatar_url":"https://avatars.githubusercontent.com/u/16407051?v=3","gravatar_id":"","url":"https://api.github.com/users/liviynz","html_url":"https://github.com/liviynz","followers_url":"https://api.github.com/users/liviynz/followers","following_url":"https://api.github.com/users/liviynz/following{/other_user}","gists_url":"https://api.github.com/users/liviynz/gists{/gist_id}","starred_url":"https://api.github.com/users/liviynz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liviynz/subscriptions","organizations_url":"https://api.github.com/users/liviynz/orgs","repos_url":"https://api.github.com/users/liviynz/repos","events_url":"https://api.github.com/users/liviynz/events{/privacy}","received_events_url":"https://api.github.com/users/liviynz/received_events","type":"User","site_admin":false},"body":" 0.2.1 - Added overwrite function for upgraded plex after install. Fixed chmod from 0777 to 0755 as that's a much safer approach to security. Fixed up some python format issues like double space before new function definition. Split out version to it's own function & fleshed out usage function. Added import of filecmp for file compare. Also some other minor warnings from analysis. - LiviyNZ - 06/01/2016\r\n\r\nMy testing so far has concluded the previous & new functions work as expected but please test yourself :)\r\n\r\nI also have a hunch about the Fedora issue which is stopping the flavour slaves from working but will look into that later.\r\n\r\nCheers\r\nLiviy","created_at":"2016-01-06T09:18:17Z","updated_at":"2016-01-14T01:36:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"233d314ee66043f1d2d14982424617c16833582f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7/commits","review_comments_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7/comments","review_comment_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/7/comments","statuses_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/statuses/deeab0585715b0e416cb819fc5adf30a2ef80a5d","head":{"label":"liviynz:0.2.1","ref":"0.2.1","sha":"deeab0585715b0e416cb819fc5adf30a2ef80a5d","user":{"login":"liviynz","id":16407051,"avatar_url":"https://avatars.githubusercontent.com/u/16407051?v=3","gravatar_id":"","url":"https://api.github.com/users/liviynz","html_url":"https://github.com/liviynz","followers_url":"https://api.github.com/users/liviynz/followers","following_url":"https://api.github.com/users/liviynz/following{/other_user}","gists_url":"https://api.github.com/users/liviynz/gists{/gist_id}","starred_url":"https://api.github.com/users/liviynz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liviynz/subscriptions","organizations_url":"https://api.github.com/users/liviynz/orgs","repos_url":"https://api.github.com/users/liviynz/repos","events_url":"https://api.github.com/users/liviynz/events{/privacy}","received_events_url":"https://api.github.com/users/liviynz/received_events","type":"User","site_admin":false},"repo":{"id":49115269,"name":"Plex-Remote-Transcoder","full_name":"liviynz/Plex-Remote-Transcoder","owner":{"login":"liviynz","id":16407051,"avatar_url":"https://avatars.githubusercontent.com/u/16407051?v=3","gravatar_id":"","url":"https://api.github.com/users/liviynz","html_url":"https://github.com/liviynz","followers_url":"https://api.github.com/users/liviynz/followers","following_url":"https://api.github.com/users/liviynz/following{/other_user}","gists_url":"https://api.github.com/users/liviynz/gists{/gist_id}","starred_url":"https://api.github.com/users/liviynz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liviynz/subscriptions","organizations_url":"https://api.github.com/users/liviynz/orgs","repos_url":"https://api.github.com/users/liviynz/repos","events_url":"https://api.github.com/users/liviynz/events{/privacy}","received_events_url":"https://api.github.com/users/liviynz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liviynz/Plex-Remote-Transcoder","description":"A distributed transcoding backend for Plex","fork":true,"url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder","forks_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/forks","keys_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/teams","hooks_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/hooks","issue_events_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/issues/events{/number}","events_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/events","assignees_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/assignees{/user}","branches_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/branches{/branch}","tags_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/tags","blobs_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/statuses/{sha}","languages_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/languages","stargazers_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/stargazers","contributors_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/contributors","subscribers_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/subscribers","subscription_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/subscription","commits_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/contents/{+path}","compare_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/merges","archive_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/downloads","issues_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/issues{/number}","pulls_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/pulls{/number}","milestones_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/milestones{/number}","notifications_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/labels{/name}","releases_url":"https://api.github.com/repos/liviynz/Plex-Remote-Transcoder/releases{/id}","created_at":"2016-01-06T05:43:14Z","updated_at":"2016-01-12T02:39:13Z","pushed_at":"2016-01-13T21:56:08Z","git_url":"git://github.com/liviynz/Plex-Remote-Transcoder.git","ssh_url":"git@github.com:liviynz/Plex-Remote-Transcoder.git","clone_url":"https://github.com/liviynz/Plex-Remote-Transcoder.git","svn_url":"https://github.com/liviynz/Plex-Remote-Transcoder","homepage":"","size":17,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wnielson:master","ref":"master","sha":"c2407465f6d147ebeecbc34e401c51bc2bb6207f","user":{"login":"wnielson","id":32327,"avatar_url":"https://avatars.githubusercontent.com/u/32327?v=3","gravatar_id":"","url":"https://api.github.com/users/wnielson","html_url":"https://github.com/wnielson","followers_url":"https://api.github.com/users/wnielson/followers","following_url":"https://api.github.com/users/wnielson/following{/other_user}","gists_url":"https://api.github.com/users/wnielson/gists{/gist_id}","starred_url":"https://api.github.com/users/wnielson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnielson/subscriptions","organizations_url":"https://api.github.com/users/wnielson/orgs","repos_url":"https://api.github.com/users/wnielson/repos","events_url":"https://api.github.com/users/wnielson/events{/privacy}","received_events_url":"https://api.github.com/users/wnielson/received_events","type":"User","site_admin":false},"repo":{"id":41124528,"name":"Plex-Remote-Transcoder","full_name":"wnielson/Plex-Remote-Transcoder","owner":{"login":"wnielson","id":32327,"avatar_url":"https://avatars.githubusercontent.com/u/32327?v=3","gravatar_id":"","url":"https://api.github.com/users/wnielson","html_url":"https://github.com/wnielson","followers_url":"https://api.github.com/users/wnielson/followers","following_url":"https://api.github.com/users/wnielson/following{/other_user}","gists_url":"https://api.github.com/users/wnielson/gists{/gist_id}","starred_url":"https://api.github.com/users/wnielson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnielson/subscriptions","organizations_url":"https://api.github.com/users/wnielson/orgs","repos_url":"https://api.github.com/users/wnielson/repos","events_url":"https://api.github.com/users/wnielson/events{/privacy}","received_events_url":"https://api.github.com/users/wnielson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wnielson/Plex-Remote-Transcoder","description":"A distributed transcoding backend for Plex","fork":false,"url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder","forks_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/forks","keys_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/teams","hooks_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/hooks","issue_events_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/events{/number}","events_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/events","assignees_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/assignees{/user}","branches_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/branches{/branch}","tags_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/tags","blobs_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/git/refs{/sha}","trees_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/statuses/{sha}","languages_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/languages","stargazers_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/stargazers","contributors_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/contributors","subscribers_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/subscribers","subscription_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/subscription","commits_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/commits{/sha}","git_commits_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/git/commits{/sha}","comments_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/comments{/number}","issue_comment_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/comments{/number}","contents_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/contents/{+path}","compare_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/merges","archive_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/downloads","issues_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues{/number}","pulls_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls{/number}","milestones_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/milestones{/number}","notifications_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/labels{/name}","releases_url":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/releases{/id}","created_at":"2015-08-21T00:07:46Z","updated_at":"2016-01-14T00:48:33Z","pushed_at":"2016-01-13T21:56:08Z","git_url":"git://github.com/wnielson/Plex-Remote-Transcoder.git","ssh_url":"git@github.com:wnielson/Plex-Remote-Transcoder.git","clone_url":"https://github.com/wnielson/Plex-Remote-Transcoder.git","svn_url":"https://github.com/wnielson/Plex-Remote-Transcoder","homepage":"","size":176,"stargazers_count":93,"watchers_count":93,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7"},"html":{"href":"https://github.com/wnielson/Plex-Remote-Transcoder/pull/7"},"issue":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/7"},"comments":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/wnielson/Plex-Remote-Transcoder/statuses/deeab0585715b0e416cb819fc5adf30a2ef80a5d"}}}}