Page 1 of 1
AMC detect all movies as series
Posted: 23 Jun 2014, 15:58
by Roudaille77
Hello,
since 4.1, AMC don't detect my movies anymore.
For example, the following command :
Code: Select all
./filebot.sh -script fn:amc --output /tmp --action copy -non-strict --lang fr --encoding utf8 --conflict fail "/mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv" --def music=n artwork=n subtitles=n "seriesFormat=Series/{n}/{sxe} - {t}" "movieFormat=Films/{n} ({y}){'-CD'+pi}"
give this result :
Code: Select all
Parameter: music = n
Parameter: artwork = n
Parameter: subtitles = n
Parameter: seriesFormat = Series/{n}/{sxe} - {t}
Parameter: movieFormat = Films/{n} ({y}){'-CD'+pi}
Argument: /mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
Input: /mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: www Cpasbien pe Joe, movie: null]
Group: [tvs:www cpasbien pe joe, mov:null, anime:null] => [[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
java.lang.Exception: Illegal language code: n
Rename episodes using [TheTVDB]
Auto-detected query: [www Cpasbien pe Joe]
Failed to fetch episode data: [www Cpasbien pe Joe]
java.lang.Exception: Unable to match files to episode data
Failed to rename series: www cpasbien pe joe
Failure (°_°)
I guess the prefix [
www.Cpasbien.pe] causes the problem.
Any idea ?
Re: AMC detect all movies as series
Posted: 23 Jun 2014, 16:10
by rednoah
Unable to confirm:
Code: Select all
Input: D:\workspace\testdata\AMC-TEST\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: www Cpasbien pe Joe, movie: Joe (2013)]
Exclude Series: www Cpasbien pe Joe
Group: [tvs:null, mov:joe 2013, anime:null] => [[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\workspace\testdata\AMC-TEST\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
[COPY] Rename [D:\workspace\testdata\AMC-TEST\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv] to [D:\workspace\output\Movies\Joe (2013)\Joe (2013).mkv]
Processed 1 files
Re: AMC detect all movies as series
Posted: 23 Jun 2014, 16:19
by Roudaille77
My sysinfo log :
Code: Select all
FileBot 4.1 (r2268)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/home/pi/scripts/filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.3.2
JRE: Java(TM) SE Runtime Environment 1.8.0 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
OS: Linux (arm)
uname: Linux raspberrypi 3.12.22-1-ARCH #1 PREEMPT Tue Jun 17 16:19:34 MDT 2014 armv6l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Can I do some tests ?
Re: AMC detect all movies as series
Posted: 23 Jun 2014, 17:37
by rednoah
You could try along the same advice I gave on this thread:
http://www.filebot.net/forums/viewtopic ... 254#p10242
Re: AMC detect all movies as series
Posted: 23 Jun 2014, 20:17
by Roudaille77
The script :
Code: Select all
println MediaDetection.releaseInfo.getMovieList().size()
println MediaDetection.releaseInfo.getTheTVDBIndex().size()
println WebServices.TheMovieDB.searchMovie('Joe 2013', Locale.FRENCH)
println "*****"
println WebServices.TheMovieDB.searchMovie('Joe', Locale.FRENCH)
println "*****"
println detectMovie('''/mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv''' as File, false)
give this output :
Code: Select all
46815
9404
[Joe (2013), Joe (1970), Joe's Bed-Stuy Barbershop: We Cut Heads (1983), Smokin Joe Kubek/Bnois King - My Heart's in Texas (2006), Joe Bonamassa - Tour de Force - Live in London Night 2 (Shepherd's Bush Empire) (2013), Joe l'implacabile (1967), Joe Gould's Secret (2000), Joe Maddison's War (2010), Joe's Apartment (1996), Joe's Palace (2007), Joe's Apt. (1992), Beom-joe-so-nyeon (2012), Joe Bonamassa - Live at Nurnberg (2013), Joe Camilleri: Australia's Maltese Falcon (2012), Joe Jackson - Live in Tokyo (2001), Joe Cocker - Live at Montreux 1987 (2005), Joe Cocker - Cry Me a River (2008), The Joe Gans-Battling Nelson Fight (1906), Joe Cocker - Fire It Up Live (2013)]
*****
[Joe (2013), Joe (1970), Joe's Bed-Stuy Barbershop: We Cut Heads (1983), Smokin Joe Kubek/Bnois King - My Heart's in Texas (2006), Joe Bonamassa - Tour de Force - Live in London Night 2 (Shepherd's Bush Empire) (2013), Joe l'implacabile (1967), Joe Gould's Secret (2000), Joe Maddison's War (2010), Joe's Apartment (1996), Joe's Palace (2007), Joe's Apt. (1992), Beom-joe-so-nyeon (2012), Joe Bonamassa - Live at Nurnberg (2013), Joe Camilleri: Australia's Maltese Falcon (2012), Joe Jackson - Live in Tokyo (2001), Joe Cocker - Live at Montreux 1987 (2005), Joe Cocker - Cry Me a River (2008), The Joe Gans-Battling Nelson Fight (1906), Joe Cocker - Fire It Up Live (2013)]
*****
null
Done ヾ(@⌒ー⌒@)ノ
Re: AMC detect all movies as series
Posted: 23 Jun 2014, 20:23
by Roudaille77
With this line (without the prefix) :
Code: Select all
println detectMovie('''/mnt/freebox/ext_hdd/.downloads/Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv''' as File, false)
The script finds the movie !
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 02:33
by rednoah
Then I'm out of ideas. These are the functions that are used in the amc script, and if they work it can't not work.
If you can really reproduce this every single time, you try debugging the amc script (just clone from GitHub). It's pretty complicated, but other than that I'm out of options.
According to your logs mov is null in your case, but it can't be according to the tests you ran:
Code: Select all
def tvs = detectSeriesName(f, true, false)
def mov = detectMovie(f, false)
log.fine("$f.name [series: $tvs, movie: $mov]")
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 08:05
by Roudaille77
The script :
Code: Select all
def f = new File('/mnt/freebox/ext_hdd/.downloads/[www.Cpasbien] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv')
def tvs = detectSeriesName(f, true, false)
def mov = detectMovie(f, false)
log.fine("$f.name [series: $tvs, movie: $mov]")
produces :
Code: Select all
[www.Cpasbien] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: www Cpasbien Joe, movie: Joe (2013)]
Done ヾ(@⌒ー⌒@)ノ
If I change the file name with :
def f = new File('/mnt/freebox/ext_hdd/.downloads/[www.Cpasbien
.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv')
I obtain :
Code: Select all
[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: Joe, movie: null]
Done ヾ(@⌒ー⌒@)ノ
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 08:17
by rednoah
I've added www.**.pe to the blacklist, even though it works for me without. Try doing filebot -clear-cache once.
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 08:43
by Roudaille77
I am not sure to understand, do you want I run a clear-cache, and then execute the test script again ?
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 09:04
by Roudaille77
So, I have done the clear-cache and re-run amc. Now the movie is detected as a.... serie
Code: Select all
Parameter: music = n
Parameter: artwork = n
Parameter: subtitles = n
Parameter: seriesFormat = Series/{n}/{sxe} - {t}
Parameter: movieFormat = Films/{n} ({y}){'-CD'+pi}
Argument: /mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
Input: /mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: Joe, movie: null]
Group: [tvs:joe, mov:null, anime:null] => [[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
java.lang.Exception: Illegal language code: n
Rename episodes using [TheTVDB]
Auto-detected query: [Joe]
Fetching episode data for [Joë]
Fetching episode data for [Joe]
Fetching episode data for [Joey]
Fetching episode data for [Joe 90]
Fetching episode data for [Joe & Jack]
[TEST] Rename [/mnt/freebox/ext_hdd/.downloads/[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv] to [/tmp/Series/Joe/2x13 - The Tange Gym... Is Indestructable.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 10:19
by rednoah
I just can't seem to reproduce the issue... something must be different:
Code: Select all
Input: D:\workspace\testdata\AMC-TEST\mnt\freebox\ext_hdd\downloads\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv
[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv [series: Joe, movie: Joe (2013)]
Exclude Series: Joe
Group: [tvs:null, mov:joe 2013, anime:null] => [[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\workspace\testdata\AMC-TEST\mnt\freebox\ext_hdd\downloads\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv]
[COPY] Rename [D:\workspace\testdata\AMC-TEST\mnt\freebox\ext_hdd\downloads\[www.Cpasbien.pe] Joe.2013.LIMITED.FRENCH.720p.BluRay.x264-LOST.mkv] to [D:\workspace\output\Movies\Joe (2013)\Joe (2013).mkv]
Processed 1 files
That one
def mov = detectMovie(f, false) call returns null in your case. No idea what to do. Maybe you can just try random things and see if it can work somehow? In a 100% clean environment it should work.
Have you tried running
filebot -script fn:xattr <file> on that file and see if there's any output?
EDIT: I might have found something. Try
r2271.
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 11:37
by Roudaille77
I can confirm : you have found something
No more problem with r2271 !
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 16:30
by ZAKhan
Where do I download r2271 for ubuntu (64bit), sf repo still has the FileBot 4.1 (r2245) (64bit)
Re: AMC detect all movies as series
Posted: 24 Jun 2014, 16:43
by rednoah
See FAQ. You need to replace the jar.