patrykcoding / rcloneExplorer

rclone explorer for Android
MIT License
349 stars 50 forks source link

Can't play mp4 file from encrypted remote "The location cannot be played" #258

Open ioogithub opened 4 years ago

ioogithub commented 4 years ago

I have been trying to open and play an mp3 file from an encrypted remote without success.

VLC can play video files easily however when I try to open an mp3 and select VLC as the player, I get this error:

The location http://127.0.0.1:8080/song.mp3 cannot be played.

Perhaps the issue is related to this one: https://github.com/kaczmarkiewiczp/rcloneExplorer/issues/187 that concerned spaces in the filenames? Could a similar fix be applied to mp3 files as well?

x0b commented 4 years ago

I could reproduce this with VLC, but not with other players (MX Player).

It seems that VLCs URL parsing is just not that robust. I've also added a tracking bug over in my repo in case this is actually rcloneExplorer malfunctioning.

ioogithub commented 4 years ago

Are you aware of any other players becides VLC and MX Player that can open media in this way?

x0b commented 4 years ago

A lot probably. On my phone I found in addition to MX Player Pro

And it actually works in VLC if you select ⋮ > Open As > Video and then select VLC. So they just messed up their handling of audio files. It also works in VLC if the remote does not supply the file type because then rcloneExplorer will download the file instead of streaming.

x0b commented 4 years ago

While I wasn't able to find the root cause, we finally found a stable workaround. If there are still problems, please open a new issue over at https://github.com/x0b/rcx/issues.