clinton-hall / nzbToMedia

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

TorrentToMedia not looking in the correct folder #557

Closed fbwr75215 closed 10 years ago

fbwr75215 commented 10 years ago

I have SickRage and Transmission setup on my Ubuntu Server and the TorrentToMedia is not processing the files. The output directory is not correct below. It should be /home/server/downloads... but it is showing /home/downloads/... I have looked in all apps and the directories are setup correctly.

2014-09-09 15:56:19 INFO ::MAIN: Loading config from [/home/server/.nzbToMedia/autoProcessMedia.cfg] 2014-09-09 15:56:19 INFO ::MAIN: Checking database structure... 2014-09-09 15:56:19 INFO ::MAIN: Checking if git needs an update 2014-09-09 15:56:20 INFO ::MAIN: No update needed 2014-09-09 15:56:20 INFO ::MAIN: nzbToMedia Version:d904aafb99938455e3fed45d70d392eb021f1da8 Branch:master (Linux 3.13.0-32-generic) 2014-09-09 15:56:20 WARNING ::MAIN: Failed to locate ffmpeg, transcoding disabled! 2014-09-09 15:56:20 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ... 2014-09-09 15:56:20 WARNING ::MAIN: Failed to locate ffprobe, video corruption detection disabled! 2014-09-09 15:56:20 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature ... 2014-09-09 15:56:20 INFO ::MAIN: ######################################################### 2014-09-09 15:56:20 INFO ::MAIN: ## ..::[TorrentToMedia.py]::.. ## 2014-09-09 15:56:20 INFO ::MAIN: ######################################################### 2014-09-09 15:56:20 INFO ::MAIN: SEARCH: Found torrent directory Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] in input directory directory /home/server/downloads/transmission/complete/tv 2014-09-09 15:56:20 INFO ::MAIN: SEARCH: Setting inputDirectory to /home/server/downloads/transmission/complete/tv/Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] 2014-09-09 15:56:20 INFO ::MAIN: Auto-detected SECTION:SickBeard 2014-09-09 15:56:25 INFO ::MAIN: Output directory set to: /home/downloads/transmission/complete/tv/Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] 2014-09-09 15:56:25 INFO ::MAIN: FLATTEN: Flattening directory: /home/downloads/transmission/complete/tv/Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] 2014-09-09 15:56:25 WARNING ::MAIN: Found no media files in /home/downloads/transmission/complete/tv/Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] 2014-09-09 15:56:25 INFO ::MAIN: Calling SickBeard:tv to post-process:Boardwalk.Empire.S05E01.720p.hdtv.x264-Killers[xRed] 2014-09-09 15:56:25 INFO ::MAIN: Attempting to auto-detect tv fork 2014-09-09 15:56:25 INFO ::MAIN: SickBeard:tv fork auto-detection successful ... 2014-09-09 15:56:25 INFO ::MAIN: SickBeard:tv fork set to sickrage

clinton-hall commented 10 years ago

something appears to be missing in these logs. can't see what isn't happening, but try setting autoProcessMedia.cfg

[General]
    log_debug = 1

this will put more info in logs next time.

as far as directories go, I can see clearly that outputDirectory = /home/downloads

so check

[Torrent]
    outputDirectory

this should either be set to /home/server/downloads/transmission if you dont want to continue seeding or perhaps even /home/server/downloads/transmission/processed if you do want to seed. also set

[Torrent]
    useLink = hard

what concerns me is that this should have worked with output directory set to /home/downloads... so I am curious to see why it didn't move/copy/link the files into this location... did it actually create the /home/downloads directory?

fbwr75215 commented 10 years ago

Ok the one location that was wrong was the outputDirectory. That is what was causing it to go to wrong address. Since I was not running as root it would not create the folder in the /home directory. I updated this and everything is working.

On Tue, Sep 9, 2014 at 5:24 PM, Clinton Hall notifications@github.com wrote:

something appears to be missing in these logs. can't see what isn't happening, but try setting autoProcessMedia.cfg

[General] log_debug = 1

this will put more info in logs next time.

as far as directories go, I can see clearly that outputDirectory = /home/downloads

so check

[Torrent] outputDirectory

this should either be set to /home/server/downloads/transmission if you dont want to continue seeding or perhaps even /home/server/downloads/transmission/processed if you do want to seed. also set

[Torrent] useLink = hard

what concerns me is that this should have worked with output directory set to /home/downloads... so I am curious to see why it didn't move/copy/link the files into this location... did it actually create the /home/downloads directory?

— Reply to this email directly or view it on GitHub https://github.com/clinton-hall/nzbToMedia/issues/557#issuecomment-55038257 .

clinton-hall commented 10 years ago

Ah, yes. Now it makes sense.

Glad it is working, let me know if you encounter any further issues.