{"action":"created","comment":{"url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments/37330316","id":37330316,"diff_hunk":"@@ -90,3 +102,40 @@ def search(query):\n         TemporaryMusic.objects.bulk_create(videos)\n \n         return videos\n+\n+    @staticmethod\n+    def check_validity(id):","path":"source_modules/youtube/models.py","position":48,"original_position":48,"commit_id":"000cbc004103bad7239487e9174c625cf71829ed","original_commit_id":"10b8c10711a507594ecb8911b58a9816d6319c4c","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"body":"Same method for soundcloud that return always true.\r\nLike a JAVA interface","created_at":"2015-08-18T17:52:13Z","updated_at":"2015-08-18T17:52:13Z","html_url":"https://github.com/Amoki/Amoki-Music/pull/42#discussion_r37330316","pull_request_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments/37330316"},"html":{"href":"https://github.com/Amoki/Amoki-Music/pull/42#discussion_r37330316"},"pull_request":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42","id":42705658,"html_url":"https://github.com/Amoki/Amoki-Music/pull/42","diff_url":"https://github.com/Amoki/Amoki-Music/pull/42.diff","patch_url":"https://github.com/Amoki/Amoki-Music/pull/42.patch","issue_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/42","number":42,"state":"open","locked":false,"title":"Experimental music restrictions","user":{"login":"Eirika","id":5630256,"avatar_url":"https://avatars.githubusercontent.com/u/5630256?v=3","gravatar_id":"","url":"https://api.github.com/users/Eirika","html_url":"https://github.com/Eirika","followers_url":"https://api.github.com/users/Eirika/followers","following_url":"https://api.github.com/users/Eirika/following{/other_user}","gists_url":"https://api.github.com/users/Eirika/gists{/gist_id}","starred_url":"https://api.github.com/users/Eirika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eirika/subscriptions","organizations_url":"https://api.github.com/users/Eirika/orgs","repos_url":"https://api.github.com/users/Eirika/repos","events_url":"https://api.github.com/users/Eirika/events{/privacy}","received_events_url":"https://api.github.com/users/Eirika/received_events","type":"User","site_admin":false},"body":"Add some check about the music which will be played by calling the api","created_at":"2015-08-18T14:34:23Z","updated_at":"2015-08-18T17:52:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5513093619abe1b9f71c488abb00ce29f18c2c10","assignee":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42/commits","review_comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42/comments","review_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/42/comments","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/000cbc004103bad7239487e9174c625cf71829ed","head":{"label":"Amoki:Experimental-music-restrictions","ref":"Experimental-music-restrictions","sha":"000cbc004103bad7239487e9174c625cf71829ed","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"repo":{"id":21140297,"name":"Amoki-Music","full_name":"Amoki/Amoki-Music","owner":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Amoki/Amoki-Music","description":"Open an url on the server (server by Django)","fork":false,"url":"https://api.github.com/repos/Amoki/Amoki-Music","forks_url":"https://api.github.com/repos/Amoki/Amoki-Music/forks","keys_url":"https://api.github.com/repos/Amoki/Amoki-Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amoki/Amoki-Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amoki/Amoki-Music/teams","hooks_url":"https://api.github.com/repos/Amoki/Amoki-Music/hooks","issue_events_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/events{/number}","events_url":"https://api.github.com/repos/Amoki/Amoki-Music/events","assignees_url":"https://api.github.com/repos/Amoki/Amoki-Music/assignees{/user}","branches_url":"https://api.github.com/repos/Amoki/Amoki-Music/branches{/branch}","tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/tags","blobs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/{sha}","languages_url":"https://api.github.com/repos/Amoki/Amoki-Music/languages","stargazers_url":"https://api.github.com/repos/Amoki/Amoki-Music/stargazers","contributors_url":"https://api.github.com/repos/Amoki/Amoki-Music/contributors","subscribers_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscribers","subscription_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscription","commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amoki/Amoki-Music/contents/{+path}","compare_url":"https://api.github.com/repos/Amoki/Amoki-Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amoki/Amoki-Music/merges","archive_url":"https://api.github.com/repos/Amoki/Amoki-Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amoki/Amoki-Music/downloads","issues_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues{/number}","pulls_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls{/number}","milestones_url":"https://api.github.com/repos/Amoki/Amoki-Music/milestones{/number}","notifications_url":"https://api.github.com/repos/Amoki/Amoki-Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amoki/Amoki-Music/labels{/name}","releases_url":"https://api.github.com/repos/Amoki/Amoki-Music/releases{/id}","created_at":"2014-06-23T19:57:42Z","updated_at":"2015-07-01T21:50:36Z","pushed_at":"2015-08-18T17:51:04Z","git_url":"git://github.com/Amoki/Amoki-Music.git","ssh_url":"git@github.com:Amoki/Amoki-Music.git","clone_url":"https://github.com/Amoki/Amoki-Music.git","svn_url":"https://github.com/Amoki/Amoki-Music","homepage":null,"size":18263,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Amoki:master","ref":"master","sha":"e7230a317739f275321f4261ad23686ff1bafc3e","user":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"repo":{"id":21140297,"name":"Amoki-Music","full_name":"Amoki/Amoki-Music","owner":{"login":"Amoki","id":1349751,"avatar_url":"https://avatars.githubusercontent.com/u/1349751?v=3","gravatar_id":"","url":"https://api.github.com/users/Amoki","html_url":"https://github.com/Amoki","followers_url":"https://api.github.com/users/Amoki/followers","following_url":"https://api.github.com/users/Amoki/following{/other_user}","gists_url":"https://api.github.com/users/Amoki/gists{/gist_id}","starred_url":"https://api.github.com/users/Amoki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amoki/subscriptions","organizations_url":"https://api.github.com/users/Amoki/orgs","repos_url":"https://api.github.com/users/Amoki/repos","events_url":"https://api.github.com/users/Amoki/events{/privacy}","received_events_url":"https://api.github.com/users/Amoki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Amoki/Amoki-Music","description":"Open an url on the server (server by Django)","fork":false,"url":"https://api.github.com/repos/Amoki/Amoki-Music","forks_url":"https://api.github.com/repos/Amoki/Amoki-Music/forks","keys_url":"https://api.github.com/repos/Amoki/Amoki-Music/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Amoki/Amoki-Music/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Amoki/Amoki-Music/teams","hooks_url":"https://api.github.com/repos/Amoki/Amoki-Music/hooks","issue_events_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/events{/number}","events_url":"https://api.github.com/repos/Amoki/Amoki-Music/events","assignees_url":"https://api.github.com/repos/Amoki/Amoki-Music/assignees{/user}","branches_url":"https://api.github.com/repos/Amoki/Amoki-Music/branches{/branch}","tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/tags","blobs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/refs{/sha}","trees_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/{sha}","languages_url":"https://api.github.com/repos/Amoki/Amoki-Music/languages","stargazers_url":"https://api.github.com/repos/Amoki/Amoki-Music/stargazers","contributors_url":"https://api.github.com/repos/Amoki/Amoki-Music/contributors","subscribers_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscribers","subscription_url":"https://api.github.com/repos/Amoki/Amoki-Music/subscription","commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/commits{/sha}","git_commits_url":"https://api.github.com/repos/Amoki/Amoki-Music/git/commits{/sha}","comments_url":"https://api.github.com/repos/Amoki/Amoki-Music/comments{/number}","issue_comment_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues/comments{/number}","contents_url":"https://api.github.com/repos/Amoki/Amoki-Music/contents/{+path}","compare_url":"https://api.github.com/repos/Amoki/Amoki-Music/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Amoki/Amoki-Music/merges","archive_url":"https://api.github.com/repos/Amoki/Amoki-Music/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Amoki/Amoki-Music/downloads","issues_url":"https://api.github.com/repos/Amoki/Amoki-Music/issues{/number}","pulls_url":"https://api.github.com/repos/Amoki/Amoki-Music/pulls{/number}","milestones_url":"https://api.github.com/repos/Amoki/Amoki-Music/milestones{/number}","notifications_url":"https://api.github.com/repos/Amoki/Amoki-Music/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Amoki/Amoki-Music/labels{/name}","releases_url":"https://api.github.com/repos/Amoki/Amoki-Music/releases{/id}","created_at":"2014-06-23T19:57:42Z","updated_at":"2015-07-01T21:50:36Z","pushed_at":"2015-08-18T17:51:04Z","git_url":"git://github.com/Amoki/Amoki-Music.git","ssh_url":"git@github.com:Amoki/Amoki-Music.git","clone_url":"https://github.com/Amoki/Amoki-Music.git","svn_url":"https://github.com/Amoki/Amoki-Music","homepage":null,"size":18263,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42"},"html":{"href":"https://github.com/Amoki/Amoki-Music/pull/42"},"issue":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/issues/42"},"comments":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/Amoki/Amoki-Music/statuses/000cbc004103bad7239487e9174c625cf71829ed"}}}}