[Resolved] Adding language information to subtitle srt file
Posted: 04 Aug 2015, 23:08
System Info: Windows 10, Filebot v 4.6, Java 8 Update 51
Groovy Pad runScript 'fn:sysinfo' output
Background
I have some TV episodes that I downloaded with included subtitle .srt files. I renamed the video files using this naming scheme from the stickied thread:
I got the lang media file not found error so I went to the FAQ, and pointed it at a .srt I had downloaded for a different show from OpenSubtitles through Filebot. However, if I then pointed it at the srt I wanted to use for the new show, I now get a lang undefined error. I don't totally understand what the bindings mean, but I am guessing that this means that the srt file I have doesn't have any language metadata associated with it, so when I try to rename it using the above scheme it just names it the same thing as the video file. This is a problem because I have the srts in multiple languages and because I also want to try and abide by Plex's naming conventions.

I wanted to use these existing srts in the first place because I could not find them on OpenSubtitles.
So then I decided to try and upload them to OpenSubtitles, and then I could redownload them and then maybe the language metadata would be populated and I could rename them properly. I dragged the video files and srts onto the up arrow in subtitles, then selected Game of Thrones as the show in the left column, but they still don't appear when I try to download again. How can I fix the missing lang info in these files?
Groovy Pad runScript 'fn:sysinfo' output
Code: Select all
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Runtime Environment 1.8.0_51
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 67 MB Used Memory
OS: Windows 8.1 (amd64)
I have some TV episodes that I downloaded with included subtitle .srt files. I renamed the video files using this naming scheme from the stickied thread:
Code: Select all
B:/Plex Media/TV Shows/{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}{'.'+lang}

I wanted to use these existing srts in the first place because I could not find them on OpenSubtitles.
