zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
5.75k stars 385 forks source link

External subtitle support in SMB #801

Open zo-sh opened 2 years ago

zo-sh commented 2 years ago

Locally, playing video files with external subtitles from the same directory works fine. However, when playing files from an SMB directory, external subtitles are not being picked up. The video players I'm using are mpv-android and MXPlayer.

For example, the following works:

Local Device/ ├─ Some Folder/ │ ├─ Psycho-Pass 3 - First Inspector.ass │ ├─ Psycho-Pass 3 - First Inspector.mkv

Both video players pick up the external subtitles.

However, this does not work:

SMB/ ├─ Some SMB Folder/ │ ├─ Psycho-Pass 3 - First Inspector.ass │ ├─ Psycho-Pass 3 - First Inspector.mkv

Both video players do not pick up the external subtitles.

MXPlayer's built-in implementation of an SMB browser is poor, but it does properly pick up external subs. So, I'm hoping it's possible with MaterialFiles, as well.

zhanghai commented 2 years ago

There's no way for sharing 2 files at once (when launching an app to view a video file) on Android - it's a technical limitation.

There may be a workaround, but will require explicit collaboration between both apps.