Movies initially processed as Series?

All your suggestions, requests and ideas for future development
Post Reply
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Movies initially processed as Series?

Post by thielj »

Another observation, not sure what's going on, but there are some movies that are processed slightly different. My guess is that something in the name may be causing some initial processing as a TV show and then it fails to merge the files into a single group?

Anyway, here's what I could gather:

Code: Select all

Input: /volume1/_INPUT_/37,2 Le Matin (1986) [576x320 FR en]/37,2 Le Matin (1986).en.srt
Input: /volume1/_INPUT_/37,2 Le Matin (1986) [576x320 FR en]/37,2 Le Matin (1986).mp4
[...]
37,2 Le Matin (1986).en.srt [series: 37 2 le matin 1986, movie: Betty Blue (1986)]
Exclude Series: 37 2 le matin 1986
[...]
Group: [tvs:null, mov:betty blue 1986] => [37,2 Le Matin (1986).en.srt]
Group: [mov:betty blue 1986] => [37,2 Le Matin (1986).mp4]
Other movies seem to be processing as a batch of files, with the inferred movie first, followed by any auxiliary files. Contrary to that, this one is processing as two single-item batches.

In the first batch, only the .eng.srt is being processed (with the .mp4 file bindings in {media}):

Code: Select all

Rename movies using [TheMovieDB]
Auto-detect movie from context: [/volume1/_INPUT_/37,2 Le Matin (1986) [576x320 FR en]/37,2 Le Matin (1986).eng.srt]
[TEST] from [/volume1/_INPUT_/37,2 Le Matin (1986) [576x320 FR en]/37,2 Le Matin (1986).eng.srt] to [/volume1/_OUTPUT_/Movies/(0-9...)/37°2 le matin; Betty Blue (1986) [576x320 FR en]/37°2 le matin (1986).eng.srt]
Processed 1 files
The second batch contains only the .mp4 file. The .eng.srt file isn't even available in {model}:

Code: Select all

Rename movies using [TheMovieDB]
[TEST] from [/volume1/_INPUT_/37,2 Le Matin (1986) [576x320 FR en]/37,2 Le Matin (1986).mp4] to [/volume1/_OUTPUT_/Movies/(0-9...)/37°2 le matin; Betty Blue (1986) [576x320 FR en]/37°2 le matin (1986).mp4]
Processed 1 files
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movies initially processed as Series?

Post by rednoah »

1.
Looks like the video has been immediately identified as movie immediately, while the subtitle file went through series/movie auto-detection.

I've made some changes that might fix the issue. Please try -script dev:amc to check. Make sure that test files aren't xattr tagged, since that might also identify files as movies.


2.
The easy solution is to use --def ut_label=Movie to immediately force all files into movie mode.
:idea: Please read the FAQ and How to Request Help.
thielj
Posts: 55
Joined: 05 Nov 2017, 22:15

Re: Movies initially processed as Series?

Post by thielj »

There seem to have been at least two dev:amc versions during the day; with the latest, the processing for 37,2 le matin seems to be as expected.

What I'm getting now is occasional errors:

Code: Select all

Looking up subtitles by hash via OpenSubtitles
Lookup by hash failed: The response could not be parsed.
I've tried osdb.explain as well and it looks more like a 503 error / a problem with their backend servers.

Code: Select all

Hash/Tag Lookup (hash: adcd02ca312adb67, size: 968310463, lang: fr_FR, tag: ....deleted......
The response could not be parsed.
redstone.xmlrpc.XmlRpcException: The response could not be parsed.
        at redstone.xmlrpc.XmlRpcClient.handleResponse(Unknown Source)
        at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
        at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
        at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
        at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
        at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
        at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
        at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$2(OpenSubtitlesClient.java:114)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
        at net.filebot.Cache.computeIfAbsent(Cache.java:96)
        at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
        at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:113)
        at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:206)
        at net.filebot.web.OpenSubtitlesClient.getSubtitleListByHash(OpenSubtitlesClient.java:216)
        at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:181)
        at net.filebot.subtitle.SubtitleUtilities.lookupSubtitlesByHash(SubtitleUtilities.java:70)
        at net.filebot.subtitle.SubtitleUtilities$lookupSubtitlesByHash.callStatic(Unknown Source)
        at Script1$_run_closure4.doCall(Script1.groovy:22)
        at Script1.run(Script1.groovy:14)
        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:127)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
        at net.filebot.Main.main(Main.java:111)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: https://api.opensubtitles.org/xml-rpc
        ... 25 more

Failure (°_°)
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Movies initially processed as Series?

Post by rednoah »

Yep, it's probably sending back some plain/text error message about the service being broken, instead of replying with valid XML. AFAIK, it does happen quite often but should work again if you try a few hours / days later.
:idea: Please read the FAQ and How to Request Help.
Post Reply