{"action":"created","issue":{"url":"https://api.github.com/repos/blacktwin/JBOPS/issues/63","repository_url":"https://api.github.com/repos/blacktwin/JBOPS","labels_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/63/comments","events_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/63/events","html_url":"https://github.com/blacktwin/JBOPS/issues/63","id":310737170,"number":63,"title":"wait_kill_pause_notify_main.py IndexError: list index out of range","user":{"login":"dotzeno","id":22301307,"avatar_url":"https://avatars2.githubusercontent.com/u/22301307?v=4","gravatar_id":"","url":"https://api.github.com/users/dotzeno","html_url":"https://github.com/dotzeno","followers_url":"https://api.github.com/users/dotzeno/followers","following_url":"https://api.github.com/users/dotzeno/following{/other_user}","gists_url":"https://api.github.com/users/dotzeno/gists{/gist_id}","starred_url":"https://api.github.com/users/dotzeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotzeno/subscriptions","organizations_url":"https://api.github.com/users/dotzeno/orgs","repos_url":"https://api.github.com/users/dotzeno/repos","events_url":"https://api.github.com/users/dotzeno/events{/privacy}","received_events_url":"https://api.github.com/users/dotzeno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-03T08:16:24Z","updated_at":"2018-04-06T12:35:59Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm using Tautulli version 2.0.28.\r\nScript notification settings are set to the following:\r\nConfiguration: Script File -> .\\wait_kill_pause_notify_main.py\r\nTriggers: Notify on Playback Pause\r\nConditions: None\r\nArguments: Playback Pause -> {session_key}\r\n\r\nwait_kill_pause_notify_sub.py has been placed in the same directory as wait_kill_pause_notify_main.py.\r\n\r\nI keep getting the following two log entries (removed html tags and replaced sessionid with placeholder)\r\n\r\n```\r\n2018-04-03 16:05:30 | ERROR | Tautulli Notifiers :: Script error:     Traceback (most recent call last):         File \"D:\\Tautulli\\scripts\\wait_kill_pause_notify_main.py\", line 59, in <module>             sessionKey = sys.argv[1]     IndexError: list index out of range\r\n-- | -- | --\r\n2018-04-03 16:05:28 | DEBUG | Tautulli Notifiers :: Script returned:     Executing sub script.     Sub script initiating kill.     Successfully sent Tautulli notification.Error: (401) unauthorized; http://localhost:32400/status/sessions/terminate?sessionId=[SESSIONID_PLACEHOLDER]&reason=This+stream+has+ended+due+to+being+paused. Unauthorized401 Unauthorized\r\n```\r\nAny assistance would be appreciate, thanks."},"comment":{"url":"https://api.github.com/repos/blacktwin/JBOPS/issues/comments/379239858","html_url":"https://github.com/blacktwin/JBOPS/issues/63#issuecomment-379239858","issue_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/63","id":379239858,"user":{"login":"blacktwin","id":22177672,"avatar_url":"https://avatars2.githubusercontent.com/u/22177672?v=4","gravatar_id":"","url":"https://api.github.com/users/blacktwin","html_url":"https://github.com/blacktwin","followers_url":"https://api.github.com/users/blacktwin/followers","following_url":"https://api.github.com/users/blacktwin/following{/other_user}","gists_url":"https://api.github.com/users/blacktwin/gists{/gist_id}","starred_url":"https://api.github.com/users/blacktwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacktwin/subscriptions","organizations_url":"https://api.github.com/users/blacktwin/orgs","repos_url":"https://api.github.com/users/blacktwin/repos","events_url":"https://api.github.com/users/blacktwin/events{/privacy}","received_events_url":"https://api.github.com/users/blacktwin/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T12:35:59Z","updated_at":"2018-04-06T12:35:59Z","author_association":"OWNER","body":"Do you have Plex Pass?"}}
{"actor":{"display_login":"blacktwin"}}