Filebot exits without processing any files

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
techsupport0321
Posts: 9
Joined: 02 Oct 2019, 08:41

Filebot exits without processing any files

Post by techsupport0321 »

Ran in to this issue today. Anyone have any ideas?

I am running filebot 4.8.6 Beta on QNAP with latest JDK13. Ran fine yesterday, did a server restart and now this.

Thanks!

Code: Select all

CmdlineException: Illegal language code: n
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/share/CACHEDEV1_DATA/Multimedia/tmp2/#1 Cheerleader Camp (2010) [R, 3.5, 720p].mp4]
Fetch failed: https://api.themoviedb.org/3/movie/41371?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
net.filebot.InvalidResponseException: Response data is null: movie/41371 => https://api.themoviedb.org/3/movie/41371?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:100)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:86)
	at net.filebot.web.TMDbClient.request(TMDbClient.java:407)
	at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:207)
	at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:196)
	at net.filebot.web.TMDbClient.getMovieDescriptor(TMDbClient.java:180)
	at net.filebot.media.MediaDetection.getLocalizedMovie(MediaDetection.java:711)
	at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:469)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:101)
	at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:370)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1$_run_closure65.doCall(Script1.groovy:402)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1.run(Script1.groovy:364)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:173)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:44)
	at net.filebot.Main.main(Main.java:136)

Failed to retrieve localized movie data: InvalidResponseException: Response data is null: movie/41371 => https://api.themoviedb.org/3/movie/41371?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
Auto-detect movie from context: [/share/CACHEDEV1_DATA/Multimedia/tmp2/$5 a Day (2008) [PG-13, 5.9, 360p].mp4]
Fetch failed: https://api.themoviedb.org/3/movie/4204?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
net.filebot.InvalidResponseException: Response data is null: movie/4204 => https://api.themoviedb.org/3/movie/4204?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:100)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:86)
	at net.filebot.web.TMDbClient.request(TMDbClient.java:407)
	at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:207)
	at net.filebot.web.TMDbClient.getMovieInfo(TMDbClient.java:196)
	at net.filebot.web.TMDbClient.getMovieDescriptor(TMDbClient.java:180)
	at net.filebot.media.MediaDetection.getLocalizedMovie(MediaDetection.java:711)
	at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:469)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:101)
	at net.filebot.cli.ScriptShellBaseClass.rename(ScriptShellBaseClass.java:370)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1$_run_closure65.doCall(Script1.groovy:402)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at Script1.run(Script1.groovy:364)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:173)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:44)
	at net.filebot.Main.main(Main.java:136)

Failed to retrieve localized movie data: InvalidResponseException: Response data is null: movie/4204 => https://api.themoviedb.org/3/movie/4204?language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
Auto-detect movie from context: [/share/CACHEDEV1_DATA/Multimedia/tmp2/$ellebrity (2013) [NR, 5.6, 1080p].mp4]
Fetch failed: https://api.themoviedb.org/3/search/movie?query=%24ellebrity&year=2013&language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
net.filebot.InvalidResponseException: Response data is null: search/movie?query=%24ellebrity&year=2013 => https://api.themoviedb.org/3/search/movie?query=%24ellebrity&year=2013&language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:100)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:86)
	at net.filebot.web.TMDbClient.request(TMDbClient.java:407)
	at net.filebot.web.TMDbClient.searchMovie(TMDbClient.java:129)
	at net.filebot.WebServices$TMDbClient.access$001(WebServices.java:135)
	at net.filebot.WebServices$TMDbClient.lambda$searchMovie$5(WebServices.java:172)

InvalidResponseException: Response data is null: search/movie?query=%24ellebrity&year=2013 => https://api.themoviedb.org/3/search/movie?query=%24ellebrity&year=2013&language=en-US&api_key=1bb965af6888496c30d52a27e831f9c9
Finished without processing any files
Abort
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot exits without processing any files

Post by rednoah »

1.
Your command-line is wrong:

Code: Select all

CmdlineException: Illegal language code: n
:?: What is your command-line call?


2.
TheMovieDB API responded with nothing, either because something was temporarily broken, or because you were temporarily banned, or something along those lines:

Code: Select all

net.filebot.InvalidResponseException: Response data is null
:arrow: Just let it be for a day or two and then try again.
:idea: Please read the FAQ and How to Request Help.
techsupport0321
Posts: 9
Joined: 02 Oct 2019, 08:41

Re: Filebot exits without processing any files

Post by techsupport0321 »

Here is my command line code; it is being called via .sh file

Code: Select all

filebot -script fn:amc /share/CACHEDEV1_DATA/Multimedia/tmp2/ --output /share/CACHEDEV1_DATA/Multimedia/ --action move --conflict auto -non-strict --log-file /share/CACHEDEV1_DATA/Multimedia/tmp1/logs/sort.server.main.1.log --def ut_label=movie subtitles=n music=n artwork=y extras=y clean=n movieFormat=@/share/CACHEDEV1_DATA/Multimedia/tmp1/format3.groovy ;
Here is my groovy code; thanks to you Rednoah

Code: Select all

Movies\
{
	any
	{
		def order = ['Animation': 1, 'Musical': 2, 'Music': 3, 'Foreign': 4, 'Documentary': 5, 'Family': 6, 'History': 7, 'Sport': 8, 'Science Fiction': 9, 'Horror': 10, 'Fantasy': 11, 'War': 12, 'Western': 13, 'Action': 14, 'Comedy': 15, 'Crime': 16, 'Thriller': 17, 'Adventure': 18, 'Mystery': 19, 'Romance': 20, 'Drama': 21].withDefault{ 100 }
		def map = ['Science Fiction': 'Sci-Fi']
		def genres = genres.toSorted{ order[it] }*.replace(map)
		genres.first() 
	}
	{
		'No Genre'
	}
}
/{n} ({y}) [{any{certification}{'Not Rated'}.replace('Not Rated', 'NR').replace('Not Approved', 'NA')}, {any{imdb.rating}{rating}{'NR'}}, {vf}]/{n} ({y}) [{any{certification}{'Not Rated'}.replace('Not Rated', 'NR').replace('Not Approved', 'NA')}, {any{imdb.rating}{rating}{'NR'}}, {vf}]


Being banned would actually make sense, seeing as I have close to 10k movies to organize. Or was trying to organize anyways.

Thoughts?
techsupport0321
Posts: 9
Joined: 02 Oct 2019, 08:41

Re: Filebot exits without processing any files

Post by techsupport0321 »

Out of curiosity, what exactly is banned? IP address? Filebot license? Hypothetically, how would one bypass this issue?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot exits without processing any files

Post by rednoah »

According to the log, api.themoviedb.org is not responding correctly. Not related to FileBot. Could be a temporary server issue on their end. Connecting to the internet via a different public IP could be a solution, or at least something worth testing.

3rd party services are as much a black box to me as they are to you. Anything is possible unless ruled out through experimentation.

I'd start doing curl -v requests and compare the output from different machines from different public IPs. You can also check their website and twitter feed for any current messages about server issues.
:idea: Please read the FAQ and How to Request Help.
Post Reply