Page 1 of 1

How to do Batch Upload

Posted: Wed Apr 23, 2025 1:27 pm
by Sam2025
I converted SUP to SRT from bluray movies.

filename_ISO 639-1 [language code]

is there anyway i can upload all subtitle files in one go for selected movies script will auto detect the language name?

Re: How to do Batch Upload

Posted: Wed Apr 23, 2025 3:16 pm
by oss
currently not supported I think anywhere :(

Re: How to do Batch Upload

Posted: Tue May 13, 2025 4:11 pm
by 0pener
Yeah, nice idea.

But then: How to recognize/designate a/any language properly?

Full name as in
https://en.wikipedia.org/wiki/List_of_o ... _territory

2-letter country code as you suggested or as in TLD
https://en.wikipedia.org/wiki/List_of_I ... uage_codes

or 3-Letter
https://en.wikipedia.org/wiki/List_of_I ... uage_codes

Or following subtitleedit into NLLB:
https://github.com/thammegowda/nllb-serve

Also can be a pain when there is serbian or kazakh in either latin or cyrillic, not to mention other countries and their multiple scripts...

Well, the commonly used 2 letters would be probably very prone to errors. Still, nice idea. Perhaps a subset (of safe country codes) would be feasible?

Re: How to do Batch Upload

Posted: Tue May 13, 2025 6:12 pm
by haroldpoi
Hello. I'm currently working on that idea...
But for now, I need to finish and release the Golang OS API wrapper as a starting point. So, stay tuned!

Re: How to do Batch Upload

Posted: Tue May 13, 2025 7:11 pm
by oss
perfect, looking forward, let us know, we can add it to used tools here:

https://opensubtitles.stoplight.io/docs ... es-com-api

(there is some GO wrapper already)