Page 1 of 1

Automated Media Center - How Two Subtitles For Same Media

Posted: 17 Dec 2015, 20:45
by Osodarck
Hi There!

First I would like to thanks for the great application!... So thanks!

My environment:
- Windows 10 64bits
- Filebot 64bits
- Utorrent Integration using the Automated Media Center viewtopic.php?f=4&t=215 thanks to rednoah

I started using it today and I need some help on how manage subtitles to work with Plex:

What I want: To have two subtitles for each media file (One in Brazilian Portuguese and other in English), example of what I want:
Game Of Thrones - S01E10.mkv
Game Of Thrones - S01E10.por.srt
Game Of Thrones - S01E10.eng.mkv


What is happening: Can't have two subtitles files, Filebot is always mantaining the first requested subtitle:

My Utorrent Run Program line:

Code: Select all

filebot.launcher.exe -script fn:amc --output "K:\Users\Kleder Osodarck\Videos" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y subtitles=pb,en excludeList=amc.txt plex=127.0.0.1:g67p9WRn87KSDunhJtxX "seriesFormat=/Series/{n}/{'Season '+s}/{n} - {s00e00}" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --log-file amc.log
And What happens to the files:
Game Of Thrones - S01E10.mkv
Game Of Thrones - S01E10.srt
(this is the brazilian portuguese subtitle)


If I change the command line to:

Code: Select all

subtitles=en,pb
I get only the english subtitle.

When I took a look on amc.log file I found the following lines:

Code: Select all

...
[COPY] Rename [K:\Users\Kleder Osodarck\Downloads\Utorrent\Complete\Gotham.S02E11.720p.HDTV.X264-DIMENSION[rarbg]\Gotham.S02E11.720p.HDTV.X264-DIMENSION.eng.srt] to [K:\Users\Kleder Osodarck\Videos\Series\Gotham\Season 2\Gotham - S02E11.srt]
Skipped [K:\Users\Kleder Osodarck\Downloads\Utorrent\Complete\Gotham.S02E11.720p.HDTV.X264-DIMENSION[rarbg]\Gotham.S02E11.720p.HDTV.X264-DIMENSION.pob.srt] because [K:\Users\Kleder Osodarck\Videos\Series\Gotham\Season 2\Gotham - S02E11.srt] already exists
...
So the question is: What I need to do for it to rename the brazilian portuguese subtitle to Gotham - S02E11.por.srt and the english subtitle to Gotham - S02E11.eng.srt and put both files together with the media file?
I just need this to have a fully automated download and organization of my tv shows, any help will be much appreciated

Re: Automated Media Center - How Two Subtitles For Same Medi

Posted: 17 Dec 2015, 21:23
by rednoah
Your custom format doesn't allow for subtitle files with different language tags. Just remove the --def seriesFormat option and let the default format do it's job.

If you compare your format to the default format, you'll probably find out why yours doesn't work. ;)

Re: Automated Media Center - How Two Subtitles For Same Medi

Posted: 17 Dec 2015, 22:58
by Osodarck
Got it! Thanks! I will try and let you know :-)

Re: Automated Media Center - How Two Subtitles For Same Medi

Posted: 17 Dec 2015, 23:03
by Osodarck
Osodarck wrote:Got it! Thanks! I will try and let you know :-)

Just didi it! Utorrent finished another download and it worked like a charm! I'll just change my tv show library folder at Plex and that will do the trick! Thanks again! :D