{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1924","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1924/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1924/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1924/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1924","id":91761473,"number":1924,"title":"Almost impossible to delete shows (when using Trakt)","user":{"login":"Alexwijn","id":1023654,"avatar_url":"https://avatars.githubusercontent.com/u/1023654?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexwijn","html_url":"https://github.com/Alexwijn","followers_url":"https://api.github.com/users/Alexwijn/followers","following_url":"https://api.github.com/users/Alexwijn/following{/other_user}","gists_url":"https://api.github.com/users/Alexwijn/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexwijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexwijn/subscriptions","organizations_url":"https://api.github.com/users/Alexwijn/orgs","repos_url":"https://api.github.com/users/Alexwijn/repos","events_url":"https://api.github.com/users/Alexwijn/events{/privacy}","received_events_url":"https://api.github.com/users/Alexwijn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Bug%20/%20issue","name":"1: Bug / issue","color":"fc2929"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Confirmed","name":"3: Confirmed","color":"0052cc"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/4:%20Fix%20pending","name":"4: Fix pending","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-29T09:54:34Z","updated_at":"2015-06-29T11:38:19Z","closed_at":null,"body":"I got this problem a lot lately, it takes up a lot of tries before it actually deleted. I tried using with and without automatically deletion of the media folders/files.\r\n\r\nWhen I deleted a TV Show:\r\n````\r\n2015-06-29 07:24:36 DEBUG    Thread-430 :: Removing Brooklyn Nine-Nine from trakt.tv library\r\n2015-06-29 07:24:42 DEBUG    Thread-430 :: Transaction with 5 queries executed\r\n2015-06-29 07:24:42 INFO     Thread-430 :: Attempt to delete cache file /opt/sickrage/cache/images/269586.banner.jpg\r\n2015-06-29 07:24:42 INFO     Thread-430 :: Attempt to delete cache file /opt/sickrage/cache/images/269586.fanart.jpg\r\n2015-06-29 07:24:42 INFO     Thread-430 :: Attempt to delete cache file /opt/sickrage/cache/images/269586.poster.jpg\r\n2015-06-29 07:24:42 INFO     Thread-430 :: Attempt to delete show folder /mnt/osmc/TV Shows/Brooklyn Nine-Nine\r\n2015-06-29 07:24:45 INFO     Thread-430 :: Deleted show folder /mnt/osmc/TV Shows/Brooklyn Nine-Nine\r\n2015-06-29 07:24:45 DEBUG    Thread-430 :: Removing show: indexerid 269586, Title Brooklyn Nine-Nine from Watchlist\r\n````\r\n\r\nAnd when it got added back again, I think because Sickrage check for wanted shows on Trakt before he deletes them there earlier on:\r\n````\r\n2015-06-29 07:42:55 DEBUG    TRAKTCHECKER :: SHOW_WATCHLIST::CHECK::START - Trakt Episode Watchlist\r\n2015-06-29 07:42:56 INFO     TRAKTCHECKER :: Adding show 269586\r\n2015-06-29 07:42:56 DEBUG    TRAKTCHECKER :: Setting permissions for /mnt/osmc/TV Shows/Brooklyn Nine-Nine to 755 as parent directory has 755\r\n2015-06-29 07:42:56 DEBUG    TRAKTCHECKER :: SHOW_WATCHLIST::CHECK::FINISH - Trakt Episode Watchlist\r\n2015-06-29 07:46:23 DEBUG    SHOWQUEUE-ADD :: Looking up XEM scene mapping for show 277964 on theTVDB\r\n2015-06-29 07:46:23 DEBUG    SHOWQUEUE-ADD :: Empty lookup result - no XEM data for show 277964 on theTVDB\r\n2015-06-29 07:46:23 INFO     SHOWQUEUE-ADD :: Starting to add show /mnt/osmc/TV Shows/Brooklyn Nine-Nine\r\n2015-06-29 07:46:23 INFO     SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': 'F9C450E78D99172E', 'cache': '/opt/sickrage/cache/indexers/theTVDB', 'language': 'nl'}\r\n2015-06-29 07:46:26 DEBUG    SHOWQUEUE-ADD :: 269586: Loading show info from database\r\n2015-06-29 07:46:26 INFO     SHOWQUEUE-ADD :: 269586: Unable to find the show in the database\r\n2015-06-29 07:46:26 DEBUG    SHOWQUEUE-ADD :: 269586: Loading show info from theTVDB\r\n2015-06-29 07:46:28 DEBUG    SHOWQUEUE-ADD :: Setter sets location to /mnt/osmc/TV Shows/Brooklyn Nine-Nine\r\n2015-06-29 07:46:28 INFO     SHOWQUEUE-ADD :: Setting all episodes to the specified default status: 5\r\n2015-06-29 07:46:28 DEBUG    SHOWQUEUE-ADD :: Retrieving show info from IMDb\r\n2015-06-29 07:46:28 DEBUG    SHOWQUEUE-ADD :: 269586: Loading show info from IMDb\r\n2015-06-29 07:47:42 DEBUG    SHOWQUEUE-ADD :: 269586: Obtained info from IMDb ->{'rating': 8.3, 'votes': 43170, 'countries': u'USA', 'title': u'Brooklyn Nine-Nine', 'genres': u'Comedy|Crime', 'imdb_id': u'tt2467372', 'country_codes': u'us', 'year': 2013, 'certificates': u'TV-14', 'runtimes': u'22', 'akas': u'\\u0411\\u0440\\u0443\\u043a\\u043b\\u0438\\u043d 9-9::Russia|Brooklyn 9-9::Brazil (imdb display title)|Brooklyn 9-9::Poland (imdb display title)|Brooklyn 99::Finland (imdb display title)|Brooklyn 99: Nemsz\\xe1zas k\\xf6rzet::Hungary (imdb display title)', 'last_update': 735778}\r\n2015-06-29 07:47:42 DEBUG    SHOWQUEUE-ADD :: 269586: Saving show info to database\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: 269586: Loading all episodes from theTVDB..\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: 269586: An object for episode 0x1 didn't exist in the cache, trying to create it\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: 269586: Loading episode details from DB for episode 0x1\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: 269586: Episode 0x1 not found in the database\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: 269586: Loading episode details from theTVDB for episode 0x1\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: This episode (Brooklyn Nine-Nine - 0x1) has no absolute number on theTVDB\r\n2015-06-29 07:47:45 DEBUG    SHOWQUEUE-ADD :: Looking up XEM scene mapping for show 269586 on theTVDB\r\n````\r\nAnd the rest of the logs are about the episodes that did not exist in the cache and gets added again.\r\n\r\n**Some other info:**\r\nPython Version: 2.7.9 (default, Mar 8 2015, 00:52:26) [GCC 4.9.2]\r\nOperating System: Linux-3.18.11+-armv6l-with-debian-7.8\r\nLocale: UTF-8\r\nBranch: master\r\nCommit: SiCKRAGETV/SickRage@ae2c0e8\r\n"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/116623218","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1924#issuecomment-116623218","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1924","id":116623218,"user":{"login":"Alexwijn","id":1023654,"avatar_url":"https://avatars.githubusercontent.com/u/1023654?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexwijn","html_url":"https://github.com/Alexwijn","followers_url":"https://api.github.com/users/Alexwijn/followers","following_url":"https://api.github.com/users/Alexwijn/following{/other_user}","gists_url":"https://api.github.com/users/Alexwijn/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexwijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexwijn/subscriptions","organizations_url":"https://api.github.com/users/Alexwijn/orgs","repos_url":"https://api.github.com/users/Alexwijn/repos","events_url":"https://api.github.com/users/Alexwijn/events{/privacy}","received_events_url":"https://api.github.com/users/Alexwijn/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T11:38:19Z","updated_at":"2015-06-29T11:38:19Z","body":"I guess he really really really want that I have those shows\r\n\r\n![Image](http://s14.postimg.org/x000pxxzl/2015_06_29_13_36_43.jpg)"}}