[Feature Request] SMB Support for Multiple Language External Subs - MX Player

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.

You can't find the feature request, because the feature already exists!
Settings -> Subtitle -> Preferred subtitle language
Enter the ISO 2 letter code.

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.

Aside from the file name, in the media info of these subtitle files, does the meta data have language flags set?

What do you mean ? the video file doesn't have any internal subs. All externall srt's.

f3bruary said:
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.
Click to expand...
Click to collapse
@bleu8888 could you take a look at MX's behaviour for external language subs?

f3bruary said:
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.
Click to expand...
Click to collapse
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.

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.

f3bruary said:
File location is a local samba share.
Click to expand...
Click to collapse
Just curious, does the issue occur if all the external .srt are stored directly on the phone?

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.

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.

Is there any update on this? I know its on the feature request list with HIGH prio but is there for a long time now. Since Es File Explorer become "the fallen king", the SMB capabilities of MX Player are needed more than ever.

Yeah I still want this badly too. I also noticed that from all the file managers I've tested, only ES file explorer passes subtitles to MX player. Others don't.

Related

[Feature Request] Subtitle Default Language Preference, Similar to Audio Lang. Pref

Generally, default subtitle tracks are specified by the video file. Is it possible to add a feature so that you can set MX to prefer a subtitle stream with a specified language, similar to how you can set it to prefer an audio language?
I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?
CDB-Man said:
I believe for audio it matches the entered preference to the mediainfo language flag for the stream. Subtitles usually have a language flag as well, so that could be matched too?
Click to expand...
Click to collapse
This feature was planned for 2.0, But I will be able to pull it forward
Awesome, didn't know that, but that's even better!
XBMC generated subtitle filenames support
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'
Klojum said:
Not sure if my request requires a new topic, but I think this is more an enhancement of the above's feature request.
I would like multi-language subtitle support to also do .srt files downloaded/generated by XBMC ( which is to be named 'Kodi' for version 14 b.t.w. ).
This is about the subtitle filename convention, for example filename.en.srt, filename.nl.srt or filename.de.srt, where the applicable language is embedded in the subtitle's filename.
Right now, MX Player does not pick up on those localized subtitle files. And opening an optional subtitle MX Player does not work because MX Player wants to pick it from the local Android device, and not from the network path/share that the video is coming from.
So for now I'm stuck on temporarily renaming the subtitle files on my network share before I can watch them on my Android device...
Hoping for a good solution for this 'issue'
Click to expand...
Click to collapse
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.
bleu8888 said:
This will be supported after MX supports network browsing.
This is a limitation of current implemenation, because MX does not have ability to browse files in servers.
Click to expand...
Click to collapse
This is exactly the feature I am trying to request, really looking forward to it!

[Bug Report] Subtitles not activated automatic even forced inside MKV file

Hi,
I have MKV file, where the subtitle track has this flags set.
Default : Yes
Forced : Yes
But even when the subtitle is marked as forced they are not selected when start the playback and need to be activated manual. Is there any other way how to force the subtitle to be started automatic?
Very strange case, I havent tried this before.
Try changing
Settings>subtitles>enable embedded subtitles
Have you seen this? It should be fixed in the current version, at least it works for me - unless you have embedded subtitle loading disabled.
Hi, thank you, enabling the settings automatical load subtitles, but all that are marked as default. This is not wanted behaviour. I would like, that the normal subtitles are not showed automatic, but only the ones that are marked as forced (this are usually translations of labels on screen, when somebody intentionally talk foreign language, etc.) Thank you
Are your subtitle language preferences getting in the way? Settings > Subtitles > Preferred subtitle language

[Feature Request] SMB Share / Network Folders

Hello,
I have a few questions, I hope some one can answer them.
I would like to know if it is possible to set a video folder that is on a network or a web site. I have all my DVDs copied onto my server and would like to access them from my devices.
When I try to add a folder, via settings, it will not show me a network. If I go to Network stream I have to type in the complete url to the file its self for it to play.
Example: 13.125.44.133:4040/movies/61/video_ts/vts_01_1.vob
I would like to be able to see the directory with the list of folders that the movies are in and then select the folder and have the app play the movie.
Example:
Movies/
61
2012
After Earth
....
Maybe the only way to access to this folders its using a file explorer with the capabilities of accessing to network folders.
I was able to locate the file, like you suggested. I am using ES File Explore, it allowed me to save the path and also associate the vob files with MX Player. So now I have one more question. When I ripped my DVD's, they are just like on the DVD. There is 4 or 5 vob files numbered 1, 2, 3... When I select the first vob file and it plays to the end it goes back to the ES File Explore app and does not continue on to the second vob file. Is there a switch so that it will do this or will it just not do this?
MX Player currently has no built-in SMB share support. External apps like ES File Explorer only pass 1 file URI at a time to MX.
This has been previously requested before. https://groups.google.com/forum/#!topic/mx-videoplayer/nYpihpAVJq0/discussion
It's already on the feature requests list. http://forum.xda-developers.com/apps/mx-player/sticky-running-list-feature-requests-t2718297
i see that there is a "back to list" i uncheck this and it went to the next file, seam to work.
Interesting, I didn't think that they would have changed so quickly to passing all the URIs in the folder. Well, good to see that you found a solution.
Related: http://forum.xda-developers.com/apps/mx-player/bug-report-video-button-lan-mounted-t2967882
An amendment to what I said above; MX still doesn't receive all the URIs, but rather does predictive requests based on filename, as a quickfix to this issue.
I use ES file explorer to do this, you can 'save' the location as a shortcut to the desktop of your device (long press on the folder, select save to desktop)
There are currently a few bugs with this in the latest version which i have my own thread about, subtitles dont load and some videos require software playback to prevent audio going out of sync but it works and works well in general.
Anyone using this feature could tell me how it works when there are 2 files - video and subtitles?
ch3mn3y said:
Anyone using this feature could tell me how it works when there are 2 files - video and subtitles?
Click to expand...
Click to collapse
If the directory listing is enabled on the host, MX Player can get the list of files. So, it will automatically load the subtitle as we. Else, MX Player will try to get the subtitle by assumption (by just replacing video extension with subtitle extensions). But, it doesn't work everywhere.
So, it's better to enable directory listing if you are using a local server.

Cannot play video from ES file explorer smb share.

Hi,
I have a NAS that share video file with smb, I used to open these files in ES file explorer and it will give me the option to open it in MX player. Recently I got my Nexus 6P with Android 6.0.1, and there is no such option anymore. The video will always default to use es file explorer video play. Anyway I can fix this?
Update:
I noticed in the app details page on the phone there is a "Open by default" option and inside there is "supported links" which has the value "*" . Maybe this is the cause? I used to developed an app that forwards intent to mx player and if I use "*" it will not work. I had to provide mime type so mx play show in the open list. Another thing I noticed is the problem is not only for MX player but for all other video streaming supported players. So it must be something changed in Marshmallow.
Thanks.
[No message]
Is this a empty answer?
@ktsamy seems your post got posted blank.
Regarding the OP, hmm, I wonder if instead the problem is on ES's side. I don't know much about this area, though.
Same here, I can't get to make mx player appear in the list of players capable of playing a video from a smb share or a local dlna renderer
Issue still exists.
@zhumingvictor
@obladi64
@TeoLinuX
@CDB-Man
The issue is from the android itself.
There are 2 major issues.
1. Android 6 has a issue which will lead to disappearance of Apps. If you set app as default & Then clearing the defaults, many apps including MX, BS, VLC have disappeared from open with list. There is no way to bring them back other than uninstalling/disabling the app which you have set as default earlier in order to bring the missing apps back to list. The issue was reproducible even in Stock Nexus devices. But, it was fixed in 6.0.1
2. Pathpattern no longer works with many third party apps in newer android versions when host is set to *. This is one of the major issue. But, When you remove the host entry as you suggested, some apps will list MX Player incorrectly for unknown contents for a unknown reason. One more thing is that Google Chrome & Stock brower doesn't list the app for video files when it's removed. So, it can't be removed straight away.
BTW, after lot of test & trails I have found the solution for the issue. I have forwarded the same to the MX Player developer as well. It's now fixed on MX Player code base. Next update will bring the fix to both issues.
Thanks for your effort. My workround is to make MX player default for all required file types by opening files from local storage. Than MX Player will be default for smb files too.

[FEATURE REQUEST] Suffix with language downloaded subtitles

It would be very useful that when you search for subtitles in opensubtitles.org, save the file with the language suffix. For example movie.en.srt or movie.fr.srt. Also, once you download the file,It should be automatically loaded Andrés checked in the subtitle panel. In this way, the loading of subtitles in multiple languages ​​at once is speeded up.
kajondezaztre said:
It would be very useful that when you search for subtitles in opensubtitles.org, save the file with the language suffix. For example movie.en.srt or movie.fr.srt. Also, once you download the file,It should be automatically loaded Andrés checked in the subtitle panel. In this way, the loading of subtitles in multiple languages ​​at once is speeded up.
Click to expand...
Click to collapse
Thanks for your feedback. We have noted down your request.We will convey the same to our team for further review and future planning.

Categories

Resources