clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
671 stars 176 forks source link

Failed to stop Torrent. Failed to delete torrent. #1138

Closed Xenocell12 closed 7 years ago

Xenocell12 commented 7 years ago

Greetings. I have a very strange issue and I can't figure out why uTorrent does not remove the torrent from the listing.

On a typical call for TorrentToMedia... All the mediate is detected correctly. SickRage correctly see's the directory to process, and moves it. The Data is deleted (sometimes) as configured, but one thing that puzzles me is that torrentomedia "Fails to stop torrent" and moves on.

In utorrent I have it configured to use port 8080. bt.readyonly is also off. I also ensured the config uses it as well.I often see by default your config is at 8090. All programs can communicate to utorrent fine except torrenttomedia.

Anyway. Here is the typical log of a TorrentToMedia job. After the log. I also have copied my config with API's removed.

2016-11-20 22:34:15 INFO ::MAIN: Loading config from [C:\Users\uTorrentVM\nzbToMedia\autoProcessMedia.cfg] 2016-11-20 22:34:15 INFO ::MAIN: Checking database structure... 2016-11-20 22:34:15 DEBUG ::MAIN: Checking Initial Schema database upgrade 2016-11-20 22:34:15 DEBUG ::MAIN: InitialSchema upgrade not required 2016-11-20 22:34:15 DEBUG ::MAIN: Checking if we can use git commands: git version 2016-11-20 22:34:15 DEBUG ::MAIN: Executing git version with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:15 DEBUG ::MAIN: git version : returned successful 2016-11-20 22:34:15 DEBUG ::MAIN: Using: git 2016-11-20 22:34:15 DEBUG ::MAIN: Executing git symbolic-ref -q HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:15 DEBUG ::MAIN: git symbolic-ref -q HEAD : returned successful 2016-11-20 22:34:15 INFO ::MAIN: Checking if git needs an update 2016-11-20 22:34:15 DEBUG ::MAIN: Executing git rev-parse HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:16 DEBUG ::MAIN: git rev-parse HEAD : returned successful 2016-11-20 22:34:16 DEBUG ::MAIN: Executing git fetch origin with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:23 DEBUG ::MAIN: git fetch origin : returned successful 2016-11-20 22:34:23 DEBUG ::MAIN: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:24 DEBUG ::MAIN: git rev-parse --verify --quiet "@{upstream}" : returned successful 2016-11-20 22:34:24 DEBUG ::MAIN: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2016-11-20 22:34:24 DEBUG ::MAIN: git rev-list --left-right "@{upstream}"...HEAD : returned successful 2016-11-20 22:34:24 DEBUG ::MAIN: cur_commit = 26957918e562918c653292d33e2c11206ce6ccb9 % (newest_commit)= 26957918e562918c653292d33e2c11206ce6ccb9, num_commits_behind = 0, num_commits_ahead = 0 2016-11-20 22:34:24 INFO ::MAIN: No update needed 2016-11-20 22:34:24 INFO ::MAIN: nzbToMedia Version:26957918e562918c653292d33e2c11206ce6ccb9 Branch:master (Windows 10) 2016-11-20 22:34:24 WARNING ::MAIN: Failed to locate ffmpeg.exe. Transcoding disabled! 2016-11-20 22:34:24 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ... 2016-11-20 22:34:24 WARNING ::MAIN: Failed to locate ffprobe.exe. Video corruption detection disabled! 2016-11-20 22:34:24 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ... 2016-11-20 22:34:24 DEBUG ::MAIN: Connecting to utorrent: http://localhost:8080/gui/ 2016-11-20 22:34:24 INFO ::MAIN: ######################################################### 2016-11-20 22:34:24 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ## 2016-11-20 22:34:24 INFO ::MAIN: ######################################################### 2016-11-20 22:34:24 DEBUG ::MAIN: Options passed into TorrentToMedia: ['C:\Users\uTorrentVM\nzbToMedia\TorrentToMedia.py', 'C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]', 'Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]', 'sb', '8C90CC733831B28FC8938B6A854A730D40D94198'] 2016-11-20 22:34:24 DEBUG ::MAIN: Adding TORRENT download info for directory C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] to database 2016-11-20 22:34:24 DEBUG ::MAIN: Received Directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] | Name: Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] | Category: sb 2016-11-20 22:34:24 DEBUG ::MAIN: SEARCH: Found the Category: sb in directory structure 2016-11-20 22:34:24 INFO ::MAIN: SEARCH: Found a unique directory Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] in the category directory 2016-11-20 22:34:24 DEBUG ::MAIN: Determined Directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] | Name: Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] | Category: sb 2016-11-20 22:34:25 INFO ::MAIN: Auto-detected SECTION:SickBeard 2016-11-20 22:34:25 DEBUG ::MAIN: Stopping torrent Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] in utorrent while processing 2016-11-20 22:34:25 WARNING ::MAIN: Failed to stop torrent Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] in utorrent 2016-11-20 22:34:25 INFO ::MAIN: Output directory set to: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 DEBUG ::MAIN: Scanning files in directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 DEBUG ::MAIN: Found 1 files in C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 INFO ::MAIN: FLATTEN: Flattening directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 DEBUG ::MAIN: Checking for empty folders in:C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 INFO ::MAIN: Found 1 media files in C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 INFO ::MAIN: Calling SickBeard:sb to post-process:Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:34:25 DEBUG ::SERVER: Attempting to connect to server at http://localhost:5050/sickrage 2016-11-20 22:34:26 DEBUG ::SERVER: Server responded at http://localhost:5050/sickrage 2016-11-20 22:34:26 INFO ::MAIN: Attempting to auto-detect sb fork 2016-11-20 22:34:30 INFO ::MAIN: SickBeard:sb fork auto-detection successful ... 2016-11-20 22:34:30 INFO ::MAIN: SickBeard:sb fork set to sickrage 2016-11-20 22:34:30 POSTPROCESS::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request 2016-11-20 22:34:30 DEBUG ::SICKBEARD: Opening URL: http://localhost:5050/sickrage/home/postprocess/processEpisode with params: {'nzbName': 'Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]', 'proc_type': 'manual', 'quiet': 1, 'failed': 0, 'process_method': 'move', 'proc_dir': 'C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]', 'delete_on': 1} 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Processing folder C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing Path: C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing Dirs: [] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing Files: [u'RARBG.com.txt', u'Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv'] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing VideoFiles: [u'Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv'] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing RarContent: [] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: PostProcessing VideoInRar: [] 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Processing C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv (Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]) 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Retrieving episode object for 1x8 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Snatch history had a quality in it, using that: 1080p WEB-DL 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: SR snatched this episode and it is not processed before 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Is ep a priority download: True 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: There is no existing file so there's no worries about replacing it 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: This download is marked a priority download so I'm going to replace an existing file if I find one 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Found release name Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Destination folder for this episode: T:\Westworld\Season 1 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: No associated files for C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv were found during this pass 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Moving file from C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv to T:\Westworld\Season 1\Westworld S01E08 Trace Decay.mkv 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Processing succeeded for C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg]\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H.264-monkee.mkv 2016-11-20 22:35:06 POSTPROCESS::SICKBEARD: Successfully processed 2016-11-20 22:35:06 DEBUG ::MAIN: Deleting torrent Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] from utorrent 2016-11-20 22:35:06 WARNING ::MAIN: Failed to delete torrent Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] in utorrent 2016-11-20 22:35:06 INFO ::CLEANDIRS: Directory C:\Users\uTorrentVM\Downloads\Complete\sb\Westworld.S01E08.Trace.Decay.1080p.HBO.WEBRip.DD5.1.H264-monkee[rarbg] has been processed, removing ... 2016-11-20 22:35:06 INFO ::MAIN: The C:\Users\uTorrentVM\nzbToMedia\TorrentToMedia.py script completed successfully.

Log end.

Config start.

nzbToMedia Configuration

For more information, visit https://github.com/clinton-hall/nzbToMedia/wiki

[General]

Enable/Disable update notifications

version_notify = 1
# Enable/Disable automatic updates
auto_update = 0
# Set to the full path to the git executable
git_path = ""
# GitHUB user for repo
git_user = ""
# GitHUB branch for repo
git_branch = ""
# Enable/Disable forceful cleaning of leftover files following postprocess 
force_clean = 0
# Enable/Disable logging debug messages to nzbtomedia.log
log_debug = 1
# Enable/Disable logging database messages to nzbtomedia.log
log_db = 0
# Enable/Disable logging environment variables to debug nzbtomedia.log (helpful to track down errors calling external tools.)
log_env = 0
# Enable/Disable logging git output to debug nzbtomedia.log (helpful to track down update failures.)
log_git = 0
# Set to the directory where your ffmpeg/ffprobe executables are located
ffmpeg_path = ""
# Enable/Disable media file checking using ffprobe.
check_media = 1
# Enable/Disable a safety check to ensure we don't process all downloads in the default_downloadDirectories by mistake.
safe_mode = 1

[Posix]

Process priority setting for External commands (Extractor and Transcoder) on Posix (Unix/Linux/OSX) systems.

# Set the Niceness value for the nice command. These range from -20 (most favorable to the process) to 19 (least favorable to the process).
niceness = 0
# Set the ionice scheduling class. 0 for none, 1 for real time, 2 for best-effort, 3 for idle.
ionice_class = 0
# Set the ionice scheduling class data. This defines the class data, if the class accepts an argument. For real time and best-effort, 0-7 is valid data.
ionice_classdata = 0

[CouchPotato]

autoProcessing for Movies

#### movie - category that gets called for post-processing with CPS
[[cp]]
    enabled = 1
    apikey = (REMOVED)
    host = localhost
    port = 2020
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    ssl = 0
    web_root = /couchpotato
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 1
    keep_archive = 0
    method = renamer
    delete_failed = 0
    wait_for = 2
    extract = 0
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 1
    ##### Enable if Couchpotato is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = C:\Users\uTorrentVM\Downloads\Complete\CP
    ##### Set the recursive directory permissions to the following (0 to disable)
    chmodDirectory = 0

[SickBeard]

autoProcessing for TV Series

#### tv - category that gets called for post-processing with SB
[[sb]]
    enabled = 1
    host = localhost
    port = 5050
    username = (REMOVED)
    password = (REMOVED)
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    web_root = /sickrage
    ssl = 0
    fork = auto
    delete_failed = 1
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 1
    keep_archive = 0
    process_method = move
    # force processing of already processed content when running a manual scan.
    force = 0
    # tell SickRage/Medusa to delete all source files after processing.
    delete_on = 1
    # tell Medusa to ignore check for associated subtitle check when postponing release
    ignore_subs = 0
    extract = 0
    nzbExtractionBy = Downloader
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 1
    ##### Enable if SickBeard is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = C:\Users\uTorrentVM\Downloads\Complete\SB
    ##### Set the recursive directory permissions to the following (0 to disable)
    chmodDirectory = 0

[NzbDrone]

autoProcessing for TV Series

#### ndCategory - category that gets called for post-processing with NzbDrone
[[tv]]
    enabled = 0
    apikey = ""
    host = localhost
    port = 8989
    username = ""
    password = ""
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    web_root = ""
    ssl = 0
    delete_failed = 0
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 0
    keep_archive = 1
    extract = 1
    nzbExtractionBy = Downloader
    wait_for = 2
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 0
    ##### Enable if NzbDrone is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = ""

[HeadPhones]

autoProcessing for Music

#### music - category that gets called for post-processing with HP
[[hp]]
    enabled = 1
    apikey = (REMOVED)
    host = localhost
    port = 8181
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    ssl = 0
    web_root = ""
    wait_for = 2
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 1
    keep_archive = 0
    extract = 0
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 1
    ##### Enable if HeadPhones is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = C:\Users\uTorrentVM\Downloads\Complete\HP

[Mylar]

autoProcessing for Comics

#### comics - category that gets called for post-processing with Mylar
[[comics]]
    enabled = 0
    host = localhost
    port = 8090
    username = ""
    password = ""
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    web_root = ""
    ssl = 0
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 0
    keep_archive = 1
    extract = 1
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 0
    ##### Enable if Mylar is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = ""

[Gamez]

autoProcessing for Games

#### games - category that gets called for post-processing with Gamez
[[games]]
    enabled = 0
    apikey = ""
    host = localhost
    port = 8085
    ###### 
    library = Set to path where you want the processed games to be moved to.
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    ssl = 0
    web_root = ""
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 0
    keep_archive = 1
    extract = 1
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 0
    ##### Enable if Gamez is on a remote server for this category
    remote_path = 0
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = ""

[Network]

Enter Mount points as LocalPath,RemotePath and separate each pair with '|'

# e.g. MountPoints = /volume1/Public/,E:\|/volume2/share/,\\NAS\
mount_points = ""

[Nzb]

clientAgent - Supported clients: sabnzbd, nzbget
clientAgent = sabnzbd
###### SabNZBD (You must edit this if your using nzbToMedia.py with SabNZBD)
sabnzbd_host = http://localhost
sabnzbd_port = 3030
sabnzbd_apikey = (REMOVED)
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
default_downloadDirectory = C:\Users\uTorrentVM\Downloads\Complete

[Torrent]

clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other
clientAgent = utorrent
###### useLink - Set to hard for physical links, sym for symbolic links, move to move, move-sym to move and link back, and no to not use links (copy)
useLink = no
###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
outputDirectory = C:\Users\uTorrentVM\Downloads\Complete
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode. 
default_downloadDirectory = C:\Users\uTorrentVM\Downloads\Complete
###### Other categories/labels defined for your downloader. Does not include CouchPotato, SickBeard, HeadPhones, Mylar categories.
categories = music_videos, pictures, software, manual
###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking.
noFlatten = pictures, manual
###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)
uTorrentWEBui = http://localhost:8080/gui/
uTorrentUSR = (REMOVED)
uTorrentPWD = (REMOVED)
###### Transmission (You must edit this if your using TorrentToMedia.py with Transmission)
TransmissionHost = localhost
TransmissionPort = 9091
TransmissionUSR = your username
TransmissionPWD = your password
#### Deluge (You must edit this if your using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui)
DelugeHost = localhost
DelugePort = 58846
DelugeUSR = your username
DelugePWD = your password
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
deleteOriginal = 1
chmodDirectory = 0
resume = 0
resumeOnFailure = 0

[Extensions] compressedExtensions = .zip, .rar, .7z, .gz, .bz, .tar, .arj, .1, .01, .001 mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg, .vob, .iso, .m4v, .ts audioExtensions = .mp3, .aac, .ogg, .ape, .m4a, .asf, .wma, .flac metaExtensions = .nfo, .sub, .srt, .jpg, .gif

[Plex]

Only enter these details if you want to update plex library after processing.

# Do not enter these details if you send the plex notifications from Sickbeard/CouchPotato.
plex_host = localhost
plex_port = 32400
plex_token = ""
plex_ssl = 0
# Enter Plex category to section mapping as Category,section and separate each pair with '|'
# e.g. plex_sections = movie,3|tv,4
plex_sections = ""

[Transcoder]

getsubs. enable to download subtitles.

getSubs = 0
# subLanguages. create a list of languages in the order you want them in your subtitles. 
subLanguages = eng, spa, fra
# transcode. enable to use transcoder
transcode = 0
###### duplicate =1 will create a new file. =0 will replace the original
duplicate = 1
# concat. joins cd1 cd2 etc into a single video.
concat = 1
# IgnoreExtensions is a comma-separated list of extensions that will not be transcoded.
ignoreExtensions = .avi, .mkv, .mp4
# outputFastStart. 1 will use -movflags + faststart. 0 will disable this from being used.
outputFastStart = 0
# outputQualityPercent. used as -q:a value. 0 will disable this from being used.
outputQualityPercent = 0
# outputVideoPath. Set path you want transcoded videos moved to. Leave blank to disable.
outputVideoPath = ""
# processOutput. 1 will send the outputVideoPath to SickBeard/CouchPotato. 0 will send original files.
processOutput = 0
# audioLanguage. set the 3 letter language code you want as your primary audio track.
audioLanguage = eng
# allAudioLanguages. 1 will keep all audio tracks (uses AudioCodec3) where available.
allAudioLanguages = 0
# allSubLanguages. 1 will keep all existing sub languages. 0 will discard those not in your list above.
allSubLanguages = 0
# embedSubs. 1 will embed external sub/srt subs into your video if this is supported.
embedSubs = 1
# burnInSubtitle. burns the default sub language into your video (needed for players that don't support subs)
burnInSubtitle = 0
# extractSubs. 1 will extract subs from the video file and save these as external srt files.
extractSubs = 0
# externalSubDir. set the directory where subs should be saved (if not the same directory as the video)
externalSubDir = ""
# hwAccel. 1 will set ffmpeg to enable hardware acceleration (this requires a recent ffmpeg)
hwAccel = 0
# generalOptions. Enter your additional ffmpeg options here with commas to separate each option/value (i.e replace spaces with commas).
generalOptions = ""
# outputDefault. Loads default configs for the selected device. The remaining options below are ignored.
# If you want to use your own profile, leave this blank and set the remaining options below.
# outputDefault profiles allowed: iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release
outputDefault = ""
#### Define custom settings below.
outputVideoExtension = .mp4
outputVideoCodec = libx264
VideoCodecAllow = ""
outputVideoPreset = medium
outputVideoResolution = 1920:1080
outputVideoFramerate = 24
outputVideoBitrate = 800000
outputVideoCRF = 19
outputVideoLevel = 3.1
outputAudioCodec = ac3
AudioCodecAllow = ""
outputAudioChannels = 6
outputAudioBitrate = 640k
outputAudioTrack2Codec = libfaac
AudioCodec2Allow = ""
outputAudioTrack2Channels = 2
outputAudioTrack2Bitrate = 128000
outputAudioOtherCodec = libmp3lame
AudioOtherCodecAllow = ""
outputAudioOtherChannels = ""
outputAudioOtherBitrate = 128000
outputSubtitleCodec = ""

[WakeOnLan]

set wake = 1 to send WOL broadcast to the mac and test the server (e.g. xbmc) the host and port specified.
wake = 0
host = 192.168.1.37
port = 80
mac = 00:01:2e:2D:64:e1

[UserScript]

Use user_script for uncategorized downloads

#Set the categories to use external script.
#Use "UNCAT" to process non-category downloads, and "ALL" for all defined categories.
[[UNCAT]]
    #Enable/Disable this subsection category
    enabled = 0
    Torrent_NoLink = 0
    keep_archive = 1
    extract = 1
    #Enable if you are sending commands to a remote server for this category
    remote_path = 0
    #What extension do you want to process? Specify all the extension, or use "ALL" to process all files.
    user_script_mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg
    #Specify the path to your custom script. Use "None" if you wish to link this category, but NOT run any external script.
    user_script_path = /nzbToMedia/userscripts/script.sh
    #Specify the argument(s) passed to script, comma separated in order.
    #for example FP,FN,DN, TN, TL for file path (absolute file name with path), file name, absolute directory name (with path), Torrent Name, Torrent Label/Category.
    #So the result is /media/test/script/script.sh FP FN DN TN TL. Add other arguments as needed eg -f, -r
    user_script_param = FN
    #Set user_script_runOnce = 0 to run for each file, or 1 to only run once (presumably on the entire directory).
    user_script_runOnce = 0
    #Specify the successcodes returned by the user script as a comma separated list. Linux default is 0
    user_script_successCodes = 0
    #Clean after? Note that delay function is used to prevent possible mistake :) Delay is intended as seconds
    user_script_clean = 1
    delay = 120
    #Unique path (directory) created for every download. set 0 to disable.
    unique_path = 1
    ##### Set to path where download client places completed downloads locally for this category
    watch_dir = ""

[ASCII]

Set convert =1 if you want to convert any "foreign" characters to ASCII (UTF8) before passing to SB/CP etc. Default is disabled (0).

convert = 0

[passwords]

enter the full path to a text file containing passwords to be used for extraction attempts.

# In the passwords file, every password should be on a new line
PassWordFile = ""

[Custom]

enter a list (comma separated) of Group Tags you want removed from filenames to help with subtitle matching.

# e.g remove_group = [rarbag],-NZBgeek
# be careful if your "group" is a common "real" word. Please report if you have any group replacements that would fall in this category.
remove_group = ""
clinton-hall commented 7 years ago

What version of uTorrent do you have? It looks like you have everything set correctly.

Xenocell12 commented 7 years ago

Hey Clinton. Thank you very much for looking into this. I've honestly thought uTorrent has turned against me and swore I had something wrong but couldn't figure it out.

Anyway, here's the deets.

Version: 3.4.9:42923

Older versions tried: 3.0 (before the bloatware and first trials of remote access through app) I can report the same issue.

I also tried other downloaders unfortunately, they just don't process completely without human intervention.

I'd also like to add I'm running Kaspersky Internet Security (latest) on Windows 10 latest build.

Some new software I'm trying out is IPVANISH using their VPN tool. All of this didn't start until I rebuilt the entire VM and using the newest build of nzbtomedia. I think it was 63 commits behind. (not saying this is a nzbtomedia issue). Also, I wouldn't think killswitch or lan blocking would interfere from IPVANISH. I also have LAN block off in the tool.

I'm turning over the call to you.. Should I rebuild? Or is there other tricks up your sleeve?

Thanks in advance!

clinton-hall commented 7 years ago

I take it normal web browser calls to http://localhost:8080/gui/ work ok? I'm just curious if something else is using 8080 that interferes?

Xenocell12 commented 7 years ago

I see your concern. I took a look at what ports are hooked by certain processes. Didn't look like anything was using it. Though, I decided to use what is already used "port 8090" in the default config in your cfg file. I changed all my programs to call to that port and also changed it in uTorrent. Everything seems to use it correctly. Lets just see torrenttomedia correctly stops the torrent so it knows it can remove it from listing.

I'll keep you posted.

Xenocell12 commented 7 years ago

Ok. Same results. :( Failed to stop. Failed to delete torrent still.

Xenocell12 commented 7 years ago

Rebuilt entire virtual machine. Still says failed to stop and failed to delete torrent. Man. I'm stumped. What torrent program do you recommend then?

Xenocell12 commented 7 years ago

Hello there. I haven't had any luck as of yet. I've given up. Like I said, everything works as processing except for some reason it wont remove the listing from uTorrent. It also shows finished fyi.

Xenocell12 commented 7 years ago

Hello. I've now tried a fresh build now on Windows 8.1 and brand new configs and installs as well.

Same issue. :( Failed to stop torrent, and at the end. Failed to delete torrent.

clinton-hall commented 7 years ago

Are you able to create a test script test.py inside the nzbToMedia folder as per

#!/usr/bin/env python2
# coding=utf-8
import datetime
import os
import sys
import core

from libs.six import text_type
from core import logger, nzbToMediaDB
from core.nzbToMediaUtil import convert_to_ascii, CharReplace, plex_update, replace_links
from core.nzbToMediaUserScript import external_script

core.initialize()
core.TORRENT_CLASS.stop(inputHash)

where inputHash in the last line needs to be replaced by the Hash for an existing Torrent download.

Then run this script python test.py to see what output is shown.

Xenocell12 commented 7 years ago

Hey clinton, apologies. I got the test script ready to go. Just wondering how does one extract hash info of a torrent download within uTorrent? I have a couple lined up. Do you want me to run the script when the torrent state is at finished? Just to be clear. Where (inputHash) is. in between the parenthesis- is that where the hash info would go? I wouldn't just put the torrent name right?

clinton-hall commented 7 years ago

Needs to be hash, not torrent name. This indeed goes between the parenthesis. Yes, run the script when torrent state is finished.

I believe in the webUI for uTorrent, if you click on a torrent and go to properties, it should list the hash....

clinton-hall commented 7 years ago

ok. I think it might depend on the utorrent webUI version. But if you click on the torrent, it should list the details and Hash is included...

Xenocell12 commented 7 years ago

Got it. I'm a dumb dumb. The hash code was right in my face in the regular UI.

Anyway, here's the py file put together. You can check my formating. And I have the post result. It looks like it's not able to find the hash??? Also, I can't copy and paste the hash. Had myself check it and another person check if I put it in right... The torrent state is still Finished, though.

hash check

clinton-hall commented 7 years ago

My apologies. Please put the hash in quotes ("") Can't believe I missed that!

Xenocell12 commented 7 years ago

It's throwing an error, but here's what we got.

capture

clinton-hall commented 7 years ago

Can you confirm that you did the following?

in uTorrent, go to preferences > Advanced > Web UI i. Set a username, password and also set an "alternative listening port" to 8090 (this should correspond with what you filled in to the uTorrentWEBui in the autoProcessMedia.cfg)

Xenocell12 commented 7 years ago

I want to make note that I am also using Kaspersky Internet Security and IPVANISH. Lan is not blocked in IPVANISH, though.

Here's my config. I triple checked my password to utorrent. I also made use the torrent download selection for the nzbtomedia config is set at utorrent as written here. I also confirmed by running connection tests with medusa, and couchpotato.

capture

clinton-hall commented 7 years ago

ok... and now on port 8090, what happens when you run the test.py

Xenocell12 commented 7 years ago

Sorry, this has been the configuration since test. Just showing to confirm.

clinton-hall commented 7 years ago

Ok, when you ran the test, did it log any debug to the nzbToMedia log?

Xenocell12 commented 7 years ago

Here is log.

2017-01-09 07:32:55 INFO ::MAIN: Loading config from [C:\Users\uTorrentVM\nzbToMedia\autoProcessMedia.cfg] 2017-01-09 07:32:55 INFO ::MAIN: Checking database structure... 2017-01-09 07:32:55 DEBUG ::MAIN: Checking Initial Schema database upgrade 2017-01-09 07:32:55 DEBUG ::MAIN: InitialSchema upgrade not required 2017-01-09 07:32:55 DEBUG ::MAIN: Checking if we can use git commands: git version 2017-01-09 07:32:55 DEBUG ::MAIN: Executing git version with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:55 DEBUG ::MAIN: git version : returned successful 2017-01-09 07:32:55 DEBUG ::MAIN: Using: git 2017-01-09 07:32:55 DEBUG ::MAIN: Executing git symbolic-ref -q HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:56 DEBUG ::MAIN: git symbolic-ref -q HEAD : returned successful 2017-01-09 07:32:56 INFO ::MAIN: Checking if git needs an update 2017-01-09 07:32:56 DEBUG ::MAIN: Executing git rev-parse HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:56 DEBUG ::MAIN: git rev-parse HEAD : returned successful 2017-01-09 07:32:56 DEBUG ::MAIN: Executing git fetch origin with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:57 DEBUG ::MAIN: git fetch origin : returned successful 2017-01-09 07:32:57 DEBUG ::MAIN: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:58 DEBUG ::MAIN: git rev-parse --verify --quiet "@{upstream}" : returned successful 2017-01-09 07:32:58 DEBUG ::MAIN: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 07:32:58 DEBUG ::MAIN: git rev-list --left-right "@{upstream}"...HEAD : returned successful 2017-01-09 07:32:58 DEBUG ::MAIN: cur_commit = 66abb2d562aa9491c5c5fad0c228e20a05982fd7 % (newest_commit)= 66abb2d562aa9491c5c5fad0c228e20a05982fd7, num_commits_behind = 0, num_commits_ahead = 0 2017-01-09 07:32:58 INFO ::MAIN: No update needed 2017-01-09 07:32:58 INFO ::MAIN: nzbToMedia Version:66abb2d562aa9491c5c5fad0c228e20a05982fd7 Branch:master (Windows 8.1) 2017-01-09 07:32:58 DEBUG ::MAIN: Connecting to utorrent: http://localhost:8090/gui/

It looks like it halts right when it trys to connect to utorrent. The log however doesn't catch what I see in the command-line here's the screenshot.

Same thing my friend. :(

I wanted to also note that I am using utorrent version 3.4.9 build: 43085

bug

clinton-hall commented 7 years ago

Ok. I just updated this. It appears the utorrent client was updated in 2014!! what I don't understand is why this old versions EVER worked for anyone??

Can you please remove the test.py from nzbToMedia folder, then do a git pull on nightly branch

git pull
git checkout nightly
git pull

to update and then put the test.py file back in and test again.

Xenocell12 commented 7 years ago

That worked!

It was able to connect. stop. and delete torrent.

Now as for my version of utorrent and others who are not reporting issues... There is a BUNCH of people using builds that are ancient right around before they introduced ADS and remote control.

To be honest it may be because of a recent update of utorrent that I grabbed and no one else. There was a lot of controversy with utorrent company because of ties with mpaa or whatever.. All rubbisih in my opinion and utorrent is the most mature torrent application out here. If you turn off the ads. its perfect.

Though, as you and I know- this may break old versions... Maybe its time to treat this as a fork? And have two different version settings if this breaks it?

Here's that sweet complete post process log of proof of success.

I couldn't use the test.py because the data was already processed. Just the torrent listing was left and nzbtomedia didn't proceed further.

2017-01-09 20:56:29 INFO ::MAIN: Loading config from [C:\Users\uTorrentVM\nzbToMedia\autoProcessMedia.cfg] 2017-01-09 20:56:29 INFO ::MAIN: Checking database structure... 2017-01-09 20:56:29 DEBUG ::MAIN: Checking Initial Schema database upgrade 2017-01-09 20:56:29 DEBUG ::MAIN: InitialSchema upgrade not required 2017-01-09 20:56:29 DEBUG ::MAIN: Checking if we can use git commands: git version 2017-01-09 20:56:29 DEBUG ::MAIN: Executing git version with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:29 DEBUG ::MAIN: git version : returned successful 2017-01-09 20:56:29 DEBUG ::MAIN: Using: git 2017-01-09 20:56:29 DEBUG ::MAIN: Executing git symbolic-ref -q HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:30 DEBUG ::MAIN: git symbolic-ref -q HEAD : returned successful 2017-01-09 20:56:30 INFO ::MAIN: Checking if git needs an update 2017-01-09 20:56:30 DEBUG ::MAIN: Executing git rev-parse HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:30 DEBUG ::MAIN: git rev-parse HEAD : returned successful 2017-01-09 20:56:30 DEBUG ::MAIN: Executing git fetch origin with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:32 DEBUG ::MAIN: git fetch origin : returned successful 2017-01-09 20:56:32 DEBUG ::MAIN: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:32 DEBUG ::MAIN: git rev-parse --verify --quiet "@{upstream}" : returned successful 2017-01-09 20:56:32 DEBUG ::MAIN: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in C:\Users\uTorrentVM\nzbToMedia 2017-01-09 20:56:32 DEBUG ::MAIN: git rev-list --left-right "@{upstream}"...HEAD : returned successful 2017-01-09 20:56:32 DEBUG ::MAIN: cur_commit = f6bf26c91ced6edb97322c62aea8999efb08ffc8 % (newest_commit)= f6bf26c91ced6edb97322c62aea8999efb08ffc8, num_commits_behind = 0, num_commits_ahead = 0 2017-01-09 20:56:32 INFO ::MAIN: No update needed 2017-01-09 20:56:32 INFO ::MAIN: nzbToMedia Version:f6bf26c91ced6edb97322c62aea8999efb08ffc8 Branch:nightly (Windows 8.1) 2017-01-09 20:56:33 DEBUG ::MAIN: Connecting to utorrent: http://localhost:8090/gui/ 2017-01-09 20:56:33 INFO ::MAIN: ######################################################### 2017-01-09 20:56:33 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ## 2017-01-09 20:56:33 INFO ::MAIN: ######################################################### 2017-01-09 20:56:33 DEBUG ::MAIN: Options passed into TorrentToMedia: ['C:\Users\uTorrentVM\nzbToMedia\TorrentToMedia.py', 'C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]', 'Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]', 'sb', '531673652BA6F31C029F186E4D3FBC3387B10ECD'] 2017-01-09 20:56:33 DEBUG ::MAIN: Adding TORRENT download info for directory C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] to database 2017-01-09 20:56:33 DEBUG ::MAIN: Received Directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] | Name: Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] | Category: sb 2017-01-09 20:56:33 DEBUG ::MAIN: SEARCH: Found the Category: sb in directory structure 2017-01-09 20:56:33 INFO ::MAIN: SEARCH: Found a unique directory Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] in the category directory 2017-01-09 20:56:33 DEBUG ::MAIN: Determined Directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] | Name: Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] | Category: sb 2017-01-09 20:56:33 INFO ::MAIN: Auto-detected SECTION:SickBeard 2017-01-09 20:56:33 DEBUG ::MAIN: Stopping torrent Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] in utorrent while processing 2017-01-09 20:56:38 INFO ::MAIN: Output directory set to: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 DEBUG ::MAIN: Scanning files in directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 DEBUG ::MAIN: Found 1 files in C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 INFO ::MAIN: FLATTEN: Flattening directory: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 DEBUG ::MAIN: Checking for empty folders in:C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 INFO ::MAIN: Found 1 media files in C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 INFO ::MAIN: Calling SickBeard:sb to post-process:Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:56:38 DEBUG ::SERVER: Attempting to connect to server at http://localhost:5050 2017-01-09 20:56:39 DEBUG ::SERVER: Server responded at http://localhost:5050 2017-01-09 20:56:39 INFO ::MAIN: SickBeard:sb fork set to medusa 2017-01-09 20:56:39 DEBUG ::MAIN: calling command: C:\Users\uTorrentVM\Documents\ffmpeg\bin\ffprobe.exe -v quiet -print_format json -show_format -show_streams -show_error C:\Users\uTorrentVM\nzbToMedia\tests\test.mp4 2017-01-09 20:56:40 INFO ::TRANSCODER: Checking [Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv] for corruption, please stand by ... 2017-01-09 20:56:40 DEBUG ::MAIN: calling command: C:\Users\uTorrentVM\Documents\ffmpeg\bin\ffprobe.exe -v quiet -print_format json -show_format -show_streams -show_error C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv 2017-01-09 20:56:40 INFO ::TRANSCODER: SUCCESS: [Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv] has no corruption. 2017-01-09 20:56:40 POSTPROCESS::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request 2017-01-09 20:56:40 DEBUG ::SICKBEARD: Opening URL: http://localhost:5050/home/postprocess/processEpisode with params: {'nzbName': 'Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]', 'quiet': 1, 'failed': 0, 'process_method': 'move', 'proc_dir': 'C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]', 'delete_on': 1} 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Processing folder C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing Path: C:\Users\uTorrentVM\Downloads\Complete\sb 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing Dirs: [u'Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]'] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing Files: [] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing VideoFiles: [] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing RarContent: 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: PostProcessing VideoInRar: 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Processing folder Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Processing folder C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Found unwanted files: [u'RARBG.com.txt'] 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Processing C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv (Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]) 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: Retrieving episode object for Sister Wives S07E06 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: The episode file has a quality in it, using that: 1080p WEB-DL 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: This episode is not in history. Not marking it as priority 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: This episode is a priority download: False 2017-01-09 20:57:30 POSTPROCESS::SICKBEARD: There is no existing file so there's no worries about replacing it 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Found release name Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Destination folder for this episode: T:\Sister Wives\Season 7 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: No associated files for C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv were found during this pass 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Moving file from C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv to T:\Sister Wives\Season 7\Sister Wives S07E06 Baby Sister Is Born!.mkv 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Processing succeeded for C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg]\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW.mkv 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Deleting file: RARBG.com.txt 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Deleted folder: C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] 2017-01-09 20:57:31 POSTPROCESS::SICKBEARD: Successfully processed 2017-01-09 20:57:31 DEBUG ::MAIN: Deleting torrent Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] from utorrent 2017-01-09 20:57:36 INFO ::CLEANDIR: Directory C:\Users\uTorrentVM\Downloads\Complete\sb\Sister.Wives.S07E06.Baby.Sister.Is.Born.1080p.TLC.WEBRip.AAC2.0.x264-BTW[rarbg] has been processed and removed ... 2017-01-09 20:57:36 INFO ::MAIN: The C:\Users\uTorrentVM\nzbToMedia\TorrentToMedia.py script completed successfully.

I'm leaving this up to you if you want to keep it open. But as for me, it's fixed!

THANK YOU SO MUCH!!!!!! My ocd problems are at ease. :)