filebot crashes if two subtitles exists for the same language

All your suggestions, requests and ideas for future development
Post Reply
User avatar
pu5htiu
Posts: 7
Joined: 24 Jan 2014, 04:53

filebot crashes if two subtitles exists for the same language

Post by pu5htiu »

Code: Select all

filebot -script fn:amc --output "/collection/videos" --log-file amc.log --action symlink --conflict skip --encoding 'UTF-8'  --def subtitles=ro,en --def artwork=y --def unsorted=n .

Code: Select all

Locking /usr/share/filebot/data/logs/amc.log
Run script [fn:amc] at [Mon Nov 13 09:55:33 EET 2017]
Parameter: subtitles = ro,en
Parameter: artwork = y
Parameter: unsorted = n
Argument[0]: /mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina
Input: /mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.eng.srt
Input: /mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.mkv
Input: /mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.ron.srt
Input: /mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.srt
xattr: [Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.eng.srt] => [Valerian and the City of a Thousand Planets (2017)]
xattr: [Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.mkv] => [Valerian and the City of a Thousand Planets (2017)]
Group: [mov:valerian and the city of a thousand planets 2017] => [Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.eng.srt, Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.mkv, Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.ron.srt, Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.srt]
No missing subtitles
No missing subtitles
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.mkv]
[SYMLINK] from [/mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.mkv] to [/home/pu5htiu/webserver/public_html/collection/videos/Movies/Valerian and the City of a Thousand Planets (2017)/Valerian and the City of a Thousand Planets (2017).mkv]
[SYMLINK] from [/mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.eng.srt] to [/home/pu5htiu/webserver/public_html/collection/videos/Movies/Valerian and the City of a Thousand Planets (2017)/Valerian and the City of a Thousand Planets (2017).eng.srt]
[SYMLINK] from [/mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.ron.srt] to [/home/pu5htiu/webserver/public_html/collection/videos/Movies/Valerian and the City of a Thousand Planets (2017)/Valerian and the City of a Thousand Planets (2017).rum.srt]
Processed 3 files
CmdlineException: Failed to process [/mnt/wd500/_Torrentz/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina/Valerian.and.the.City.of.a.Thousand.Planets.2017.1080p.BluRay.x264-HDChina.srt] because [/home/pu5htiu/webserver/public_html/collection/videos/Movies/Valerian and the City of a Thousand Planets (2017)/Valerian and the City of a Thousand Planets (2017).rum.srt] is an exact copy and already exists
Finished without processing any files
Failure (°_°)
this should be a skip, at least for subtitles.
filebot -version

Code: Select all

FileBot 4.7.11 (r5162) / Java(TM) SE Runtime Environment 1.8.0_151 / Linux 4.4.0-98-generic (amd64)
I've had a script renaming srt to ron.srt before passing to filebot to process because in earlier version it did not auto rename srt to ron.srt (seems like it assumes first language from subs - NICE!) so I disabled renaming srt to ron ... but still, it should not break.

Thank you for this awesome tool!
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: filebot crashes if two subtitles exists for the same language

Post by rednoah »

1.
If you process the same folder over and over, then you need to make sure that you aren't processing the same files over and over for no reason.

The --def excludeList option can help you keep track of that. Please read the amc script manual and search for excludeList.


2.
Not sure if --def excludeList would help in this particular case where you have the same file twice. You might need to change your setup. FileBot won't allow you to process the same file to the same destination path, so I recommend getting rid of the *.srt files that are duplicates of the *.ron.srt files.
:idea: Please read the FAQ and How to Request Help.
Post Reply