{"action":"created","comment":{"url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/comments/23136335","id":23136335,"diff_hunk":"@@ -353,20 +357,21 @@ def getData(url,fanart):\n                     if linkedUrl=='':\n                         addDir(name.encode('utf-8', 'ignore'),url.encode('utf-8'),2,thumbnail,fanArt,desc,genre,date,credits,True)\n                     else:\n-                        #print linkedUrl\n                         addDir(name.encode('utf-8'),linkedUrl.encode('utf-8'),1,thumbnail,fanArt,desc,genre,date,None,'source')\n                 except:\n                     addon_log('There was a problem adding directory from getData(): '+name.encode('utf-8', 'ignore'))\n-        else:\n+        else: \n             addon_log('No Channels: getItems')\n             getItems(soup('item'),fanart)\n+    else:\n+        parse_m3u(soup)\n \n # borrow from https://github.com/enen92/P2P-Streams-XBMC/blob/master/plugin.video.p2p-streams/resources/core/livestreams.py\n # This will not go through the getItems functions ( means you must have ready to play url, no regex)\n def parse_m3u(url):\n-    if \"http\" in url: content = makeRequest(url)\n-    else: content = LoadFile(url)\n-    match = re.compile('#EXTINF:(.+?),(.*?)\\n(.*?)(?:\\r|\\n)').findall(content)\n+    content = data.rstrip()","path":"plugin.video.live.streamspro/default.py","position":63,"original_position":63,"commit_id":"b64809c10b251607d3c48b125d3127e169a8edd9","original_commit_id":"5f588e9c586b7377b11f787fa0ba4bf844bb401c","user":{"login":"alibbaba","id":9577553,"avatar_url":"https://avatars.githubusercontent.com/u/9577553?v=3","gravatar_id":"","url":"https://api.github.com/users/alibbaba","html_url":"https://github.com/alibbaba","followers_url":"https://api.github.com/users/alibbaba/followers","following_url":"https://api.github.com/users/alibbaba/following{/other_user}","gists_url":"https://api.github.com/users/alibbaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibbaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibbaba/subscriptions","organizations_url":"https://api.github.com/users/alibbaba/orgs","repos_url":"https://api.github.com/users/alibbaba/repos","events_url":"https://api.github.com/users/alibbaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibbaba/received_events","type":"User","site_admin":false},"body":"Sorry about that. I think i fixed it last night  and when i make pull request it already merge to your repo. Can you check out here:\r\nhttps://github.com/Shani-08/ShaniXBMCWork/blob/master/plugin.video.live.streamspro/default.py#L387\r\n\r\nI have add youtube and dailymotion search feature in this merge. Thanks","created_at":"2015-01-18T19:59:06Z","updated_at":"2015-01-18T19:59:06Z","html_url":"https://github.com/Shani-08/ShaniXBMCWork/pull/136#discussion_r23136335","pull_request_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/comments/23136335"},"html":{"href":"https://github.com/Shani-08/ShaniXBMCWork/pull/136#discussion_r23136335"},"pull_request":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136","id":27545168,"html_url":"https://github.com/Shani-08/ShaniXBMCWork/pull/136","diff_url":"https://github.com/Shani-08/ShaniXBMCWork/pull/136.diff","patch_url":"https://github.com/Shani-08/ShaniXBMCWork/pull/136.patch","issue_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/136","number":136,"state":"open","locked":false,"title":"make parsing of m3u more flexible","user":{"login":"alibbaba","id":9577553,"avatar_url":"https://avatars.githubusercontent.com/u/9577553?v=3","gravatar_id":"","url":"https://api.github.com/users/alibbaba","html_url":"https://github.com/alibbaba","followers_url":"https://api.github.com/users/alibbaba/followers","following_url":"https://api.github.com/users/alibbaba/following{/other_user}","gists_url":"https://api.github.com/users/alibbaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibbaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibbaba/subscriptions","organizations_url":"https://api.github.com/users/alibbaba/orgs","repos_url":"https://api.github.com/users/alibbaba/repos","events_url":"https://api.github.com/users/alibbaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibbaba/received_events","type":"User","site_admin":false},"body":"Now, you either mention m3u file in url or file name or #EXTM3U in the content. So,","created_at":"2015-01-16T23:31:12Z","updated_at":"2015-01-18T19:59:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136/commits","review_comments_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136/comments","review_comment_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/136/comments","statuses_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/statuses/b64809c10b251607d3c48b125d3127e169a8edd9","head":{"label":"alibbaba:master","ref":"master","sha":"b64809c10b251607d3c48b125d3127e169a8edd9","user":{"login":"alibbaba","id":9577553,"avatar_url":"https://avatars.githubusercontent.com/u/9577553?v=3","gravatar_id":"","url":"https://api.github.com/users/alibbaba","html_url":"https://github.com/alibbaba","followers_url":"https://api.github.com/users/alibbaba/followers","following_url":"https://api.github.com/users/alibbaba/following{/other_user}","gists_url":"https://api.github.com/users/alibbaba/gists{/gist_id}","starred_url":"https://api.github.com/users/alibbaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alibbaba/subscriptions","organizations_url":"https://api.github.com/users/alibbaba/orgs","repos_url":"https://api.github.com/users/alibbaba/repos","events_url":"https://api.github.com/users/alibbaba/events{/privacy}","received_events_url":"https://api.github.com/users/alibbaba/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"Shani-08:master","ref":"master","sha":"e3c7fac32a2ad25ffc21f204f4eccc4f3a997704","user":{"login":"Shani-08","id":2887080,"avatar_url":"https://avatars.githubusercontent.com/u/2887080?v=3","gravatar_id":"","url":"https://api.github.com/users/Shani-08","html_url":"https://github.com/Shani-08","followers_url":"https://api.github.com/users/Shani-08/followers","following_url":"https://api.github.com/users/Shani-08/following{/other_user}","gists_url":"https://api.github.com/users/Shani-08/gists{/gist_id}","starred_url":"https://api.github.com/users/Shani-08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shani-08/subscriptions","organizations_url":"https://api.github.com/users/Shani-08/orgs","repos_url":"https://api.github.com/users/Shani-08/repos","events_url":"https://api.github.com/users/Shani-08/events{/privacy}","received_events_url":"https://api.github.com/users/Shani-08/received_events","type":"User","site_admin":false},"repo":{"id":17072437,"name":"ShaniXBMCWork","full_name":"Shani-08/ShaniXBMCWork","owner":{"login":"Shani-08","id":2887080,"avatar_url":"https://avatars.githubusercontent.com/u/2887080?v=3","gravatar_id":"","url":"https://api.github.com/users/Shani-08","html_url":"https://github.com/Shani-08","followers_url":"https://api.github.com/users/Shani-08/followers","following_url":"https://api.github.com/users/Shani-08/following{/other_user}","gists_url":"https://api.github.com/users/Shani-08/gists{/gist_id}","starred_url":"https://api.github.com/users/Shani-08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shani-08/subscriptions","organizations_url":"https://api.github.com/users/Shani-08/orgs","repos_url":"https://api.github.com/users/Shani-08/repos","events_url":"https://api.github.com/users/Shani-08/events{/privacy}","received_events_url":"https://api.github.com/users/Shani-08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shani-08/ShaniXBMCWork","description":"XBMC Plugin By shani","fork":false,"url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork","forks_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/forks","keys_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/teams","hooks_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/hooks","issue_events_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/events{/number}","events_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/events","assignees_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/assignees{/user}","branches_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/branches{/branch}","tags_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/tags","blobs_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/statuses/{sha}","languages_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/languages","stargazers_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/stargazers","contributors_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/contributors","subscribers_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/subscribers","subscription_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/subscription","commits_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/comments/{number}","contents_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/contents/{+path}","compare_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/merges","archive_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/downloads","issues_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues{/number}","pulls_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls{/number}","milestones_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/milestones{/number}","notifications_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/labels{/name}","releases_url":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/releases{/id}","created_at":"2014-02-21T22:42:49Z","updated_at":"2015-01-18T18:33:14Z","pushed_at":"2015-01-18T18:33:13Z","git_url":"git://github.com/Shani-08/ShaniXBMCWork.git","ssh_url":"git@github.com:Shani-08/ShaniXBMCWork.git","clone_url":"https://github.com/Shani-08/ShaniXBMCWork.git","svn_url":"https://github.com/Shani-08/ShaniXBMCWork","homepage":"","size":33936,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":2,"forks":64,"open_issues":2,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136"},"html":{"href":"https://github.com/Shani-08/ShaniXBMCWork/pull/136"},"issue":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/136"},"comments":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/Shani-08/ShaniXBMCWork/statuses/b64809c10b251607d3c48b125d3127e169a8edd9"}}}}