{"action":"created","issue":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/336","labels_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/336/comments","events_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/336/events","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/336","id":109838745,"number":336,"title":"sonarr not moving file after script is run","user":{"login":"ptowns188","id":14946670,"avatar_url":"https://avatars.githubusercontent.com/u/14946670?v=3","gravatar_id":"","url":"https://api.github.com/users/ptowns188","html_url":"https://github.com/ptowns188","followers_url":"https://api.github.com/users/ptowns188/followers","following_url":"https://api.github.com/users/ptowns188/following{/other_user}","gists_url":"https://api.github.com/users/ptowns188/gists{/gist_id}","starred_url":"https://api.github.com/users/ptowns188/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptowns188/subscriptions","organizations_url":"https://api.github.com/users/ptowns188/orgs","repos_url":"https://api.github.com/users/ptowns188/repos","events_url":"https://api.github.com/users/ptowns188/events{/privacy}","received_events_url":"https://api.github.com/users/ptowns188/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-10-05T16:41:48Z","updated_at":"2015-10-06T22:11:11Z","closed_at":null,"body":"2015-10-05 18:29:26 - delugePostProcess - INFO - Passing /home/plex/deluge/complete/temp_dir directory to Sonarr.\r\n2015-10-05 18:29:26 - autoprocess.sonarr - INFO - Sonarr notifier started.\r\n2015-10-05 18:29:26 - autoprocess.sonarr - DEBUG - Sonarr host: localhost.\r\n2015-10-05 18:29:26 - autoprocess.sonarr - DEBUG - Sonarr port: 8989.\r\n2015-10-05 18:29:26 - autoprocess.sonarr - DEBUG - Sonarr apikey: KEY\r\n2015-10-05 18:29:26 - autoprocess.sonarr - DEBUG - Sonarr protocol: http://.\r\n2015-10-05 18:29:26 - autoprocess.sonarr - DEBUG - URL 'http://localhost:8989/api/command' with payload '{'path': '/home/plex/deluge/complete/temp_dir', 'name': 'downloadedepisodesscan'}.'\r\n2015-10-05 18:29:26 - autoprocess.sonarr - INFO - Requesting Sonarr to scan directory '/home/plex/deluge/complete/temp_dir'.\r\n2015-10-05 18:29:26 - urllib3.connectionpool - INFO - Starting new HTTP connection (1): localhost\r\n2015-10-05 18:29:26 - urllib3.connectionpool - DEBUG - Setting read timeout to None\r\n2015-10-05 18:29:26 - urllib3.connectionpool - DEBUG - \"POST /api/command HTTP/1.1\" 201 None\r\n2015-10-05 18:29:26 - autoprocess.sonarr - INFO - Sonarr response: queued.\r\n2015-10-05 18:29:26 - delugePostProcess - ERROR - Unable to delete temporary directory.\r\nTraceback (most recent call last):\r\n  File \"/home/plex/mp4/delugePostProcess.py\", line 114, in <module>\r\n    os.rmdir(delete_dir)\r\nOSError: [Errno 39] Directory not empty: '/home/plex/deluge/complete/temp_dir'\r\n\r\nas the title says, after script runs the file and passes back to sonarr nothing happens\r\n\r\nanyone help?"},"comment":{"url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/comments/146017115","html_url":"https://github.com/mdhiggins/sickbeard_mp4_automator/issues/336#issuecomment-146017115","issue_url":"https://api.github.com/repos/mdhiggins/sickbeard_mp4_automator/issues/336","id":146017115,"user":{"login":"ptowns188","id":14946670,"avatar_url":"https://avatars.githubusercontent.com/u/14946670?v=3","gravatar_id":"","url":"https://api.github.com/users/ptowns188","html_url":"https://github.com/ptowns188","followers_url":"https://api.github.com/users/ptowns188/followers","following_url":"https://api.github.com/users/ptowns188/following{/other_user}","gists_url":"https://api.github.com/users/ptowns188/gists{/gist_id}","starred_url":"https://api.github.com/users/ptowns188/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptowns188/subscriptions","organizations_url":"https://api.github.com/users/ptowns188/orgs","repos_url":"https://api.github.com/users/ptowns188/repos","events_url":"https://api.github.com/users/ptowns188/events{/privacy}","received_events_url":"https://api.github.com/users/ptowns188/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T22:11:11Z","updated_at":"2015-10-06T22:11:11Z","body":"ok @mdhiggins please post when you have a fix"}}