Page 1 of 1

request to sanitise file names

Posted: Wed May 23, 2018 11:46 am
by hector
Hi.

First of all, I don't use Kodi. I always download subtitles with a browser through the web interface.

So, I download the zip file, unpack it and....

The filename can be anything. Sometimes it has Chinese characters. I'd like it to be ASCII but that's OK. Usually it contains a lot of crap from every piece of software used to create it. I'd like the name not to contain crap but that's OK. But the worst part (and that's not OK) is that frequently the file extension is BAD. For instance:
https://www.opensubtitles.org/en/subtit ... ic-lamp-ru
contains:
Volshebnaya.lampa.Aladdina.(1966).rus.xvid.mp3.dvd-rip.from.DVD-9.by.Seryi.via.torrent.e2k.ru.by.sop

So, let's analyse it: Film title, year, language. So far, so good. Video format... what do I care? Audio format.... I care even less. And the rest is just crap. But the point here is the ".sop". What the heck is that? Shouldn't it be ".srt"?

So would it be possible to sanitise somehow the file names?

Re: request to sanitise file names

Posted: Fri Jul 20, 2018 1:33 pm
by oss
hi, it is possible and we can do it in new opensubtitles, so user can define filename also, shouldnt be so hard.