fn:utorrent-postprocess mismatch - The Flowers Of War (2011)

All your suggestions, requests and ideas for future development
Post Reply
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

fn:utorrent-postprocess mismatch - The Flowers Of War (2011)

Post by verysofttoiletpaper »

With conflict mode set to fail:

Code: Select all

Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv
m-tfow-720p.mkv [series: War, movie: Jin ling shi san chai (2011)]
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 (°_°)
ERROR:root:Something happened
With conflict mode set to skip:

Code: Select all

Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv
m-tfow-720p.mkv [series: War, movie: Jin ling shi san chai (2011)]
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Matched [m-tfow-720p.mkv] to [The.Flowers.Of.War.2011.6.English] via filehash
Fetching [The.Flowers.Of.War.2011.6.English.srt]
Export [The.Flowers.Of.War.2011.6.English.srt] as: SubRip / UTF-8
Writing [The.Flowers.Of.War.2011.6.English.srt] to [m-tfow-720p.eng.srt]
Notify XBMC: localhost
ConnectException: Connection refused
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fn:utorrent-postprocess mismatch - The Flowers Of War

Post by rednoah »

That's all because it can't verify it's not that Movies, mainly because it gets the Chinese title back and can't match it. I'll have a look. I assume you're using IMDb? Use TMDB which will always get you English titles.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fn:utorrent-postprocess mismatch - The Flowers Of War

Post by rednoah »

Actually it does seem to work for me. Most importantly because it's been detect as The Flowers of War (2012).

Code: Select all

Input: E:\testdata\Deluge\completed\The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTEm-tfow-720p.mkv
The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTEm-tfow-720p.mkv [series: War, movie: The Flowers of War (2012)]
Exclude Series: War
...
Rename movies using [TheMovieDB]
Looking up movie by filehash via [TheMovieDB]
TheMovieDB: Hash lookup not supported
Auto-detect movie from context: [E:\testdata\Deluge\completed\The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTEm-tfow-720p.mkv]
[TEST] Rename [E:\testdata\Deluge\completed\The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTEm-tfow-720p.mkv] to [Movies\Flowers (2010)\Flowers (2010).mkv]
...
:idea: Please read the FAQ and How to Request Help.
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

You are missing a \ in the path.

Should be:

Code: Select all

Input: E:\testdata\Deluge\completed\The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE\m-tfow-720p.mkv
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

I'm using this command to set the database to TheMovieDB but it keeps getting the same output:

Code: Select all

filebot -script fn:utorrent-postprocess --db TheMovieDB --output /mnt/media/Media --action copy --conflict fail -non-strict -trust-script '-Xxbmc=localhost' '-Xut_dir=/mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv' '-Xut_kind=multi'
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by rednoah »

1. Updated the script to take movie folder names better into account. You can try the script from the SVN but I won't touch any of shared stuff till next release.

2. Cmdline parameters in scripting just serve as defaults that the script may or may not care about. The utorrent script forces TheTVDB/TheMovieDB for episodes/movies respectively because it'll figure out which one to use by itself.
:idea: Please read the FAQ and How to Request Help.
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

Almost there.. it's strange that in the beginning it matches the srt and mkv to different movies.. maybe because of the .eng?

Code: Select all

Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt
Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv
FileNotFoundException: http://filebot.sourceforge.net/scripts/lib/htpc.groovy
m-tfow-720p.eng.srt [series: War, movie: The Flowers of War (2011)]
Exclude Series: War
m-tfow-720p.mkv [series: War, movie: Flowers (2010)]
Exclude Series: War
No missing subtitles
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
No missing subtitles
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/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

removed .eng from .srt and still different matches in the beginning?

Code: Select all

Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv
Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.srt
FileNotFoundException: http://filebot.sourceforge.net/scripts/lib/htpc.groovy
m-tfow-720p.mkv [series: War, movie: Flowers (2010)]
Exclude Series: War
m-tfow-720p.srt [series: War, movie: The Flowers of War (2011)]
Exclude Series: War
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Matched [m-tfow-720p.mkv] to [The.Flowers.Of.War.2011.6.English] via filehash
Fetching [The.Flowers.Of.War.2011.6.English.srt]
Export [The.Flowers.Of.War.2011.6.English.srt] as: SubRip / UTF-8
Writing [The.Flowers.Of.War.2011.6.English.srt] to [m-tfow-720p.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/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
No missing subtitles
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.srt]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.srt] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
Notify XBMC: localhost
MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.invokeScanVideoLibrary() is applicable for argument types: (java.lang.String) values: [localhost]
groovy.lang.MissingMethodException: No signature of method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.invokeScanVideoLibrary() is applicable for argument types: (java.lang.String) values: [localhost]
	at Script3$_run_closure7.doCall(Script3.groovy:106)
	at Script3.run(Script3.groovy:104)
	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 (°_°)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by rednoah »

Sorry, all because the SVN stuff doesn't match what's online.

You'll need to download lib/htpc.groovy as well from the SVN and then include that local file, e.g. include("htpc.groovy")
:idea: Please read the FAQ and How to Request Help.
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

Still, not matching correctly.. and it's exiting cleanly even though --conflict is set to fail

Code: Select all

Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt
Input: /mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv
m-tfow-720p.eng.srt [series: War, movie: The Flowers of War (2011)]
Exclude Series: War
m-tfow-720p.mkv [series: War, movie: Flowers (2010)]
Exclude Series: War
No missing subtitles
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/media/Media/Deluge/completed/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.eng.srt] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
No missing subtitles
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/The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv]
Exception: [The.Flowers.Of.War.2011.LIMITED.720p.BluRay.x264-MELiTE/m-tfow-720p.mkv] Failed to auto-select search result: [The Flowers of War (2011), Flowers (2010), War (2007)]
Notify XBMC: localhost
ConnectException: Connection refused
Notify Plex: localhost
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by rednoah »

Because you still haven't set -non-strict. It's doing what it should be doing in strict mode, don't touch anything if it's not sure.

If -non-strict is set, then I'll have to have a look at that. Worked fine when I ran some tests yesterday.
:idea: Please read the FAQ and How to Request Help.
verysofttoiletpaper
Posts: 141
Joined: 05 Jul 2012, 09:44

Re: fn:utorrent-postprocess mismatch - The Flowers Of War (2

Post by verysofttoiletpaper »

Sweet! it's working now :D
Post Reply