Renaming script issues, help plz

Any questions? Need some help?
Post Reply
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Renaming script issues, help plz

Post by robwiel »

Hi, running 2 scripts with watcher

Code: Select all

#1TVDB screen, fuzzy logic
screen filebot -script "/volume1/Files/filebot/watcher_imp.groovy" -extract -get-subtitles -rename --db TVDB "/volume1/Files/Downloads/bit/TV Shows" --format "{n}/Season {s.pad(2)}/{n}.{s00e00}.{t}" --lang EN --log all --encoding UTF-8 --conflict skip -non-strict --output "/volume1/Files/Media/Video/TV Shows" > /volume1/Files/filebot/output_tv_shows.txt

#2TVDB movies screen, fuzzy logic
screen filebot -script "/volume1/Files/filebot/watcher_imp.groovy" -extract -get-subtitles -rename --db TheMovieDB "/volume1/Files/Downloads/bit/_skonczone" --format "{n} [{y}]/{n}{ CD$pi}" --lang EN --log all --encoding UTF-8 --conflict skip -non-strict --output "/volume1/Files/Media/Video/Movies" > /volume1/Files/filebot/output_movies.txt

Code: Select all

Get [English] subtitles for 1 files
No matching subtitles found: /volume1/Files/Downloads/bit/TV Shows/Once Upon a Time S03E14 HDTV x264-LOL[ettv]/once.upon.a.time.314.hdtv-lol.mp4
Filename pattern: [0.00] SxE, [0.00] CWS
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/Files/Downloads/bit/TV Shows/Once Upon a Time S03E14 HDTV x264-LOL[ettv]/once.upon.a.time.314.hdtv-lol.mp4]
Stripping invalid characters from new path: Once Upon a Time/Season /Once Upon a Time..
Skipped [/volume1/Files/Downloads/bit/TV Shows/Once Upon a Time S03E14 HDTV x264-LOL[ettv]/once.upon.a.time.314.hdtv-lol.mp4] because [/volume1/Files/Media/Video/TV Shows/Once Upon a Time/Season/Once Upon a Time...mp4] already exists
Processed 1 files
Trying iron out 1 last issue, when I download I get proper subfolder name

Code: Select all

Once Upon a Time S03E14 HDTV x264-LOL[ettv]
but filename inside of it frequently is in different coding

Code: Select all

once.upon.a.time.314.hdtv-lol.mp4
As you can see two things go wrong:
1. name and season is not properly recognized, any ideas how to solve it? (if I rename manually to S03E14 it works like charm)
2. For some reason in log I see TheMovieDB and SxE with filename parttern?

Any idea how to either autorename those files before processing : .304.=>S03E04 or make filebot recognize it properly by folder name (not all my shows are in subfolders when downloaded.

Any help is appreciated
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming script issues, help plz

Post by rednoah »

1.
Answer to your question:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100

2.
The reason why you think you're forcing TV-mode when you aren't:
--db TheTVDB and NOT --db TVDB (see filebot -help)

3.
What you should be doing anyway:
Use AMC => http://www.filebot.net/forums/viewtopic.php?f=4&t=215
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Renaming script issues, help plz

Post by robwiel »

Thx, will review toda, did not have much luck with amc yet. Requires fiddling with download station part (transmission) to run after dl.
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Renaming script issues, help plz

Post by rednoah »

If you set transmission to move files to a "completed" folder on complete, then you can use amc in stand-alone mode to just run on said folder once a day or so.
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Renaming script issues, help plz

Post by robwiel »

There are some hints how to add "on-complete" script for Synology Download Station, they are however inaccurate (tried but no success).
http://forum.synology.com/enu/viewtopic ... 38&t=75430

Which in this scenario "script" would be AMC or something I run in screen.

Guess thats you will be doing if you create synology package.

Thanks for TV typo thing, saved me lots of time, apparently I did get movie/tv DB randomly and thats why all my empty "season.." and weird names in TV series.
Post Reply