-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error playing URL - on Android devices #1127
Comments
You mean you can play the stream using the browser and Music app web interface on PC but not on Android? That's weird, because for me, it doesn't play on any PC web browser. It does play, though, using the Subsonic API and the DSub client on Android. I believe that this is because of how that stream URL behaves. When we load the URL http://mp3.polskieradio.pl:8904/ in the browser for playing, the same thing happens as when you click the link from here: The info page of the stream is loaded instead of the stream itself. This is apparently based on the User-Agent string sent by the browser to the stream server. This string cannot be spoofed on the modern browsers, so playing this stream on the web browser would require the feature #1035. |
I found a workaround. On desktop I have Firefox, so I installed it on Android, and it works. So it is a browser thing. I guess it can be closed? |
I still don't understand, how this can play without issues for you on any browser. Because for me, it doesn't play on Firefox either on Windows or on Android. |
The semicolon at the end is part of this crazy url ;-) |
Oh, that explains it then. I totally didn't see that one coming. With the semicolon added, it does work for me on Firefox and Chrome on Windows. Maybe then some browsers are as incapable to understand the trailing semicolon as I was. :D |
I think it is not about the semicolon. I have other stream which behaves same way: http://audio.radiownet.pl:8000/stream |
Okay. Somewhat interestingly, both http://mp3.polskieradio.pl:8904/; and http://audio.radiownet.pl:8000/stream play perfectly on the Music app using Chrome for Windows but only the latter of the two play if I click those links here on github. Other Chromium-based browsers might well have major differences to Chrome in the handling of audio files and streams. In the past (some years ago), the plain Chromium didn't even ship with any audio decoder for MP3 file type while Chrome did. This has changed since, but it might well be that the decoder used is not the same on these two. Anyway, this is likely something which is out of the scope of the Music app: we can play only what the browser can play. |
Thanks. Closing then, as it is browser related... |
I have such a stream URL: http://mp3.polskieradio.pl:8904/;
It works fine on desktop client, but not on any Android clients gives "Error playing URL".
I'm not sure but it probably started after upgrade to Nextcloud v28.
It seems not the security "http in external sites" problem, because I have other http:// streams which work fine.
Music v1.10.0 on Docker Nextcloud:latest
The text was updated successfully, but these errors were encountered: