nzbToMedia for NZBGet V11+

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
TTT
Posts: 9
Joined: 08 Aug 2014, 18:16

Re: nzbToMedia for NZBGet V11+

Post by TTT » 09 Aug 2014, 21:55

Yeah it was mainly that the matches were failing, just I like the files named like this too for consistency.

Just saw you had replied while I was typing this, so yeah I was gonna say just the files as well. Don't think the directories would cause any issues anyway as drone seems to handle moving from them if they contain spaces and they would just be deleted after this anyway.

Cheers mate, I'll try and work out how to switch to the nightly branch now and give it a go. Although we already know it works as it's basically the same as the changes I'm running locally.

TTT
Posts: 9
Joined: 08 Aug 2014, 18:16

Re: nzbToMedia for NZBGet V11+

Post by TTT » 09 Aug 2014, 22:44

Ok worked out how to switch and tested with both scenarios (renaming from dirname and download name) and it works fine.

Code: Select all

2014-08-09 23:34:46 INFO    ::EXCEPTION: Replacing file name wdTE6o3gwy5bjwTkZUd8wCGryzRv0rGZigaqW1H with directory name Matador 2014 S01E04 Code Red Card 720p WEB-DL DD5 1 H 264-Oosh
2014-08-09 23:39:08 INFO    ::EXCEPTION: Replacing file name wdTE6o3gwy5bjwTkZUd8wCGryzRv0rGZigaqW1H with download name Matador 2014 S01E04 Code Red Card 720p WEB-DL DD5 1 H 264-Oosh
Only flaw I guess is the logger lines are written before the replace occurs, so it shows the pre-replaced filename.

Thanks again.

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: nzbToMedia for NZBGet V11+

Post by clintonhall » 10 Aug 2014, 00:25

Yeah, I went for the "common" replacement that should have been cleaner, but I forgot about the logging.
https://github.com/clinton-hall/nzbToMe ... 429517ca72

This should tidy it up.

TTT
Posts: 9
Joined: 08 Aug 2014, 18:16

Re: nzbToMedia for NZBGet V11+

Post by TTT » 10 Aug 2014, 00:57

Code: Select all

2014-08-10 01:53:41 DEBUG   ::EXCEPTION: Replacing file name wdTE6o3gwy5bjwTkZUd8wCGryzRv0rGZigaqW1H with directory name Matador.2014.S01E04.Code.Red.Card.720p.WEB-DL.DD5.1.H.264-Oosh
Yeah sorted now. Cheers.

zurdar
Posts: 7
Joined: 03 Sep 2014, 17:06

Re: nzbToMedia for NZBGet V11+

Post by zurdar » 03 Sep 2014, 17:21

Hello,

Tried to use nzbtomedia with CouchPotatoServer but still can't configure it properly. From NZBGet I'm getting following error:

Code: Select all

Wed Sep 03 2014 18:34:31	Post-process-script nzbToMedia\nzbToCouchPotato.py for Insidious.Chapter.2.2013.720p.BluRay.DD5.1.x264-HiDt failed (terminated with unknown status)
and nzbtomedia log is as follows:

Code: Select all

2014-09-03 18:34:23 INFO    ::MAIN: Checking database structure...
2014-09-03 18:34:25 INFO    ::MAIN: Checking if git needs an update
2014-09-03 18:34:31 INFO    ::MAIN: No update needed
2014-09-03 18:34:31 INFO    ::MAIN: nzbToMedia Version:d904aafb99938455e3fed45d70d392eb021f1da8 Branch:master (Windows 7)
2014-09-03 18:34:31 WARNING ::MAIN: Failed to locate ffmpeg.exe, transcoding disabled!
2014-09-03 18:34:31 WARNING ::MAIN: Install ffmpeg with x264 support to enable this feature  ...
2014-09-03 18:34:31 INFO    ::MAIN: #########################################################
2014-09-03 18:34:31 INFO    ::MAIN: ## ..::[nzbToMedia.pyc]::.. ##
2014-09-03 18:34:31 INFO    ::MAIN: #########################################################
2014-09-03 18:34:31 INFO    ::MAIN: Script triggered from NZBGet Version 13.0.
2014-09-03 18:34:31 INFO    ::MAIN: Auto-detected SECTION:CouchPotato
2014-09-03 18:34:31 INFO    ::MAIN: Calling CouchPotato:Movies to post-process:Insidious.Chapter.2.2013.720p.BluRay.DD5.1.x264-HiDt
2014-09-03 18:34:31 INFO    ::MAIN: Attemping imdbID lookup for Insidious.Chapter.2.2013.720p.BluRay.DD5.1.x264-HiDt
2014-09-03 18:34:31 INFO    ::MAIN: Searching folder and file names for imdbID ...
Everything looks to be configured properly and it's still not working. There are also two other scripts active, that are executed before nzbtomedia: ResetDateTime.py, VideoSort.py. VideoSort takes care of any renaming and from nzbtomedia I want only to trigger CouchPotato renamer which then moves files to target folder and notifies XBMC. What more should I check to finally get it to working?

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: nzbToMedia for NZBGet V11+

Post by clintonhall » 03 Sep 2014, 21:37

I think the issue may be using video sort first... If this renames the folder, then it will break the processing by nzbToMedia. Otherwise if it just renamed the file, this should be ok.

Can you manually edit nzbToMedia/autoProcessMedia.cfg
In the section [General] set
log_debug = 1

Then try PostProcessing again (process another)

This will add more logging to the nzbTomedia.log so we can see exactly where it fails.

zurdar
Posts: 7
Joined: 03 Sep 2014, 17:06

Re: nzbToMedia for NZBGet V11+

Post by zurdar » 04 Sep 2014, 04:15

clintonhall wrote:I think the issue may be using video sort first... If this renames the folder, then it will break the processing by nzbToMedia. Otherwise if it just renamed the file, this should be ok.

Can you manually edit nzbToMedia/autoProcessMedia.cfg
In the section [General] set
log_debug = 1

Then try PostProcessing again (process another)

This will add more logging to the nzbTomedia.log so we can see exactly where it fails.
Thanks for your reply. First I'll try do disable VideoSort and check if it helps.

deaerator
Posts: 12
Joined: 30 Jun 2014, 00:30

Re: nzbToMedia for NZBGet V11+

Post by deaerator » 07 Sep 2014, 16:26

I'm trying to use MediaToTorrent.py. I was wondering if there is anything special I should put in that file regarding settings.

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: nzbToMedia for NZBGet V11+

Post by clintonhall » 07 Sep 2014, 22:11

please confirm what you are trying to do:
there is no MediaToTorrent.py... there is a TorrentToMedia.py that can be used with Torrent downloaders, but not with NZBGet.

for details on how to configure TorrentToMedia for Torrents, check out the wiki https://github.com/clinton-hall/nzbToMedia/wiki

mrsmiles
Posts: 5
Joined: 14 Sep 2014, 16:29

Re: nzbToMedia for NZBGet V11+

Post by mrsmiles » 14 Sep 2014, 19:07

I've installed NZBGet, NZBDrone, CouchPotato.
For the past 2 days i've been trying to get these PP Scripts to work and i cant do it, i've gone through the installation and configuration in the wiki but still fail to understand how to get this to work properly at this point im confused....

im probably doing something wrong but i dont know what it is anyways, this explains how i have it setup right now:
http://pastebin.com/zjfRqH32

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests