{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55","id":82623803,"html_url":"https://github.com/logi85/plugin.video.flix2kodi/pull/55","diff_url":"https://github.com/logi85/plugin.video.flix2kodi/pull/55.diff","patch_url":"https://github.com/logi85/plugin.video.flix2kodi/pull/55.patch","issue_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/55","number":55,"state":"open","locked":false,"title":"Fix sql and none check","user":{"login":"seanfarley","id":20887,"avatar_url":"https://avatars.githubusercontent.com/u/20887?v=3","gravatar_id":"","url":"https://api.github.com/users/seanfarley","html_url":"https://github.com/seanfarley","followers_url":"https://api.github.com/users/seanfarley/followers","following_url":"https://api.github.com/users/seanfarley/following{/other_user}","gists_url":"https://api.github.com/users/seanfarley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanfarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanfarley/subscriptions","organizations_url":"https://api.github.com/users/seanfarley/orgs","repos_url":"https://api.github.com/users/seanfarley/repos","events_url":"https://api.github.com/users/seanfarley/events{/privacy}","received_events_url":"https://api.github.com/users/seanfarley/received_events","type":"User","site_admin":false},"body":"Ok, so I finally sat down last night and tried to debug this. I'm fairly unfamiliar with the code so I had to make a few guesses. If you take a look at http://paste.ubuntu.com/23065122/ you'll see another error: `OperationalError: near \"cookies\": syntax error` which is caused by malformed SQL. Easy enough to fix but what I didn't understand is the `add_videos_to_directory`. It has an optional parameter `page = None` but the last line of that method has `page + 1` which also throws an error.\r\n\r\nThis pull request fixes those errors (which fixed the `root_list_id` for me). There are still some wonky things like 403 errors that just go away with a few attempts but I'll need some help debugging those.","created_at":"2016-08-24T21:50:26Z","updated_at":"2016-08-24T21:50:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55/commits","review_comments_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55/comments","review_comment_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/55/comments","statuses_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/statuses/b549dff2076d2098227d816be389e016be612d39","head":{"label":"seanfarley:fix-sql-and-none-check","ref":"fix-sql-and-none-check","sha":"b549dff2076d2098227d816be389e016be612d39","user":{"login":"seanfarley","id":20887,"avatar_url":"https://avatars.githubusercontent.com/u/20887?v=3","gravatar_id":"","url":"https://api.github.com/users/seanfarley","html_url":"https://github.com/seanfarley","followers_url":"https://api.github.com/users/seanfarley/followers","following_url":"https://api.github.com/users/seanfarley/following{/other_user}","gists_url":"https://api.github.com/users/seanfarley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanfarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanfarley/subscriptions","organizations_url":"https://api.github.com/users/seanfarley/orgs","repos_url":"https://api.github.com/users/seanfarley/repos","events_url":"https://api.github.com/users/seanfarley/events{/privacy}","received_events_url":"https://api.github.com/users/seanfarley/received_events","type":"User","site_admin":false},"repo":{"id":66500934,"name":"plugin.video.flix2kodi","full_name":"seanfarley/plugin.video.flix2kodi","owner":{"login":"seanfarley","id":20887,"avatar_url":"https://avatars.githubusercontent.com/u/20887?v=3","gravatar_id":"","url":"https://api.github.com/users/seanfarley","html_url":"https://github.com/seanfarley","followers_url":"https://api.github.com/users/seanfarley/followers","following_url":"https://api.github.com/users/seanfarley/following{/other_user}","gists_url":"https://api.github.com/users/seanfarley/gists{/gist_id}","starred_url":"https://api.github.com/users/seanfarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanfarley/subscriptions","organizations_url":"https://api.github.com/users/seanfarley/orgs","repos_url":"https://api.github.com/users/seanfarley/repos","events_url":"https://api.github.com/users/seanfarley/events{/privacy}","received_events_url":"https://api.github.com/users/seanfarley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanfarley/plugin.video.flix2kodi","description":"kodi addon","fork":true,"url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi","forks_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/forks","keys_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/teams","hooks_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/hooks","issue_events_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/issues/events{/number}","events_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/events","assignees_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/assignees{/user}","branches_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/branches{/branch}","tags_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/tags","blobs_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/statuses/{sha}","languages_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/languages","stargazers_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/stargazers","contributors_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/contributors","subscribers_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/subscribers","subscription_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/subscription","commits_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/contents/{+path}","compare_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/merges","archive_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/downloads","issues_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/issues{/number}","pulls_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/pulls{/number}","milestones_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/milestones{/number}","notifications_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/labels{/name}","releases_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/releases{/id}","deployments_url":"https://api.github.com/repos/seanfarley/plugin.video.flix2kodi/deployments","created_at":"2016-08-24T21:28:01Z","updated_at":"2016-08-24T21:28:02Z","pushed_at":"2016-08-24T21:40:40Z","git_url":"git://github.com/seanfarley/plugin.video.flix2kodi.git","ssh_url":"git@github.com:seanfarley/plugin.video.flix2kodi.git","clone_url":"https://github.com/seanfarley/plugin.video.flix2kodi.git","svn_url":"https://github.com/seanfarley/plugin.video.flix2kodi","homepage":"","size":1808,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"logi85:master","ref":"master","sha":"97c9cfecb2044d48d6bff7de2fdabe1e7ca041b4","user":{"login":"logi85","id":3235647,"avatar_url":"https://avatars.githubusercontent.com/u/3235647?v=3","gravatar_id":"","url":"https://api.github.com/users/logi85","html_url":"https://github.com/logi85","followers_url":"https://api.github.com/users/logi85/followers","following_url":"https://api.github.com/users/logi85/following{/other_user}","gists_url":"https://api.github.com/users/logi85/gists{/gist_id}","starred_url":"https://api.github.com/users/logi85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logi85/subscriptions","organizations_url":"https://api.github.com/users/logi85/orgs","repos_url":"https://api.github.com/users/logi85/repos","events_url":"https://api.github.com/users/logi85/events{/privacy}","received_events_url":"https://api.github.com/users/logi85/received_events","type":"User","site_admin":false},"repo":{"id":47786106,"name":"plugin.video.flix2kodi","full_name":"logi85/plugin.video.flix2kodi","owner":{"login":"logi85","id":3235647,"avatar_url":"https://avatars.githubusercontent.com/u/3235647?v=3","gravatar_id":"","url":"https://api.github.com/users/logi85","html_url":"https://github.com/logi85","followers_url":"https://api.github.com/users/logi85/followers","following_url":"https://api.github.com/users/logi85/following{/other_user}","gists_url":"https://api.github.com/users/logi85/gists{/gist_id}","starred_url":"https://api.github.com/users/logi85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logi85/subscriptions","organizations_url":"https://api.github.com/users/logi85/orgs","repos_url":"https://api.github.com/users/logi85/repos","events_url":"https://api.github.com/users/logi85/events{/privacy}","received_events_url":"https://api.github.com/users/logi85/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/logi85/plugin.video.flix2kodi","description":"kodi addon","fork":true,"url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi","forks_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/forks","keys_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/teams","hooks_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/hooks","issue_events_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/events{/number}","events_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/events","assignees_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/assignees{/user}","branches_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/branches{/branch}","tags_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/tags","blobs_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/git/refs{/sha}","trees_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/statuses/{sha}","languages_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/languages","stargazers_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/stargazers","contributors_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/contributors","subscribers_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/subscribers","subscription_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/subscription","commits_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/commits{/sha}","git_commits_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/git/commits{/sha}","comments_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/comments{/number}","issue_comment_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/comments{/number}","contents_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/contents/{+path}","compare_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/merges","archive_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/downloads","issues_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues{/number}","pulls_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls{/number}","milestones_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/milestones{/number}","notifications_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/labels{/name}","releases_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/releases{/id}","deployments_url":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/deployments","created_at":"2015-12-10T20:38:48Z","updated_at":"2016-08-20T02:38:16Z","pushed_at":"2016-08-24T21:50:27Z","git_url":"git://github.com/logi85/plugin.video.flix2kodi.git","ssh_url":"git@github.com:logi85/plugin.video.flix2kodi.git","clone_url":"https://github.com/logi85/plugin.video.flix2kodi.git","svn_url":"https://github.com/logi85/plugin.video.flix2kodi","homepage":"","size":1808,"stargazers_count":24,"watchers_count":24,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":15,"forks":18,"open_issues":15,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55"},"html":{"href":"https://github.com/logi85/plugin.video.flix2kodi/pull/55"},"issue":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/55"},"comments":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/logi85/plugin.video.flix2kodi/statuses/b549dff2076d2098227d816be389e016be612d39"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"seanfarley"}}