{"action":"created","issue":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/1388","repository_url":"https://api.github.com/repos/clinton-hall/nzbToMedia","labels_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/1388/labels{/name}","comments_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/1388/comments","events_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/1388/events","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/1388","id":369934514,"node_id":"MDU6SXNzdWUzNjk5MzQ1MTQ=","number":1388,"title":"nzbtoheadphones fails, it seems the variable \"delete_failed\" is missing","user":{"login":"ernstblaauw","id":11819102,"node_id":"MDQ6VXNlcjExODE5MTAy","avatar_url":"https://avatars3.githubusercontent.com/u/11819102?v=4","gravatar_id":"","url":"https://api.github.com/users/ernstblaauw","html_url":"https://github.com/ernstblaauw","followers_url":"https://api.github.com/users/ernstblaauw/followers","following_url":"https://api.github.com/users/ernstblaauw/following{/other_user}","gists_url":"https://api.github.com/users/ernstblaauw/gists{/gist_id}","starred_url":"https://api.github.com/users/ernstblaauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernstblaauw/subscriptions","organizations_url":"https://api.github.com/users/ernstblaauw/orgs","repos_url":"https://api.github.com/users/ernstblaauw/repos","events_url":"https://api.github.com/users/ernstblaauw/events{/privacy}","received_events_url":"https://api.github.com/users/ernstblaauw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-14T19:21:00Z","updated_at":"2018-10-15T09:05:07Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI try to get nzbtoheadphones running. It does not succeed. As far as I can tell from the logs, it seems the variable delete_failed is missing. How can I set that one? In the global settings in nzbget (nzbtomedia), I don't see this field. \r\nI also tried the nightly branch, but it gave the same error.\r\n\r\nThanks for helping!\r\nErnst\r\n\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:  Exception TypeError: \"'NoneType' object is not callable\" in <bound  method PosixProcess.__del__ of <core.nzbToMediaUtil.PosixProcess  object at 0x76c39350>> ignored\r\n-- | -- | --\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: KeyError: 'delete_failed'\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:     delete_failed = int(cfg[\"delete_failed\"])\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:   File \"/home/osmc/nzbget/scripts/nzbToMedia/core/autoProcess/autoProcessMusic.py\", line 124, in process\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:      result = autoProcessMusic().process(sectionName, inputDirectory,  inputName, status, clientAgent, inputCategory)\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:   File \"/home/osmc/nzbget/scripts/nzbToMedia/nzbToMedia.py\", line 719, in process\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:     failureLink=failureLink)\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:   File \"/home/osmc/nzbget/scripts/nzbToMedia/nzbToMedia.py\", line 818, in main\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:     result = nzbToMedia.main(sys.argv, section)\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:   File \"/home/osmc/nzbget/scripts/nzbToMedia/nzbToHeadPhones.py\", line 124, in <module>\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: Traceback (most recent call last):\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:  [21:16:40] [INFO]::MAIN: Calling HeadPhones:headphones to  post-process:<download>\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: Auto-detected SECTION:HeadPhones\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: Script triggered from NZBGet Version 21.0-testing-r2220.\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: #########################################################\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: #########################################################\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature  ...\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [WARNING]::MAIN: Failed to locate ffprobe. Video corruption detection disabled!\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature  ...\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [WARNING]::MAIN: Failed to locate ffmpeg. Transcoding disabled!\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones:  [21:16:40] [INFO]::MAIN: nzbToMedia  Version:5d5d69ecdd5fe043be8a915ffa26e8427c9641c4 Branch:master (Linux  4.14.34-6-osmc)\r\ninfo | Sun Oct 14 2018 21:16:40 | nzbToHeadPhones: [21:16:40] [INFO]::MAIN: No update needed\r\ninfo | Sun Oct 14 2018 21:16:38 | nzbToHeadPhones: [21:16:38] [INFO]::MAIN: Checking if git needs an update\r\ninfo | Sun Oct 14 2018 21:16:38 | nzbToHeadPhones: [21:16:38] [INFO]::MAIN: Checking database structure...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/comments/429765246","html_url":"https://github.com/clinton-hall/nzbToMedia/issues/1388#issuecomment-429765246","issue_url":"https://api.github.com/repos/clinton-hall/nzbToMedia/issues/1388","id":429765246,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTc2NTI0Ng==","user":{"login":"ernstblaauw","id":11819102,"node_id":"MDQ6VXNlcjExODE5MTAy","avatar_url":"https://avatars3.githubusercontent.com/u/11819102?v=4","gravatar_id":"","url":"https://api.github.com/users/ernstblaauw","html_url":"https://github.com/ernstblaauw","followers_url":"https://api.github.com/users/ernstblaauw/followers","following_url":"https://api.github.com/users/ernstblaauw/following{/other_user}","gists_url":"https://api.github.com/users/ernstblaauw/gists{/gist_id}","starred_url":"https://api.github.com/users/ernstblaauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernstblaauw/subscriptions","organizations_url":"https://api.github.com/users/ernstblaauw/orgs","repos_url":"https://api.github.com/users/ernstblaauw/repos","events_url":"https://api.github.com/users/ernstblaauw/events{/privacy}","received_events_url":"https://api.github.com/users/ernstblaauw/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T09:05:07Z","updated_at":"2018-10-15T09:05:07Z","author_association":"NONE","body":"Thank you very much for the fast solution! It works now 👍 "}}
{"actor":{"display_login":"ernstblaauw"}}