{"action":"created","comment":{"url":"https://api.github.com/repos/kaltura/liveDVR/pulls/comments/76600761","id":76600761,"diff_hunk":"@@ -0,0 +1,51 @@\n+import ConfigParser\n+import socket\n+import logging.handlers\n+import os\n+Config = ConfigParser.ConfigParser()\n+config_file_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'config.ini')\n+Config.read(config_file_path)\n+hostname = socket.gethostname()\n+config_json = {}\n+logger = logging.getLogger(__name__)\n+\n+\n+def fill(section):\n+    options = Config.options(section)\n+    for option in options:\n+        try:\n+            config_json[option] = Config.get(section, option)\n+        except Exception :\n+            print(\"exception on %s!\" % option)\n+            config_json[option] = None\n+\n+\n+def config_section_map():\n+    Config.read(\"configMapping.ini\")\n+    config_sections = Config.sections()\n+    for config_section in config_sections:\n+        if config_section == hostname:","path":"recordingUploader/config.py","position":27,"original_position":27,"commit_id":"f31dc7f72c3dbdf69612aac24557aec89e9caa15","original_commit_id":"f31dc7f72c3dbdf69612aac24557aec89e9caa15","user":{"login":"kalturaguy","id":7511565,"avatar_url":"https://avatars.githubusercontent.com/u/7511565?v=3","gravatar_id":"","url":"https://api.github.com/users/kalturaguy","html_url":"https://github.com/kalturaguy","followers_url":"https://api.github.com/users/kalturaguy/followers","following_url":"https://api.github.com/users/kalturaguy/following{/other_user}","gists_url":"https://api.github.com/users/kalturaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/kalturaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalturaguy/subscriptions","organizations_url":"https://api.github.com/users/kalturaguy/orgs","repos_url":"https://api.github.com/users/kalturaguy/repos","events_url":"https://api.github.com/users/kalturaguy/events{/privacy}","received_events_url":"https://api.github.com/users/kalturaguy/received_events","type":"User","site_admin":false},"body":"do regex instead","created_at":"2016-08-29T12:50:06Z","updated_at":"2016-08-29T12:50:06Z","html_url":"https://github.com/kaltura/liveDVR/pull/242#discussion_r76600761","pull_request_url":"https://api.github.com/repos/kaltura/liveDVR/pulls/242","_links":{"self":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/comments/76600761"},"html":{"href":"https://github.com/kaltura/liveDVR/pull/242#discussion_r76600761"},"pull_request":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/kaltura/liveDVR/pulls/242","id":83092241,"html_url":"https://github.com/kaltura/liveDVR/pull/242","diff_url":"https://github.com/kaltura/liveDVR/pull/242.diff","patch_url":"https://github.com/kaltura/liveDVR/pull/242.patch","issue_url":"https://api.github.com/repos/kaltura/liveDVR/issues/242","number":242,"state":"open","locked":false,"title":"1 0 recording refactor plat 5808","user":{"login":"ronyad","id":15100662,"avatar_url":"https://avatars.githubusercontent.com/u/15100662?v=3","gravatar_id":"","url":"https://api.github.com/users/ronyad","html_url":"https://github.com/ronyad","followers_url":"https://api.github.com/users/ronyad/followers","following_url":"https://api.github.com/users/ronyad/following{/other_user}","gists_url":"https://api.github.com/users/ronyad/gists{/gist_id}","starred_url":"https://api.github.com/users/ronyad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronyad/subscriptions","organizations_url":"https://api.github.com/users/ronyad/orgs","repos_url":"https://api.github.com/users/ronyad/repos","events_url":"https://api.github.com/users/ronyad/events{/privacy}","received_events_url":"https://api.github.com/users/ronyad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-29T12:41:00Z","updated_at":"2016-08-29T12:50:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04dee35d68f4e3b492a5af8d7841f815c7dda983","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaltura/liveDVR/pulls/242/commits","review_comments_url":"https://api.github.com/repos/kaltura/liveDVR/pulls/242/comments","review_comment_url":"https://api.github.com/repos/kaltura/liveDVR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaltura/liveDVR/issues/242/comments","statuses_url":"https://api.github.com/repos/kaltura/liveDVR/statuses/f31dc7f72c3dbdf69612aac24557aec89e9caa15","head":{"label":"kaltura:1-0-recordingRefactor-PLAT-5808","ref":"1-0-recordingRefactor-PLAT-5808","sha":"f31dc7f72c3dbdf69612aac24557aec89e9caa15","user":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"repo":{"id":40581240,"name":"liveDVR","full_name":"kaltura/liveDVR","owner":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaltura/liveDVR","description":"DVR implementation built on top of live streams","fork":false,"url":"https://api.github.com/repos/kaltura/liveDVR","forks_url":"https://api.github.com/repos/kaltura/liveDVR/forks","keys_url":"https://api.github.com/repos/kaltura/liveDVR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaltura/liveDVR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaltura/liveDVR/teams","hooks_url":"https://api.github.com/repos/kaltura/liveDVR/hooks","issue_events_url":"https://api.github.com/repos/kaltura/liveDVR/issues/events{/number}","events_url":"https://api.github.com/repos/kaltura/liveDVR/events","assignees_url":"https://api.github.com/repos/kaltura/liveDVR/assignees{/user}","branches_url":"https://api.github.com/repos/kaltura/liveDVR/branches{/branch}","tags_url":"https://api.github.com/repos/kaltura/liveDVR/tags","blobs_url":"https://api.github.com/repos/kaltura/liveDVR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaltura/liveDVR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaltura/liveDVR/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaltura/liveDVR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaltura/liveDVR/statuses/{sha}","languages_url":"https://api.github.com/repos/kaltura/liveDVR/languages","stargazers_url":"https://api.github.com/repos/kaltura/liveDVR/stargazers","contributors_url":"https://api.github.com/repos/kaltura/liveDVR/contributors","subscribers_url":"https://api.github.com/repos/kaltura/liveDVR/subscribers","subscription_url":"https://api.github.com/repos/kaltura/liveDVR/subscription","commits_url":"https://api.github.com/repos/kaltura/liveDVR/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaltura/liveDVR/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaltura/liveDVR/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaltura/liveDVR/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaltura/liveDVR/contents/{+path}","compare_url":"https://api.github.com/repos/kaltura/liveDVR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaltura/liveDVR/merges","archive_url":"https://api.github.com/repos/kaltura/liveDVR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaltura/liveDVR/downloads","issues_url":"https://api.github.com/repos/kaltura/liveDVR/issues{/number}","pulls_url":"https://api.github.com/repos/kaltura/liveDVR/pulls{/number}","milestones_url":"https://api.github.com/repos/kaltura/liveDVR/milestones{/number}","notifications_url":"https://api.github.com/repos/kaltura/liveDVR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaltura/liveDVR/labels{/name}","releases_url":"https://api.github.com/repos/kaltura/liveDVR/releases{/id}","deployments_url":"https://api.github.com/repos/kaltura/liveDVR/deployments","created_at":"2015-08-12T05:08:28Z","updated_at":"2016-03-27T01:32:22Z","pushed_at":"2016-08-29T12:41:01Z","git_url":"git://github.com/kaltura/liveDVR.git","ssh_url":"git@github.com:kaltura/liveDVR.git","clone_url":"https://github.com/kaltura/liveDVR.git","svn_url":"https://github.com/kaltura/liveDVR","homepage":null,"size":132254,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":2,"default_branch":"1.0"}},"base":{"label":"kaltura:1-0-recordingRefactor","ref":"1-0-recordingRefactor","sha":"03e28e511510a7864bccf8075437ffc1087a05e9","user":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"repo":{"id":40581240,"name":"liveDVR","full_name":"kaltura/liveDVR","owner":{"login":"kaltura","id":319096,"avatar_url":"https://avatars.githubusercontent.com/u/319096?v=3","gravatar_id":"","url":"https://api.github.com/users/kaltura","html_url":"https://github.com/kaltura","followers_url":"https://api.github.com/users/kaltura/followers","following_url":"https://api.github.com/users/kaltura/following{/other_user}","gists_url":"https://api.github.com/users/kaltura/gists{/gist_id}","starred_url":"https://api.github.com/users/kaltura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaltura/subscriptions","organizations_url":"https://api.github.com/users/kaltura/orgs","repos_url":"https://api.github.com/users/kaltura/repos","events_url":"https://api.github.com/users/kaltura/events{/privacy}","received_events_url":"https://api.github.com/users/kaltura/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaltura/liveDVR","description":"DVR implementation built on top of live streams","fork":false,"url":"https://api.github.com/repos/kaltura/liveDVR","forks_url":"https://api.github.com/repos/kaltura/liveDVR/forks","keys_url":"https://api.github.com/repos/kaltura/liveDVR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaltura/liveDVR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaltura/liveDVR/teams","hooks_url":"https://api.github.com/repos/kaltura/liveDVR/hooks","issue_events_url":"https://api.github.com/repos/kaltura/liveDVR/issues/events{/number}","events_url":"https://api.github.com/repos/kaltura/liveDVR/events","assignees_url":"https://api.github.com/repos/kaltura/liveDVR/assignees{/user}","branches_url":"https://api.github.com/repos/kaltura/liveDVR/branches{/branch}","tags_url":"https://api.github.com/repos/kaltura/liveDVR/tags","blobs_url":"https://api.github.com/repos/kaltura/liveDVR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaltura/liveDVR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaltura/liveDVR/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaltura/liveDVR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaltura/liveDVR/statuses/{sha}","languages_url":"https://api.github.com/repos/kaltura/liveDVR/languages","stargazers_url":"https://api.github.com/repos/kaltura/liveDVR/stargazers","contributors_url":"https://api.github.com/repos/kaltura/liveDVR/contributors","subscribers_url":"https://api.github.com/repos/kaltura/liveDVR/subscribers","subscription_url":"https://api.github.com/repos/kaltura/liveDVR/subscription","commits_url":"https://api.github.com/repos/kaltura/liveDVR/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaltura/liveDVR/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaltura/liveDVR/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaltura/liveDVR/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaltura/liveDVR/contents/{+path}","compare_url":"https://api.github.com/repos/kaltura/liveDVR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaltura/liveDVR/merges","archive_url":"https://api.github.com/repos/kaltura/liveDVR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaltura/liveDVR/downloads","issues_url":"https://api.github.com/repos/kaltura/liveDVR/issues{/number}","pulls_url":"https://api.github.com/repos/kaltura/liveDVR/pulls{/number}","milestones_url":"https://api.github.com/repos/kaltura/liveDVR/milestones{/number}","notifications_url":"https://api.github.com/repos/kaltura/liveDVR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaltura/liveDVR/labels{/name}","releases_url":"https://api.github.com/repos/kaltura/liveDVR/releases{/id}","deployments_url":"https://api.github.com/repos/kaltura/liveDVR/deployments","created_at":"2015-08-12T05:08:28Z","updated_at":"2016-03-27T01:32:22Z","pushed_at":"2016-08-29T12:41:01Z","git_url":"git://github.com/kaltura/liveDVR.git","ssh_url":"git@github.com:kaltura/liveDVR.git","clone_url":"https://github.com/kaltura/liveDVR.git","svn_url":"https://github.com/kaltura/liveDVR","homepage":null,"size":132254,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":2,"default_branch":"1.0"}},"_links":{"self":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/242"},"html":{"href":"https://github.com/kaltura/liveDVR/pull/242"},"issue":{"href":"https://api.github.com/repos/kaltura/liveDVR/issues/242"},"comments":{"href":"https://api.github.com/repos/kaltura/liveDVR/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaltura/liveDVR/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/kaltura/liveDVR/statuses/f31dc7f72c3dbdf69612aac24557aec89e9caa15"}}}}
{"actor":{"display_login":"kalturaguy"}}