{"action":"created","issue":{"url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/7","repository_url":"https://api.github.com/repos/iamkroot/trakt-scrobbler","labels_url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/7/comments","events_url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/7/events","html_url":"https://github.com/iamkroot/trakt-scrobbler/issues/7","id":456546896,"node_id":"MDU6SXNzdWU0NTY1NDY4OTY=","number":7,"title":"[BUG] Stops working after not in use for some time","user":{"login":"cyatek","id":19691333,"node_id":"MDQ6VXNlcjE5NjkxMzMz","avatar_url":"https://avatars3.githubusercontent.com/u/19691333?v=4","gravatar_id":"","url":"https://api.github.com/users/cyatek","html_url":"https://github.com/cyatek","followers_url":"https://api.github.com/users/cyatek/followers","following_url":"https://api.github.com/users/cyatek/following{/other_user}","gists_url":"https://api.github.com/users/cyatek/gists{/gist_id}","starred_url":"https://api.github.com/users/cyatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyatek/subscriptions","organizations_url":"https://api.github.com/users/cyatek/orgs","repos_url":"https://api.github.com/users/cyatek/repos","events_url":"https://api.github.com/users/cyatek/events{/privacy}","received_events_url":"https://api.github.com/users/cyatek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-06-15T15:13:50Z","updated_at":"2019-06-17T12:08:03Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nIf nothing in the whitelist folder is played for a ~day, the next day pythonw.exe will still be running but the script is dead.\r\n\r\n**OS**: Windows 7\r\n\r\n**Log file**\r\n<details><summary>Click to see log contents</summary>\r\n<p>\r\n\r\n```\r\n2019-06-14 12:31:03,614 - INFO - MainThread - scrobbler - Started scrobbler thread.\r\n2019-06-14 12:31:03,614 - WARNING - MainThread - utils - data\\watched_cache.json doesn't exist.\r\n2019-06-14 12:31:03,616 - INFO - MainThread - monitor - Started monitor for mpchc\r\n2019-06-14 12:31:04,624 - INFO - mpchc - monitor - Unable to connect to mpchc. Ensure that the web interface is running.\r\n2019-06-14 23:18:04,650 - DEBUG - mpchc - file_info - Filepath F:\\Present\\JoJo's Bizarre Adventure - Golden Wind\\[HorribleSubs] JoJo's Bizarre Adventure - Golden Wind - 34 [1080p].mkv\r\n2019-06-14 23:18:04,651 - INFO - mpchc - file_info - File path not in whitelist.\r\n2019-06-14 23:58:06,163 - INFO - mpchc - monitor - Unable to connect to mpchc. Ensure that the web interface is running.\r\n2019-06-15 02:18:22,254 - DEBUG - mpchc - file_info - Filepath F:\\Present\\One Punch Man S2\\[HorribleSubs] One Punch Man S2 - 09 [1080p].mkv\r\n2019-06-15 02:18:22,255 - INFO - mpchc - file_info - File path not in whitelist.\r\n2019-06-15 02:42:23,948 - INFO - mpchc - monitor - Unable to connect to mpchc. Ensure that the web interface is running.\r\n2019-06-15 02:45:19,038 - DEBUG - mpchc - file_info - Filepath F:\\Present\\Carole & Tuesday\\[PAS] Carole & Tuesday - 10 (WEB 720p AAC) [00D69AF8].mkv\r\n2019-06-15 02:45:19,039 - INFO - mpchc - file_info - File path not in whitelist.\r\n2019-06-15 03:07:00,664 - INFO - mpchc - monitor - Unable to connect to mpchc. Ensure that the web interface is running.\r\n2019-06-15 03:12:07,775 - ERROR - mpchc - main - Unhandled exception\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Fernando\\AppData\\Local\\trakt-scrobbler\\main.py\", line 60, in run_with_except_hook\r\n    run_original(*args2, **kwargs2)\r\n  File \"C:\\Users\\Fernando\\AppData\\Local\\trakt-scrobbler\\player_monitors\\monitor.py\", line 80, in run\r\n    self.update_status()\r\n  File \"C:\\Users\\Fernando\\AppData\\Local\\trakt-scrobbler\\player_monitors\\mpc.py\", line 29, in update_status\r\n    if variables['duration'] == '0':\r\nKeyError: 'duration'\r\n```\r\n</p>\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/comments/502655761","html_url":"https://github.com/iamkroot/trakt-scrobbler/issues/7#issuecomment-502655761","issue_url":"https://api.github.com/repos/iamkroot/trakt-scrobbler/issues/7","id":502655761,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMjY1NTc2MQ==","user":{"login":"cyatek","id":19691333,"node_id":"MDQ6VXNlcjE5NjkxMzMz","avatar_url":"https://avatars3.githubusercontent.com/u/19691333?v=4","gravatar_id":"","url":"https://api.github.com/users/cyatek","html_url":"https://github.com/cyatek","followers_url":"https://api.github.com/users/cyatek/followers","following_url":"https://api.github.com/users/cyatek/following{/other_user}","gists_url":"https://api.github.com/users/cyatek/gists{/gist_id}","starred_url":"https://api.github.com/users/cyatek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyatek/subscriptions","organizations_url":"https://api.github.com/users/cyatek/orgs","repos_url":"https://api.github.com/users/cyatek/repos","events_url":"https://api.github.com/users/cyatek/events{/privacy}","received_events_url":"https://api.github.com/users/cyatek/received_events","type":"User","site_admin":false},"created_at":"2019-06-17T12:08:03Z","updated_at":"2019-06-17T12:08:03Z","author_association":"NONE","body":"MPC-HC 1.7.9"}}
{"actor":{"display_login":"cyatek"}}