Closed speedyflipper closed 6 years ago
Are there any logs from Mylar... the server returned status 404, but I need to see what it didn't like, as it should have passed in the .cbr file to be processed.
I have the same problem but there is no 404 error returned from Mylar. No file is copied to the postprocessing directory, so Mylar has nothing to process.
2017-04-05 23:10:04 INFO ::MAIN: nzbToMedia Version:80c8ad58523ab99825c02f3855f9bd3dc9945d57 Branch:master (Linux 3.10.102)
2017-04-05 23:10:04 DEBUG ::MAIN: Connecting to transmission: http://localhost:9091
2017-04-05 23:10:04 INFO ::MAIN: #########################################################
2017-04-05 23:10:04 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2017-04-05 23:10:04 INFO ::MAIN: #########################################################
2017-04-05 23:10:04 DEBUG ::MAIN: Options passed into TorrentToMedia: ['/volume2/homes/XXXXX/nzbToMedia/TorrentToMedia.py']
2017-04-05 23:10:04 DEBUG ::MAIN: Adding TORRENT download info for directory /volume2/Root/Downloads/Transmission/mylar/comics to database
2017-04-05 23:10:04 DEBUG ::MAIN: Received Directory: /volume2/Root/Downloads/Transmission/mylar/comics | Name: The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr | Category:
2017-04-05 23:10:04 DEBUG ::MAIN: SEARCH: Found Category: comics in directory structure
2017-04-05 23:10:04 INFO ::MAIN: SEARCH: Found torrent file The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr in input directory directory /volume2/Root/Downloads/Transmission/mylar/comics
2017-04-05 23:10:04 INFO ::MAIN: SEARCH: Setting inputDirectory to /volume2/Root/Downloads/Transmission/mylar/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:04 DEBUG ::MAIN: Determined Directory: /volume2/Root/Downloads/Transmission/mylar/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr | Name: The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr | Category: comics
2017-04-05 23:10:05 INFO ::MAIN: Auto-detected SECTION:Mylar
2017-04-05 23:10:05 DEBUG ::MAIN: Stopping torrent The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr in transmission while processing
2017-04-05 23:10:10 INFO ::MAIN: Output directory set to: /volume2/Root/Downloads/Transmission/#nzbtomedia_processing/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 DEBUG ::MAIN: Scanning files in directory: /volume2/Root/Downloads/Transmission/mylar/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 DEBUG ::MAIN: Found 0 files in /volume2/Root/Downloads/Transmission/mylar/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 DEBUG ::MAIN: Checking for archives to extract in directory: /volume2/Root/Downloads/Transmission/mylar/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 INFO ::MAIN: FLATTEN: Flattening directory: /volume2/Root/Downloads/Transmission/#nzbtomedia_processing/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 INFO ::MAIN: Calling Mylar:comics to post-process:The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 DEBUG ::SERVER: Attempting to connect to server at http://localhost:8090/post_process
2017-04-05 23:10:10 DEBUG ::SERVER: Server responded at http://localhost:8090/post_process
2017-04-05 23:10:10 DEBUG ::MYLAR: Opening URL: http://localhost:8090/post_process
Mylar log:
2017-04-05 23:10:10 WARNING There were no files located - check the debugging logs if you think this is in error.
2017-04-05 23:10:10 INFO there are 0 files.
2017-04-05 23:10:10 DEBUG [POST-PROCESSING] Manual Run initiated
2017-04-05 23:10:10 DEBUG [POST-PROCESSING] Not using SABnzbd : Manual Run
2017-04-05 23:10:10 DEBUG [POST-PROCESSING] nzb folder: /volume2/Root/Downloads/Transmission/#nzbtomedia_processing/comics/The Walking Dead 166 (2017) (Digital) (Zone-Empire).cbr
2017-04-05 23:10:10 DEBUG [POST-PROCESSING] nzb name: Manual Run
Nothing in the post processing directory:
# ls -la /volume2/Root/Downloads/Transmission/#nzbtomedia_processing/comics/
total 0
drwxrwx---+ 1 transmission users 0 Apr 5 22:31 .
drwxrwx---+ 1 transmission users 26 Apr 5 22:31 ..
config:
[Mylar]
#### autoProcessing for Comics
#### comics - category that gets called for post-processing with Mylar
[[comics]]
enabled = 1
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 = /volume2/Root/Downloads/Transmission/mylar/comics/
[Torrent]
###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, other
clientAgent = transmission
###### 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 = hard
###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
outputDirectory = "/volume2/Root/Downloads/Transmission/#nzbtomedia_processing"
###### Enter the default path to your default download directory (non-category downloads). this directory is protected by safe_mode.
default_downloadDirectory = ""
###### 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:8090/gui/
uTorrentUSR = your username
uTorrentPWD = your password
###### Transmission (You must edit this if your using TorrentToMedia.py with Transmission)
TransmissionHost = localhost
TransmissionPort = 9091
TransmissionUSR = admin
TransmissionPWD = XXXXX
#### 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 = 0
chmodDirectory = 0
resume = 1
resumeOnFailure = 1
Using latest commit of Mylar master: 32134e796e267cf7aa3004abe4626e4fd61c644a
Looks like nzbtomedia is setting the directory as the full path with the file name included.
@clinton-hall this is still a bug - just tested again today
wow... can't believe I missed this. If I am right, this was so basic and I never should have let it happen.
Anyway, please update to latest nightly and test.
yup that fixed it! awesome, thanks @clinton-hall
I've been having a problem when single files are downloaded. According to log, the directory is being set with the filename appended to the end and then the folder is being searched. Since it was the filename, no files are found and nothing is copied over.
2015-12-23 10:46:21 DEBUG ::MAIN: Options passed into TorrentToMedia: ['D:\NZBGet\scripts\nzbToMedia\TorrentToMedia.py', 'D:\Downloads\Seed', 'Saga 032 (2015) (Digital) (Zone-Empire).cbr', 'Comics', '8EA21DE3F0BF1D15257D9797BC0FF6A71CF6A8CC'] 2015-12-23 10:46:21 DEBUG ::MAIN: Adding TORRENT download info for directory D:\Downloads\Seed to database 2015-12-23 10:46:21 DB ::MAIN: nzbtomedia.db: UPDATE downloads SET status = ?, client_agent = ?, last_update = ?, input_id = ?, input_hash = ?, input_name = ? WHERE input_directory = ? with args [0, u'utorrent', 735955, u'8EA21DE3F0BF1D15257D9797BC0FF6A71CF6A8CC', u'8EA21DE3F0BF1D15257D9797BC0FF6A71CF6A8CC', u'Saga 032 (2015) (Digital) (Zone-Empire).cbr', u'D:\Downloads\Seed'] 2015-12-23 10:46:21 DEBUG ::MAIN: Received Directory: D:\Downloads\Seed | Name: Saga 032 (2015) (Digital) (Zone-Empire).cbr | Category: Comics 2015-12-23 10:46:21 DEBUG ::MAIN: SEARCH: Could not find the category: Comics in the directory structure 2015-12-23 10:46:21 INFO ::MAIN: SEARCH: Found torrent file Saga 032 (2015) (Digital) (Zone-Empire).cbr in input directory directory D:\Downloads\Seed 2015-12-23 10:46:21 INFO ::MAIN: SEARCH: Setting inputDirectory to D:\Downloads\Seed\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:21 DEBUG ::MAIN: Determined Directory: D:\Downloads\Seed\Saga 032 (2015) (Digital) (Zone-Empire).cbr | Name: Saga 032 (2015) (Digital) (Zone-Empire).cbr | Category: Comics 2015-12-23 10:46:21 INFO ::MAIN: Auto-detected SECTION:Mylar 2015-12-23 10:46:21 DEBUG ::MAIN: Stopping torrent Saga 032 (2015) (Digital) (Zone-Empire).cbr in utorrent while processing 2015-12-23 10:46:26 INFO ::MAIN: Output directory set to: D:\Downloads\Finished\Comics\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:26 DEBUG ::MAIN: Scanning files in directory: D:\Downloads\Seed\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:26 DEBUG ::MAIN: Found 0 files in D:\Downloads\Seed\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:26 DEBUG ::MAIN: Checking for archives to extract in directory: D:\Downloads\Finished\Comics\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:26 INFO ::MAIN: FLATTEN: Flattening directory: D:\Downloads\Finished\Comics\Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:26 INFO ::MAIN: Calling Mylar:Comics to post-process:Saga 032 (2015) (Digital) (Zone-Empire).cbr 2015-12-23 10:46:27 DEBUG ::MYLAR: Opening URL: http://localhost:8090/post_process 2015-12-23 10:46:28 ERROR ::MYLAR: Server returned status 404 2015-12-23 10:46:28 ERROR ::MAIN: A problem was reported in the autoProcess* script. If torrent was paused we will resume seeding 2015-12-23 10:46:28 DEBUG ::MAIN: Starting torrent Saga 032 (2015) (Digital) (Zone-Empire).cbr in utorrent 2015-12-23 10:46:33 ERROR ::MAIN: A problem was reported in the D:\NZBGet\scripts\nzbToMedia\TorrentToMedia.py script.