{"action":"created","issue":{"url":"https://api.github.com/repos/SickRage/SickRage/issues/1326","repository_url":"https://api.github.com/repos/SickRage/SickRage","labels_url":"https://api.github.com/repos/SickRage/SickRage/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/SickRage/SickRage/issues/1326/comments","events_url":"https://api.github.com/repos/SickRage/SickRage/issues/1326/events","html_url":"https://github.com/SickRage/SickRage/issues/1326","id":145481771,"number":1326,"title":"Rescan files stuck on subliminal refine","user":{"login":"Tantali","id":3008054,"avatar_url":"https://avatars.githubusercontent.com/u/3008054?v=3","gravatar_id":"","url":"https://api.github.com/users/Tantali","html_url":"https://github.com/Tantali","followers_url":"https://api.github.com/users/Tantali/followers","following_url":"https://api.github.com/users/Tantali/following{/other_user}","gists_url":"https://api.github.com/users/Tantali/gists{/gist_id}","starred_url":"https://api.github.com/users/Tantali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tantali/subscriptions","organizations_url":"https://api.github.com/users/Tantali/orgs","repos_url":"https://api.github.com/users/Tantali/repos","events_url":"https://api.github.com/users/Tantali/events{/privacy}","received_events_url":"https://api.github.com/users/Tantali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-03T11:11:36Z","updated_at":"2016-04-03T18:33:45Z","closed_at":null,"body":"Branch/Commit: 8833592acd2587ecb40b3a13290b1846cc47c2b5\r\nOS: Synology DSM 5.2-5565 Update 2\r\nWhat you did: Rescan files of a show\r\nWhat happened: Stuck forever on that rescan\r\nWhat you expected: Don't get stuck / Timeout error? / Continue with rest of queue?\r\nLogs:\r\n```\r\n#2016-04-03 13:02:24 DEBUG    SHOWQUEUE-REFRESH :: EMBEDDED_SUBS_ALL: True\r\n#2016-04-03 13:02:24 DEBUG    SHOWQUEUE-REFRESH :: refining vid: ; embd_subs: False\r\n#2016-04-03 13:02:24 DEBUG    SHOWQUEUE-REFRESH :: done scanning vid\r\n#2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: scanning vid\r\n#2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: not subs path\r\n#2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: getting vid\r\n#2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: refreshing subs\r\n2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: Name arrow.306.hdtv-lol gave release group of lol, seems valid\r\n2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: Parsed arrow.306.hdtv-lol into arrow - S03E06 [GROUP: lol] [ABD: False] [ANIME: False] [whichReg: ['bare']]\r\n2016-04-03 13:02:18 DEBUG    SHOWQUEUE-REFRESH :: Transaction with 1 queries executed\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: Setter sets location to /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: 257655: The old episode had a different file associated with it, re-checking the quality using the new filename /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: Setter sets location to /volume2/Series/Watching/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: 257655: /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4 parsed to Arrow S03E06\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: Parsed /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4 into arrow - S03E06 [GROUP: lol] [ABD: False] [ANIME: False] [whichReg: ['bare', 'fov']]\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: 257655: Creating episode object from /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4\r\n2016-04-03 13:02:17 DEBUG    SHOWQUEUE-REFRESH :: 257655: Creating episode from /volume1/Series Watchlist/Watchlist/Arrow/Season 03/3x06[SD TV] - Guilty/arrow.306.hdtv-lol.mp4\r\n\r\n```\r\nLines starting with \\# is logging I added myself\r\nI've narrowed it down to\r\nsubliminal.refine(video, embedded_subtitles=embedded_subtitles)\r\nin subtitles.py, line  322\r\nIt enters here and gets stuck somewhere indefinitely.\r\nIt's not consistently on the same file it gets stuck. If I restart SickRage and retry, it might get stuck on another file or not get stuck at all.\r\nI can't update lets say more than 1 to 3 shows before it gets stuck somewhere.\r\n\r\nEMBEDDED_SUBTITLES_ALL is set to True.\r\nNote: in config, 'Search Subtitles' is unchecked, but if I would enable it, \"Ignore subtitles embedded inside video file?\" is checked."},"comment":{"url":"https://api.github.com/repos/SickRage/SickRage/issues/comments/205026263","html_url":"https://github.com/SickRage/SickRage/issues/1326#issuecomment-205026263","issue_url":"https://api.github.com/repos/SickRage/SickRage/issues/1326","id":205026263,"user":{"login":"Tantali","id":3008054,"avatar_url":"https://avatars.githubusercontent.com/u/3008054?v=3","gravatar_id":"","url":"https://api.github.com/users/Tantali","html_url":"https://github.com/Tantali","followers_url":"https://api.github.com/users/Tantali/followers","following_url":"https://api.github.com/users/Tantali/following{/other_user}","gists_url":"https://api.github.com/users/Tantali/gists{/gist_id}","starred_url":"https://api.github.com/users/Tantali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tantali/subscriptions","organizations_url":"https://api.github.com/users/Tantali/orgs","repos_url":"https://api.github.com/users/Tantali/repos","events_url":"https://api.github.com/users/Tantali/events{/privacy}","received_events_url":"https://api.github.com/users/Tantali/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T18:33:45Z","updated_at":"2016-04-03T18:33:45Z","body":"```\r\nAA2016-04-03 20:25:37 INFO     Refining video with omdb\r\nAA2016-04-03 20:25:37 INFO     Refining video with omdb\r\nAA2016-04-03 20:25:37 WARNING  No result for series\r\nAA2016-04-03 20:25:37 WARNING  No result for series\r\nAA2016-04-03 20:25:36 INFO     Searching series 'Streets of Fire'\r\nAA2016-04-03 20:25:36 INFO     Searching series 'Streets of Fire'\r\nAA2016-04-03 20:25:36 INFO     Refining video with tvdb\r\nAA2016-04-03 20:25:36 INFO     Refining video with tvdb\r\nAA2016-04-03 20:25:36 DEBUG    Unsupported video extension .mp4\r\nAA2016-04-03 20:25:36 DEBUG    Unsupported video extension .mp4\r\nAA2016-04-03 20:25:36 INFO     Refining video with metadata\r\nAA2016-04-03 20:25:36 INFO     Refining video with metadata\r\n#2016-04-03 20:25:36 DEBUG    SHOWQUEUE-REFRESH :: EMBEDDED_SUBS_ALL: True\r\n#2016-04-03 20:25:36 DEBUG    SHOWQUEUE-REFRESH :: refining vid: ; embd_subs: False\r\nAA2016-04-03 20:25:36 DEBUG    Found subtitles {}\r\nAA2016-04-03 20:25:36 DEBUG    Found subtitles {}\r\n#2016-04-03 20:25:36 DEBUG    SHOWQUEUE-REFRESH :: done scanning vid\r\nAA2016-04-03 20:25:36 DEBUG    Computed hashes {'itasa': '25f5e36b858ef8a6d3875bf1af87ffed', 'opensubtitles': '8ed62f190f8cbe1c', 'thesubdb': '51acaf83a8c451e759636578cae84001', 'napiprojekt': '25f5e36b858ef8a6d3875bf1af87ffed'}\r\nAA2016-04-03 20:25:36 DEBUG    Computed hashes {'itasa': '25f5e36b858ef8a6d3875bf1af87ffed', 'opensubtitles': '8ed62f190f8cbe1c', 'thesubdb': '51acaf83a8c451e759636578cae84001', 'napiprojekt': '25f5e36b858ef8a6d3875bf1af87ffed'}\r\nAA2016-04-03 20:25:32 DEBUG    Size is 286950124\r\nAA2016-04-03 20:25:32 DEBUG    Size is 286950124\r\nAA2016-04-03 20:25:31 INFO     Scanning video 'arrow.222.hdtv-lol.mp4' in '/volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire'\r\nAA2016-04-03 20:25:31 INFO     Scanning video 'arrow.222.hdtv-lol.mp4' in '/volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire'\r\n#2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: scanning vid\r\n#2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: not subs path\r\n#2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: getting vid\r\n#2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: refreshing subs\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: Name arrow.222.hdtv-lol gave release group of lol, seems valid\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: Parsed arrow.222.hdtv-lol into arrow - S02E22 [GROUP: lol] [ABD: False] [ANIME: False] [whichReg: ['bare']]\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: Transaction with 0 queries executed\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: 257655: Not creating SQL queue - record is not dirty\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: Setter sets location to /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4\r\n2016-04-03 20:25:31 DEBUG    SHOWQUEUE-REFRESH :: Setter sets location to /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4\r\n2016-04-03 20:25:30 DEBUG    SHOWQUEUE-REFRESH :: 257655: /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4 parsed to Arrow S02E22\r\n2016-04-03 20:25:30 DEBUG    SHOWQUEUE-REFRESH :: Parsed /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4 into arrow - S02E22 [GROUP: lol] [ABD: False] [ANIME: False] [whichReg: ['bare', 'fov']]\r\n2016-04-03 20:25:30 DEBUG    SHOWQUEUE-REFRESH :: 257655: Creating episode object from /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4\r\n2016-04-03 20:25:30 DEBUG    SHOWQUEUE-REFRESH :: 257655: Creating episode from /volume1/Series Watchlist/Watchlist/Arrow/Season 02/2x22[SDTV] - Streets of Fire/arrow.222.hdtv-lol.mp4\r\n```\r\n\r\nI'll see if I can narrow it down further myself"}}