Skip to content

Instantly share code, notes, and snippets.

@Mickroz
Created January 26, 2016 13:49
Show Gist options
  • Save Mickroz/0e3d109547b87a8d89fd to your computer and use it in GitHub Desktop.
Save Mickroz/0e3d109547b87a8d89fd to your computer and use it in GitHub Desktop.
sickrage issue
having the same problem, but only for manually pp, automated downloads work as expected (maybe because of processing folder is parsed? but nzbtomedia does send the correct dir, but SR doesn't use that??)
Manually running in SR
```
2016-01-26 10:50:00 DEBUG Thread-126 :: Processing folder /volume1/downloads/complete/series
2016-01-26 10:50:00 INFO Thread-126 :: PostProcessing Path: /volume1/downloads/complete/series
2016-01-26 10:50:00 DEBUG Thread-126 :: PostProcessing Dirs: ['Divorce.S04E04.720p.HDTV.x264-SickRage']
2016-01-26 10:50:00 DEBUG Thread-126 :: PostProcessing Files: []
2016-01-26 10:50:00 DEBUG Thread-126 :: PostProcessing VideoFiles: []
2016-01-26 10:50:00 DEBUG Thread-126 :: PostProcessing RarContent: []
2016-01-26 10:50:00 DEBUG Thread-126 :: PostProcessing VideoInRar: []
2016-01-26 10:50:01 DEBUG Thread-126 :: Processing folder Divorce.S04E04.720p.HDTV.x264-SickRage
2016-01-26 10:50:05 DEBUG Thread-126 :: Divorce.S04E04.720p.HDTV.x264-SickRage : No processable items found in folder
2016-01-26 10:50:05 INFO Thread-126 :: Successfully processed
```
manually running from cli as root ./nzbToMedia.py
```
2016-01-26 10:44:41 INFO ::MAIN: Loading config from [/volume1/scripts/nzbToMedia/autoProcessMedia.cfg]
2016-01-26 10:44:41 INFO ::MAIN: Checking database structure...
2016-01-26 10:44:41 DEBUG ::MAIN: Checking Initial Schema database upgrade
2016-01-26 10:44:41 DEBUG ::MAIN: InitialSchema upgrade not required
2016-01-26 10:44:41 DEBUG ::MAIN: Checking if we can use git commands: "/usr/local/bin/git" version
2016-01-26 10:44:41 DEBUG ::MAIN: Executing "/usr/local/bin/git" version with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:41 DEBUG ::MAIN: "/usr/local/bin/git" version : returned successful
2016-01-26 10:44:41 DEBUG ::MAIN: Using: "/usr/local/bin/git"
2016-01-26 10:44:41 DEBUG ::MAIN: Executing "/usr/local/bin/git" symbolic-ref -q HEAD with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:41 DEBUG ::MAIN: "/usr/local/bin/git" symbolic-ref -q HEAD : returned successful
2016-01-26 10:44:41 INFO ::MAIN: Checking if git needs an update
2016-01-26 10:44:41 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-parse HEAD with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:41 DEBUG ::MAIN: "/usr/local/bin/git" rev-parse HEAD : returned successful
2016-01-26 10:44:41 DEBUG ::MAIN: Executing "/usr/local/bin/git" fetch origin with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:43 DEBUG ::MAIN: "/usr/local/bin/git" fetch origin : returned successful
2016-01-26 10:44:43 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-parse --verify --quiet "@{upstream}" with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:43 DEBUG ::MAIN: "/usr/local/bin/git" rev-parse --verify --quiet "@{upstream}" : returned successful
2016-01-26 10:44:43 DEBUG ::MAIN: Executing "/usr/local/bin/git" rev-list --left-right "@{upstream}"...HEAD with your shell in /volume1/scripts/nzbToMedia
2016-01-26 10:44:43 DEBUG ::MAIN: "/usr/local/bin/git" rev-list --left-right "@{upstream}"...HEAD : returned successful
2016-01-26 10:44:43 DEBUG ::MAIN: cur_commit = 3e4861e87c543a4d2debd8997feb16bda3ef5339 % (newest_commit)= 3e4861e87c543a4d2debd8997feb16bda3ef5339, num_commits_behind = 0, num_commits_ahead = 0
2016-01-26 10:44:43 INFO ::MAIN: No update needed
2016-01-26 10:44:43 INFO ::MAIN: nzbToMedia Version:3e4861e87c543a4d2debd8997feb16bda3ef5339 Branch:master (Linux 2.6.32.12)
2016-01-26 10:44:44 DEBUG ::MAIN: Connecting to transmission: http://localhost:9091
2016-01-26 10:44:44 INFO ::MAIN: #########################################################
2016-01-26 10:44:44 INFO ::MAIN: ## ..::[nzbToMedia.py]::.. ##
2016-01-26 10:44:44 INFO ::MAIN: #########################################################
2016-01-26 10:44:44 DEBUG ::MAIN: Options passed into nzbToMedia: ['./nzbToMedia.py']
2016-01-26 10:44:44 WARNING ::MAIN: Invalid number of arguments received from client, Switching to manual run mode ...
2016-01-26 10:44:44 INFO ::MAIN: Searching /volume1/downloads/complete/movies for mediafiles to post-process ...
2016-01-26 10:44:44 DEBUG ::MAIN: No directories identified in CouchPotato:movie for post-processing
2016-01-26 10:44:44 INFO ::MAIN: Searching /volume1/downloads/complete/series for mediafiles to post-process ...
2016-01-26 10:44:44 INFO ::MAIN: Starting manual run for SickBeard:tv - Folder:/volume1/downloads/complete/series/Divorce S04E04 720p HDTV x264-SickRage
2016-01-26 10:44:44 INFO ::MAIN: Checking database for download info for Divorce S04E04 720p HDTV x264-SickRage ...
2016-01-26 10:44:45 INFO ::MAIN: Unable to locate download info for Divorce S04E04 720p HDTV x264-SickRage, continuing to try and process this release ...
2016-01-26 10:44:45 INFO ::MAIN: Auto-detected SECTION:SickBeard
2016-01-26 10:44:45 DEBUG ::MAIN: Checking for archives to extract in directory: /volume1/downloads/complete/series/Divorce S04E04 720p HDTV x264-SickRage
2016-01-26 10:44:45 INFO ::MAIN: Calling SickBeard:tv to post-process:Divorce S04E04 720p HDTV x264-SickRage
2016-01-26 10:44:45 INFO ::MAIN: Attempting to auto-detect tv fork
2016-01-26 10:44:47 INFO ::MAIN: SickBeard:tv fork auto-detection successful ...
2016-01-26 10:44:47 INFO ::MAIN: SickBeard:tv fork set to sickrage
2016-01-26 10:44:47 POSTPROCESS::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
2016-01-26 10:44:47 DEBUG ::SICKBEARD: Opening URL: http://localhost:8899/home/postprocess/processEpisode with params: {'nzbName': 'Divorce S04E04 720p HDTV x264-SickRage', 'quiet': 1, 'failed': 0, 'dir': '/volume1/downloads/complete/series/Divorce S04E04 720p HDTV x264-SickRage'}
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: Processing folder /volume1/downloads/complete/series/Divorce S04E04 720p HDTV x264-SickRage
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing Path: /volume1/downloads/complete/series
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing Dirs: [u'Divorce S04E04 720p HDTV x264-SickRage']
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing Files: []
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing VideoFiles: []
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing RarContent: []
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: PostProcessing VideoInRar: []
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: Processing folder Divorce S04E04 720p HDTV x264-SickRage
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: Divorce S04E04 720p HDTV x264-SickRage : No processable items found in folder
2016-01-26 10:44:55 POSTPROCESS::SICKBEARD: Successfully processed
2016-01-26 10:44:55 INFO ::CLEANDIRS: Directory /volume1/downloads/complete/series/Divorce S04E04 720p HDTV x264-SickRage still contains 1 unprocessed file(s), skipping ...
2016-01-26 10:44:55 INFO ::MAIN: The ./nzbToMedia.py script completed successfully.
```
manually run from SR in Dir
```
2016-01-26 10:56:54 DEBUG Thread-107 :: Processing folder /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage
2016-01-26 10:56:54 INFO Thread-107 :: PostProcessing Path: /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage
2016-01-26 10:56:54 DEBUG Thread-107 :: PostProcessing Dirs: []
2016-01-26 10:56:55 DEBUG Thread-107 :: PostProcessing Files: ['Divorce.S04E04.720p.HDTV.x264-SickRage.mkv']
2016-01-26 10:56:55 DEBUG Thread-107 :: PostProcessing VideoFiles: ['Divorce.S04E04.720p.HDTV.x264-SickRage.mkv']
2016-01-26 10:56:55 DEBUG Thread-107 :: PostProcessing RarContent: []
2016-01-26 10:56:55 DEBUG Thread-107 :: PostProcessing VideoInRar: []
2016-01-26 10:56:55 INFO Thread-107 :: Processing /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage/Divorce.S04E04.720p.HDTV.x264-SickRage.mkv (None)
2016-01-26 10:56:55 DEBUG Thread-107 :: Analyzing name Divorce.S04E04.720p.HDTV.x264-SickRage.mkv
2016-01-26 10:56:59 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:56:59 DEBUG Thread-107 :: Retrieving episode object for 4x4
2016-01-26 10:56:59 DEBUG Thread-107 :: Snatch history had a quality in it, using that: 720p HDTV
2016-01-26 10:56:59 DEBUG Thread-107 :: Quality of the episode we're processing: 720p HDTV
2016-01-26 10:56:59 DEBUG Thread-107 :: Is ep a priority download: True
2016-01-26 10:56:59 DEBUG Thread-107 :: There is no existing file so there's no worries about replacing it
2016-01-26 10:56:59 INFO Thread-107 :: This download is marked a priority download so I'm going to replace an existing file if I find one
2016-01-26 10:56:59 DEBUG Thread-107 :: Trying to determine free space on destination drive
2016-01-26 10:56:59 DEBUG Thread-107 :: Found release name Divorce.S04E04.720p.HDTV.x264-SickRage
2016-01-26 10:57:02 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:02 DEBUG Thread-107 :: Folder name (Divorce.S04E04.720p.HDTV.x264-SickRage) appears to be a valid release name. Using it.
2016-01-26 10:57:04 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:04 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:04 DEBUG Thread-107 :: formatting pattern: %SN - S%0SE%0E - %EN_%QN-%RG -> Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage
2016-01-26 10:57:04 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:04 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:04 DEBUG Thread-107 :: formatting pattern: Season %0S -> Season 04
2016-01-26 10:57:04 DEBUG Thread-107 :: Destination folder for this episode: /volume1/Series/Divorce/Season 04
2016-01-26 10:57:04 DEBUG Thread-107 :: Checking if the path /volume1/Series/Divorce/Season 04 already exists
2016-01-26 10:57:05 DEBUG Thread-107 :: No associated files for /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage/Divorce.S04E04.720p.HDTV.x264-SickRage.mkv were found during this pass
2016-01-26 10:57:05 DEBUG Thread-107 :: Moving file from /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage/Divorce.S04E04.720p.HDTV.x264-SickRage.mkv to /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.mkv
2016-01-26 10:57:06 DEBUG Thread-107 :: Transaction with 1 queries executed
2016-01-26 10:57:06 DEBUG Thread-107 :: Setter sets location to /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.mkv
2016-01-26 10:57:06 DEBUG Thread-107 :: Transaction with 1 queries executed
2016-01-26 10:57:06 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.nfo exists: False
2016-01-26 10:57:06 DEBUG Thread-107 :: Parsed /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 10:57:06 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:06 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:06 DEBUG Thread-107 :: formatting pattern: %SN - S%0SE%0E - %EN -> Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:06 DEBUG Thread-107 :: Metadata provider KODI 12+ creating episode metadata for Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:12 DEBUG Thread-107 :: Not generating nfo because the ep has no title
2016-01-26 10:57:12 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.xml exists: False
2016-01-26 10:57:12 DEBUG Thread-107 :: Parsed /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 10:57:12 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:12 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:12 DEBUG Thread-107 :: formatting pattern: %SN - S%0SE%0E - %EN -> Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:12 DEBUG Thread-107 :: Metadata provider WDTV creating episode metadata for Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:17 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage-thumb.jpg exists: False
2016-01-26 10:57:17 DEBUG Thread-107 :: Parsed /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 10:57:17 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:17 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:17 DEBUG Thread-107 :: formatting pattern: %SN - S%0SE%0E - %EN -> Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:17 DEBUG Thread-107 :: Metadata provider KODI 12+ creating episode thumbnail for Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:21 DEBUG Thread-107 :: Fetching image from http://thetvdb.com/banners/episodes/264817/5414381.jpg
2016-01-26 10:57:47 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.metathumb exists: False
2016-01-26 10:57:47 DEBUG Thread-107 :: Parsed /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 10:57:47 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:57:47 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:57:48 DEBUG Thread-107 :: formatting pattern: %SN - S%0SE%0E - %EN -> Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:48 DEBUG Thread-107 :: Metadata provider WDTV creating episode thumbnail for Divorce - S04E04 - Aflevering 4
2016-01-26 10:57:51 DEBUG Thread-107 :: Fetching image from http://thetvdb.com/banners/episodes/264817/5414381.jpg
2016-01-26 10:58:17 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.nfo exists: False
2016-01-26 10:58:17 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage-thumb.jpg exists: True
2016-01-26 10:58:17 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.xml exists: False
2016-01-26 10:58:17 DEBUG Thread-107 :: Checking if /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.metathumb exists: True
2016-01-26 10:58:17 DEBUG Thread-107 :: Parsed /volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 10:58:17 DEBUG Thread-107 :: Parsed Divorce.S04E04.720p.HDTV.x264-SickRage into Divorce - S04E04 [GROUP: SickRage] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 10:58:17 DEBUG Thread-107 :: Found codec for 'Divorce: Aflevering 4'.
2016-01-26 10:58:17 DEBUG Thread-107 :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> Divorce - 4x04 - Aflevering 4 - 720p HDTV
2016-01-26 10:58:17 DEBUG Thread-107 :: Notification for NMJ scan update not enabled, skipping this notification
2016-01-26 10:58:19 DEBUG Thread-107 :: Absolute path to script: /usr/bin/python
2016-01-26 10:58:19 INFO Thread-107 :: Executing command [u'/usr/bin/python', '/volume1/scripts/scripts/sickrage-pp.py', u'/volume1/Series/Divorce/Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.mkv', u'/volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage/Divorce.S04E04.720p.HDTV.x264-SickRage.mkv', '264817', '4', '4', '2016-01-24']
2016-01-26 10:58:22 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all kwargs: '{'cmd': 'sb'}'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: sb: cur_kwargs {}
2016-01-26 10:58:22 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all kwargs: '{'limit': '1', 'cmd': 'history', 'type': 'downloaded'}'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: history: cur_kwargs {'type': 'downloaded', 'limit': '1'}
2016-01-26 10:58:22 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: all kwargs: '{'cmd': 'episode', 'season': '4', 'indexerid': '264817', 'episode': '4'}'
2016-01-26 10:58:22 DEBUG TORNADO :: API :: episode: cur_kwargs {'season': '4', 'indexerid': '264817', 'episode': '4'}
2016-01-26 10:58:23 DEBUG Thread-107 :: Script result: DEBUG - Loading config from /volume1/scripts/scripts/settings.cfg
DEBUG - Checking version of Sickbeard or Sickrage
DEBUG - We are connecting to SickRage, version: master
INFO - Opening connection to SickRage
DEBUG - sick_call parameters: {'type': 'downloaded', 'cmd': 'history', 'limit': 1}
DEBUG - sick_call results: {
"message": "",
"data": [
{
"status": "Downloaded",
"episode": 4,
"tvdbid": 264817,
"season": 4,
"show_name": "Divorce",
"resource_path": "/volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage",
"provider": "SickRage",
"date": "2016-01-26 10:58:17",
"resource": "Divorce.S04E04.720p.HDTV.x264-SickRage.mkv",
"indexerid": 264817,
"quality": "720p HDTV"
}
],
"result": "success"
}
DEBUG - sick_call parameters: {'indexerid': 264817, 'season': 4, 'cmd': 'episode', 'episode': 4}
DEBUG - sick_call results: {
"message": "",
"data": {
"status": "Downloaded",
"description": "Tamar probeert een wig tussen David en Selly te drijven als ze David en zijn twee beste vrienden een kookcursus in Hattem cadeau geeft. Wraak is een gerecht dat je koud serveert, maar uiteraard loopt het nogal anders dan de bedoeling was, vooral voor Boudewijn. Joris valt daarentegen w\u00e9l met zijn neus in de geklaarde boter.",
"airdate": "2016-01-24",
"file_size_human": "591.15 MB",
"location": "Season 04/Divorce - S04E04 - Aflevering 4_720p HDTV-SickRage.mkv",
"file_size": 619869243,
"release_name": "Divorce.S04E04.720p.HDTV.x264-SickRage",
"quality": "720p HDTV",
"subtitles": "",
"name": "Aflevering 4"
},
"result": "success"
}
Divorce.S04E04.720p.HDTV.x264-SickRage
DEBUG - Sending Pushover notification...
INFO - Pushover notification sent succesfully
2016-01-26 10:58:23 INFO Thread-107 :: Processing succeeded for /volume1/downloads/complete/series/Divorce.S04E04.720p.HDTV.x264-SickRage/Divorce.S04E04.720p.HDTV.x264-SickRage.mkv
2016-01-26 10:58:23 INFO Thread-107 :: Successfully processed
```
automated postprocess
```
2016-01-26 05:09:29 DEBUG Thread-77 :: Processing folder /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:09:29 INFO Thread-77 :: PostProcessing Path: /volume1/downloads/torrents/series
2016-01-26 05:09:29 DEBUG Thread-77 :: PostProcessing Dirs: [u'The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]']
2016-01-26 05:09:29 DEBUG Thread-77 :: PostProcessing Files: []
2016-01-26 05:09:29 DEBUG Thread-77 :: PostProcessing VideoFiles: []
2016-01-26 05:09:29 DEBUG Thread-77 :: PostProcessing RarContent: []
2016-01-26 05:09:29 DEBUG Thread-77 :: PostProcessing VideoInRar: []
2016-01-26 05:09:29 DEBUG Thread-77 :: Processing folder The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:09:30 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:30 DEBUG Thread-77 :: Processing folder /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/Sample
2016-01-26 05:09:30 DEBUG Thread-77 :: Parsed /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/Sample into The X-Files - S10E02 [GROUP: AVS[rarbg]] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:30 DEBUG Thread-77 :: Found unwanted files: ['sample-the.x-files.s10e02.720p.hdtv.x264-avs.mkv']
2016-01-26 05:09:30 DEBUG Thread-77 :: Deleting file: sample-the.x-files.s10e02.720p.hdtv.x264-avs.mkv
2016-01-26 05:09:30 INFO Thread-77 :: Deleting folder (if it's empty): /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/Sample
2016-01-26 05:09:30 DEBUG Thread-77 :: Deleted folder: /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/Sample
2016-01-26 05:09:30 DEBUG Thread-77 :: Processing folder /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:09:30 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:30 DEBUG Thread-77 :: Found unwanted files: ['the.x-files.s10e02.720p.hdtv.x264-avs.nfo', 'RARBG.com.txt']
2016-01-26 05:09:30 DEBUG Thread-77 :: Parsed /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg] into The X-Files - S10E02 [GROUP: AVS[rarbg]] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:31 INFO Thread-77 :: Processing /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv (The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg])
2016-01-26 05:09:31 DEBUG Thread-77 :: Analyzing name The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:09:34 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:34 DEBUG Thread-77 :: Retrieving episode object for 10x2
2016-01-26 05:09:34 DEBUG Thread-77 :: Snatch history had a quality in it, using that: 720p HDTV
2016-01-26 05:09:34 DEBUG Thread-77 :: Quality of the episode we're processing: 720p HDTV
2016-01-26 05:09:34 DEBUG Thread-77 :: SR snatched this episode and it is not processed before
2016-01-26 05:09:34 DEBUG Thread-77 :: Is ep a priority download: True
2016-01-26 05:09:34 DEBUG Thread-77 :: There is no existing file so there's no worries about replacing it
2016-01-26 05:09:34 INFO Thread-77 :: This download is marked a priority download so I'm going to replace an existing file if I find one
2016-01-26 05:09:34 DEBUG Thread-77 :: Trying to determine free space on destination drive
2016-01-26 05:09:34 DEBUG Thread-77 :: Found release name The.X-Files.S10E02.720p.HDTV.x264-AVS
2016-01-26 05:09:34 INFO Thread-77 :: Using nzb_name for release name.
2016-01-26 05:09:35 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:35 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:09:35 DEBUG Thread-77 :: formatting pattern: %SN - S%0SE%0E - %EN_%QN-%RG -> The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS
2016-01-26 05:09:36 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:36 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:09:36 DEBUG Thread-77 :: formatting pattern: Season %0S -> Season 10
2016-01-26 05:09:36 DEBUG Thread-77 :: Destination folder for this episode: /volume1/Series/The X-Files/Season 10
2016-01-26 05:09:36 DEBUG Thread-77 :: Checking if the path /volume1/Series/The X-Files/Season 10 already exists
2016-01-26 05:09:38 DEBUG Thread-77 :: Found the following associated files for /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv: [u'/volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/the.x-files.s10e02.720p.hdtv.x264-avs.nfo']
2016-01-26 05:09:38 DEBUG Thread-77 :: Moving file from /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv to /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.mkv
2016-01-26 05:09:38 DEBUG Thread-77 :: Not running as root or owner of /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.mkv, not trying to set permissions
2016-01-26 05:09:38 DEBUG Thread-77 :: Moving file from /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/the.x-files.s10e02.720p.hdtv.x264-avs.nfo to /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.nfo
2016-01-26 05:09:38 DEBUG Thread-77 :: Not running as root or owner of /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.nfo, not trying to set permissions
2016-01-26 05:09:38 DEBUG Thread-77 :: Transaction with 1 queries executed
2016-01-26 05:09:38 DEBUG Thread-77 :: Setter sets location to /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.mkv
2016-01-26 05:09:38 DEBUG Thread-77 :: Transaction with 1 queries executed
2016-01-26 05:09:38 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.nfo exists: True
2016-01-26 05:09:38 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.xml exists: False
2016-01-26 05:09:38 DEBUG Thread-77 :: Parsed /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS into The X-files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 05:09:38 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:38 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:09:38 DEBUG Thread-77 :: formatting pattern: %SN - S%0SE%0E - %EN -> The X-files - S10E02 - Founder's Mutation
2016-01-26 05:09:39 DEBUG Thread-77 :: Metadata provider WDTV creating episode metadata for The X-files - S10E02 - Founder's Mutation
2016-01-26 05:09:57 DEBUG Thread-77 :: Parsed /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS into The X-files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 05:09:57 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:57 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:09:57 DEBUG Thread-77 :: formatting pattern: %SN - S%0SE%0E - %EN -> The X-files - S10E02 - Founder's Mutation
2016-01-26 05:09:57 DEBUG Thread-77 :: Writing episode nfo file to /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.xml
2016-01-26 05:09:57 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS-thumb.jpg exists: False
2016-01-26 05:09:57 DEBUG Thread-77 :: Parsed /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS into The X-files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 05:09:57 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:09:57 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:09:58 DEBUG Thread-77 :: formatting pattern: %SN - S%0SE%0E - %EN -> The X-files - S10E02 - Founder's Mutation
2016-01-26 05:09:58 DEBUG Thread-77 :: Metadata provider KODI 12+ creating episode thumbnail for The X-files - S10E02 - Founder's Mutation
2016-01-26 05:10:16 DEBUG Thread-77 :: Fetching image from http://thetvdb.com/banners/episodes/77398/5313344.jpg
2016-01-26 05:10:46 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.metathumb exists: False
2016-01-26 05:10:46 DEBUG Thread-77 :: Parsed /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS into The X-files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 05:10:46 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:10:46 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:10:47 DEBUG Thread-77 :: formatting pattern: %SN - S%0SE%0E - %EN -> The X-files - S10E02 - Founder's Mutation
2016-01-26 05:10:47 DEBUG Thread-77 :: Metadata provider WDTV creating episode thumbnail for The X-files - S10E02 - Founder's Mutation
2016-01-26 05:11:07 DEBUG Thread-77 :: Fetching image from http://thetvdb.com/banners/episodes/77398/5313344.jpg
2016-01-26 05:11:36 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.nfo exists: True
2016-01-26 05:11:37 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS-thumb.jpg exists: True
2016-01-26 05:11:37 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.xml exists: True
2016-01-26 05:11:37 DEBUG Thread-77 :: Checking if /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.metathumb exists: True
2016-01-26 05:11:37 DEBUG Thread-77 :: Parsed /volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS into The X-files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard', 'season_only']]
2016-01-26 05:11:37 DEBUG Thread-77 :: Parsed The.X-Files.S10E02.720p.HDTV.x264-AVS into The X-Files - S10E02 [GROUP: AVS] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-01-26 05:11:37 DEBUG Thread-77 :: Found codec for 'The X-files: Founder's Mutation'.
2016-01-26 05:11:37 DEBUG Thread-77 :: formatting pattern: %SN - %Sx%0E - %EN - %QN -> The X-files - 10x02 - Founder's Mutation - 720p HDTV
2016-01-26 05:11:37 DEBUG Thread-77 :: Notification for NMJ scan update not enabled, skipping this notification
2016-01-26 05:11:39 DEBUG Thread-77 :: Absolute path to script: /usr/bin/python
2016-01-26 05:11:39 INFO Thread-77 :: Executing command [u'/usr/bin/python', '/volume1/scripts/scripts/sickrage-pp.py', u"/volume1/Series/The X-Files/Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.mkv", u'/volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv', '77398', '10', '2', '2016-01-25']
2016-01-26 05:11:41 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 05:11:41 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 05:11:41 DEBUG TORNADO :: API :: all kwargs: '{'cmd': 'sb'}'
2016-01-26 05:11:41 DEBUG TORNADO :: API :: sb: cur_kwargs {}
2016-01-26 05:11:41 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 05:11:41 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 05:11:41 DEBUG TORNADO :: API :: all kwargs: '{'limit': '1', 'cmd': 'history', 'type': 'downloaded'}'
2016-01-26 05:11:41 DEBUG TORNADO :: API :: history: cur_kwargs {'type': 'downloaded', 'limit': '1'}
2016-01-26 05:11:41 DEBUG TORNADO :: API :: 127.0.0.1 - gave correct API KEY. ACCESS GRANTED
2016-01-26 05:11:41 DEBUG TORNADO :: API :: all args: '()'
2016-01-26 05:11:42 DEBUG TORNADO :: API :: all kwargs: '{'cmd': 'episode', 'season': '10', 'indexerid': '77398', 'episode': '2'}'
2016-01-26 05:11:42 DEBUG TORNADO :: API :: episode: cur_kwargs {'season': '10', 'indexerid': '77398', 'episode': '2'}
2016-01-26 05:11:42 DEBUG Thread-77 :: Script result: DEBUG - Loading config from /volume1/scripts/scripts/settings.cfg
DEBUG - Checking version of Sickbeard or Sickrage
DEBUG - We are connecting to SickRage, version: master
DEBUG - found name of torrent: The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
INFO - Opening connection to Transmission
DEBUG - Retreived session id: S08Q5liTZrnHGnovGMMyir1o9KQzw7VtQ6oUdPmm8PJj6yfe
DEBUG - Transmission parameters: "{\"method\": \"torrent-get\", \"arguments\": {\"fields\": [\"name\", \"id\"]}}"
DEBUG - Transmission results: {
"arguments": {
"torrents": [
{
"id": 1,
"name": "TXF.1001.X265.rar"
},
{
"id": 2,
"name": "black.sails.s03e01.proper.720p.hdtv.hevc.x265.rmteam.mkv"
},
{
"id": 4,
"name": "Lucifer.S01E01.720p.HDTV.EN-SUB.x264-[MULVAcoded].mkv"
},
{
"id": 5,
"name": "The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]"
}
]
},
"result": "success"
}
DEBUG - Transmission torrent id found: 5
DEBUG - Transmission parameters: "{\"method\": \"torrent-remove\", \"arguments\": {\"ids\": 5}}"
DEBUG - Transmission results: {
"arguments": {},
"result": "success"
}
INFO - Removing torrent from Transmisson list with id: 5
INFO - Opening connection to SickRage
DEBUG - sick_call parameters: {'type': 'downloaded', 'cmd': 'history', 'limit': 1}
DEBUG - sick_call results: {
"message": "",
"data": [
{
"status": "Downloaded",
"episode": 2,
"tvdbid": 77398,
"season": 10,
"show_name": "The X-files",
"resource_path": "/volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]",
"provider": "AVS",
"date": "2016-01-26 05:11:37",
"resource": "The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv",
"indexerid": 77398,
"quality": "720p HDTV"
}
],
"result": "success"
}
DEBUG - sick_call parameters: {'indexerid': 77398, 'season': 10, 'cmd': 'episode', 'episode': 2}
DEBUG - sick_call results: {
"message": "",
"data": {
"status": "Downloaded",
"description": "A scientist commits suicide, and Mulder and Scully investigate what unseen force may have driven him to it. They uncover a laboratory where extreme genetic experimentation has been going on for decades. The breeding subjects possess unexpected and dangerous powers, and harbor deep resentments.",
"airdate": "2016-01-25",
"file_size_human": "1.32 GB",
"location": "Season 10/The X-files - S10E02 - Founder's Mutation_720p HDTV-AVS.mkv",
"file_size": 1416199027,
"release_name": "The.X-Files.S10E02.720p.HDTV.x264-AVS",
"quality": "720p HDTV",
"subtitles": "",
"name": "Founder's Mutation"
},
"result": "success"
}
The.X-Files.S10E02.720p.HDTV.x264-AVS
DEBUG - Sending Pushover notification...
INFO - Pushover notification sent succesfully
2016-01-26 05:11:43 INFO Thread-77 :: Processing succeeded for /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]/The.X-Files.S10E02.720p.HDTV.x264-AVS.mkv
2016-01-26 05:11:43 DEBUG Thread-77 :: Deleting file: RARBG.com.txt
2016-01-26 05:11:43 INFO Thread-77 :: Deleting folder (if it's empty): /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:11:43 DEBUG Thread-77 :: Deleted folder: /volume1/downloads/torrents/series/The.X-Files.S10E02.720p.HDTV.x264-AVS[rarbg]
2016-01-26 05:11:43 INFO Thread-77 :: Successfully processed
```
downloads 755
complete 777
series 777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment