Page 1 of 1
NZBGet PP
Posted: 30 Nov 2019, 16:47
by remo
Hello Pros,
I‘ve written a short NZBGet Post-Processing Script which runs pretty well.
But sometimes PP fails with „trying to auto-detect from context“
8 of 10 cases work well.
But sometimes I‘ll get the above message.
The folder depths are equal in any case.
Is there a way to read out the final file including its complete path?
-remo
Re: NZBGet PP
Posted: 30 Nov 2019, 17:14
by rednoah
What does the complete log say?

Please read
How to Request Help.
Re: NZBGet PP
Posted: 30 Nov 2019, 17:50
by remo
Sorry.
Here's my script:
Code: Select all
#!/bin/bash
####################################################################################################
### NZBGET POST-PROCESSING SCRIPT ###
# Run FileBot as post-process after extraction.
# (c) remo 2019
### NZBGET POST-PROCESSING SCRIPT ###
####################################################################################################
FINAL_DIR="$NZBPP_DIRECTORY/$NZBPP_NZBNAME"
filebot -rename "$FINAL_DIR" --format "{plex.name}" -non-strict --lang de -no-xattr --log-file /tmp/fbot.log
if [ $? = 0 ]; then
exit 93 #SUCCESS
else
exit 94 #FAILURE
fi
Log:
Code: Select all
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game - Die Jagd beginnt (2014).mkv]
Skipped [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game - Die Jagd beginnt (2014).mkv] because [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game - Die Jagd beginnt (2014).mkv] already exists
Processed 0 files
Rename episodes using [AniDB]
No media files: [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/biggame.108-sample.mkv]
Failure (×_×)⌒☆
Rename episodes using [AniDB]
No media files: [/media/remonas-nzbget/x264/Watchmen.Die.Waechter.ULTIMATE.CUT.2009.German.AC3D.5.1.DL.1080p.BluRay.x264-PS/Watchmen.Die.Waechter.ULTIMATE.CUT.2009.German.AC3D.5.1.DL.1080p.BluRay.x264-PS/ps-watchmenult.bd108-sample.mkv]
Failure (×_×)⌒☆
remo
Re: NZBGet PP
Posted: 01 Dec 2019, 06:30
by rednoah
1.
The destination file path already exists:
Code: Select all
Skipped [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game - Die Jagd beginnt (2014).mkv] because [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game - Die Jagd beginnt (2014).mkv] already exists

The
--conflict option allows you to decided what to do if source file can't be moved to destination file, because destination file already exists.

You likely have multiple automated tools running. If the destination file already exists, but FileBot didn't create it, then something else did.
2.
-sample files are categorically ignored:
Code: Select all
No media files: [/media/remonas-nzbget/x264/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/Big Game 2014 German DTS DL 1080p BluRay x264-Pate/biggame.108-sample.mkv]