FORUMS
Remove All Ads from XDA

[Feature Request] SMB Support for Multiple Language External Subs

87 posts
Thanks Meter: 11
 
By f3bruary, Member on 29th December 2014, 04:29 PM
Post Reply Email Thread
I couldn't find this request on the forums so I'm posting it myself. I would like to see the ability for MX player to detect subtitles based on the language code. Both 3 letter and 2 letter codes would be ideal. E.g. movie.nl.srt or movie.dut.srt (both dutch).

Right now I have multiple subtitles and when I play a video it loads (what seems to be) a random one, but only one and ignores the rest.
 
 
30th December 2014, 06:56 AM |#2  
CDB-Man's Avatar
Senior Member
Thanks Meter: 250
 
More
You can't find the feature request, because the feature already exists!

Settings -> Subtitle -> Preferred subtitle language

Enter the ISO 2 letter code.
30th December 2014, 01:24 PM |#3  
OP Member
Thanks Meter: 11
 
More
Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.

Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt

Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.

I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.
31st December 2014, 08:44 PM |#4  
CDB-Man's Avatar
Senior Member
Thanks Meter: 250
 
More
Aside from the file name, in the media info of these subtitle files, does the meta data have language flags set?
31st December 2014, 09:58 PM |#5  
OP Member
Thanks Meter: 11
 
More
What do you mean ? the video file doesn't have any internal subs. All externall srt's.
1st January 2015, 10:02 AM |#6  
CDB-Man's Avatar
Senior Member
Thanks Meter: 250
 
More
Quote:
Originally Posted by f3bruary

Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.

Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt

Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.

I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.

@bleu8888 could you take a look at MX's behaviour for external language subs?
1st January 2015, 04:46 PM |#7  
Senior Member
Thanks Meter: 320
 
More
Quote:
Originally Posted by f3bruary

Well it seems to work a bit weird. I'd like it to parse every subtitle in the main folder based upon language code. Right now it just picks one randomly it seems.

Example: (main folder contains movie.mp4, movie.nl.srt and movie.en.srt

Scenario 1: The preferred subtitle language is blank. > It picks a random subtitle.
Scenario 2: The preferred subtitle language is en, nl > It picks English and nothing else.
Scenario 3: The preferred subtitle language is nl, en > It picks English again, and nothing else.
Scenario 4: The preferred subtitle language is nl > It picks Dutch and nothing else.

I'd like it to detect both and give me the choice to pick/switch during playback by pressing the subtitle icon.

I've checked again but can't reproduce it.
Did you resume from previous playback?
And then last selected subtitles will be used. You should start over a new video to load correct subtitle.
1st January 2015, 04:59 PM |#8  
OP Member
Thanks Meter: 11
 
More
I don't 'resume from playback'. When I tested, I closed MX Player then replayed the movie (from start). When 'Preferred subtitle language' is empty, it usually picks the english one, possibly because of the alphabetical order ('en' comes before 'nl'). Nevertheless, it always only loads 1 subtitle.

This isn't the case with mkv's which have internal subs. These show all available subtitle when I hit the subtitle icon during playback. It even has the proper language name. (English, Dutch, Whatever).

But with external srt files there is alway only 1 loaded and when I click the subtitle icon it shows that 'movie.srt' is loaded (notice it has ommited the language tag from the filename)

I use ES File Explorer to open the files. File location is a local samba share. My device is a Moto Razr I (xt890) and I have the x86 codec pack installed and also using the latest custom codec pack from the forums.
4th January 2015, 05:24 AM |#9  
CDB-Man's Avatar
Senior Member
Thanks Meter: 250
 
More
Quote:
Originally Posted by f3bruary

File location is a local samba share.

Just curious, does the issue occur if all the external .srt are stored directly on the phone?
The Following User Says Thank You to CDB-Man For This Useful Post: [ View ] Gift CDB-Man Ad-Free
4th January 2015, 11:30 AM |#10  
OP Member
Thanks Meter: 11
 
More
I just tested it by copying 3 files to my internal drive. It seems to work fine ! Even when 'Preferred Subtitles Language' is empty. It detect both (all) languages and parses the language code into the language name (Dutch, English, etc). And I can switch between both during playback.

Is there any way to have this working with samba ? I guess with samba the subtitle gets send like some kind of stream and therefore MX player doesn't have all the info about the language and other folder contents.

I guess my feature request now is to have this working over samba too, at least with ES File Explorer.
7th January 2015, 08:36 AM |#11  
CDB-Man's Avatar
Senior Member
Thanks Meter: 250
 
More
Indeed, currently SMB is done with other apps passing the URI to MX. If something isn't passed, MX will make a predictive request. In the feature requests list, SMB support is already there, and the developer is aware and has plans to implement something.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes