Page 1 of 1
fn:utorrent-postprocess mismatch: Saving Private Ryan (1998)
Posted: 27 Jul 2012, 01:26
by verysofttoiletpaper
In this case the subtitles are causing the problems. It works fine only with the .avi
Code: Select all
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi
Jul 27, 2012 2:21:40 AM net.sourceforge.filebot.web.TMDbClient getMovies
INFO: Ignore movie [Dirty Dutch 2008 Aftershock]: Missing data: year
Jul 27, 2012 2:21:40 AM net.sourceforge.filebot.web.TMDbClient getMovies
INFO: Ignore movie [Hit the Dutchman]: Missing data: year
Dutch.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Jul 27, 2012 2:21:42 AM net.sourceforge.filebot.web.TMDbClient getMovies
INFO: Ignore movie [Dirty Dutch 2008 Aftershock]: Missing data: year
Jul 27, 2012 2:21:42 AM net.sourceforge.filebot.web.TMDbClient getMovies
INFO: Ignore movie [Hit the Dutchman]: Missing data: year
Exception: Media detection failed
java.lang.Exception: Media detection failed
at Script3$_run_closure5.doCall(Script3.groovy:60)
at Script3.run(Script3.groovy:36)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 27 Jul 2012, 02:17
by rednoah
Fixed, but it'll need FileBot r1163+ and the script from r1163+
I won't update the online stuff until a little while after next release to give people time to update. Later I'll just have to break things for people that didn't update...

Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 27 Jul 2012, 13:53
by verysofttoiletpaper
Thanks! Can the new script be found online?
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 27 Jul 2012, 15:53
by rednoah
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 27 Jul 2012, 17:51
by verysofttoiletpaper
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 28 Jul 2012, 12:05
by rednoah
updated all the stuff in the svn again, now it's included along in the script with some other stuff
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 28 Jul 2012, 23:59
by verysofttoiletpaper
Thanks
It' throwing an error though..
I've installed filebot-2.64-r1175-sths.jar and it works fin with fn:utorrent-postprocess but it fails using the script from HEAD:
Code: Select all
MissingPropertyException: No such property: bindings for class: net.sourceforge.filebot.cli.ArgumentBean
groovy.lang.MissingPropertyException: No such property: bindings for class: net.sourceforge.filebot.cli.ArgumentBean
at Script3.run(Script3.groovy:6)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 00:17
by verysofttoiletpaper
Probably something related with this?
Code: Select all
// filebot -script "fn:utorrent-postprocess" --output "X:/media" --action copy --conflict override --def xbmc=localhost "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_label=%L" "ut_state=%S"
But when I tried this form I got
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 02:23
by rednoah
Sorry, things are workin progress right now... been rewriting some stuff and decided to change that ugly -Xname=val syntax while I'm at it. It's now --def a=1 b=2 c=3 ...
Uploaded r1178 which should work with the latest script from SVN.
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 03:18
by verysofttoiletpaper
Bingo, but.. Now it matches the subtitles movie correctly but still tries to fetch new subltitles, and then some confusion in the end.
Besides it's complaining about missing
http://filebot.sourceforge.net/scripts/lib/htpc.groovy
Code: Select all
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi
FileNotFoundException: http://filebot.sourceforge.net/scripts/lib/htpc.groovy
Dutch.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
English.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Lookup by hash failed: java.lang.IllegalStateException: Sublight login has not been configured
Searching for [Private Ryan, Ryan, Saving Private Ryan] at [OpenSubtitles]
Matched [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi] to [Saving Private Ryan [1998]] via filename
Fetching [Saving Private Ryan [1998].srt]
Export [Saving Private Ryan [1998].srt] as: SubRip / UTF-8
Writing [Saving Private Ryan [1998].srt] to [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.eng.srt]
Rename movies using [TheMovieDB]
Looking up movie by filehash via [TheMovieDB]
TheMovieDB: Hash lookup not supported
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt]
Exception: [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Dutch.srt] Failed to auto-select search result: [Saving Private Ryan (1998), Private Ryan (1998), Dutch (1991), In Dutch (1946), Dutch Treat (1987), Dutch Girls (1985), Alice Gets in Dutch (1924), Dutchman (1967), Pandora and the Flying Dutchman (1951), Andre Rieu - The Flying Dutchman (2005)]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt]
Exception: [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/English.srt] Failed to auto-select search result: [Saving Private Ryan (1998), Private Ryan (1998), An A to Z of English (1995), The English Patient (1996), A Rather English Marriage (1999), English Vinglish (2012), Johnny English (2003), Broken English (2007), Two English Girls (1971), Pure English Murder (1974), Brainy Baby English (2004), Johnny English Reborn (2011), Please Teach Me English (2003), Mad Dogs And Englishmen (1995), The Englishman Who Went Up a Hill But Came Down a Mountain (1995), The Romantic Englishwoman (1975), Mad Dogs & Englishmen (1971), An Englishman Abroad (1983), An Englishman in New York (2009), Thomas Paine: The Most Valuable Englishman Ever (1982), Deserter (2002), How to Kill Your Neighbor's Dog (2000)]
[COPY] Rename [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi] to [/mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998).avi]
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 04:32
by verysofttoiletpaper
With htpc fixed, still problems with the subtitles:
Code: Select all
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi
Dutch.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
English.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Lookup by hash failed: java.lang.IllegalStateException: Sublight login has not been configured
Searching for [Private Ryan, Ryan, Saving Private Ryan] at [OpenSubtitles]
Matched [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi] to [Saving Private Ryan [1998]] via filename
Fetching [Saving Private Ryan [1998].srt]
Export [Saving Private Ryan [1998].srt] as: SubRip / UTF-8
Writing [Saving Private Ryan [1998].srt] to [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.eng.srt]
Rename movies using [TheMovieDB]
Looking up movie by filehash via [TheMovieDB]
TheMovieDB: Hash lookup not supported
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt]
Exception: [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Dutch.srt] Failed to auto-select search result: [Saving Private Ryan (1998), Private Ryan (1998), Dutch (1991), In Dutch (1946), Dutch Treat (1987), Dutch Girls (1985), Alice Gets in Dutch (1924), Dutchman (1967), Pandora and the Flying Dutchman (1951), Andre Rieu - The Flying Dutchman (2005)]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt]
Exception: [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/English.srt] Failed to auto-select search result: [Saving Private Ryan (1998), Private Ryan (1998), An A to Z of English (1995), The English Patient (1996), A Rather English Marriage (1999), English Vinglish (2012), Johnny English (2003), Broken English (2007), Two English Girls (1971), Pure English Murder (1974), Brainy Baby English (2004), Johnny English Reborn (2011), Please Teach Me English (2003), Mad Dogs And Englishmen (1995), The Englishman Who Went Up a Hill But Came Down a Mountain (1995), The Romantic Englishwoman (1975), Mad Dogs & Englishmen (1971), An Englishman Abroad (1983), An Englishman in New York (2009), Thomas Paine: The Most Valuable Englishman Ever (1982), Deserter (2002), How to Kill Your Neighbor's Dog (2000)]
Exception: File already exists: /mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998).avi
NullPointerException: Cannot invoke method mapByFolder() on null object
java.lang.NullPointerException: Cannot invoke method mapByFolder() on null object
at Script3$_run_closure6.doCall(Script3.groovy:93)
at Script3.run(Script3.groovy:67)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 06:40
by rednoah
1. In strict mode it won't fetch subtitles when it's not sure what movie/series to select. You can set -non-strict to just select everything end let it figure things out later.
But it's soo many options, looks like it's detecting possible movie names from those subtitles folders... fixed that with r1180.
2. Changed how scripts are resolved to better work with relative includes inside the first script.
btw with r1180+ you can do this to work with the latest script from the svn:
filebot -clear svn:utorrent-postprocess ...
3. I'm letting the script crash if --conflict fail is set. Otherwise it wouldn't let that NullPointerException happen.
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 29 Jul 2012, 15:13
by verysofttoiletpaper
Working now, but still not taking advantage of existing subtitles. It interprets them as CD1 and CD2 subs..
Code: Select all
filebot -script "/mnt/media/Media/filebot/utorrent-postprocess.groovy" --output "/mnt/media/Media" --action copy --conflict fail -non-strict -trust-script --def xbmc=localhost "ut_dir=/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON" "ut_kind=multi"
Parameter: xbmc = localhost
Parameter: ut_dir = /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON
Parameter: ut_kind = multi
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt
Input: /mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi
Dutch.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
English.srt [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi [series: Ryan, movie: Saving Private Ryan (1998)]
Exclude Series: Ryan
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Lookup by hash failed: java.lang.IllegalStateException: Sublight login has not been configured
Searching for [Private, Private Ryan, Ryan, Saving Private Ryan] at [OpenSubtitles]
Matched [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi] to [Saving Private Ryan [1998]] via filename
Fetching [Saving Private Ryan [1998].srt]
Export [Saving Private Ryan [1998].srt] as: SubRip / UTF-8
Writing [Saving Private Ryan [1998].srt] to [Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.eng.srt]
Rename movies using [TheMovieDB]
Looking up movie by filehash via [TheMovieDB]
TheMovieDB: Hash lookup not supported
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt]
[COPY] Rename [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.avi] to [/mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998).avi]
[COPY] Rename [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON.eng.srt] to [/mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998).eng.srt]
[COPY] Rename [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/Dutch.srt] to [/mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998) CD1.dut.srt]
[COPY] Rename [/mnt/media/Media/Deluge/completed/Saving.Private.Ryan.1998.720p.BRRip.XviD.AC3-ViSiON/SUBS/English.srt] to [/mnt/media/Media/Movies/Saving Private Ryan (1998)/Saving Private Ryan (1998) CD2.eng.srt]
Processed 4 files
Re: fn:utorrent-postprocess mismatch: Saving Private Ryan (1
Posted: 30 Jul 2012, 09:43
by rednoah
Can't be helped. Those subs don't match the movie file.
Like this they're treated as subs without video. Just happens to work out this way in this case.