-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Fetching ICY metadata fails on some streams #5876
Comments
The problem is just that the first stream contains line terminators in the stream title. For example:
The |
Thank you for your response in such a short time. I would like to furher this issue to maintain the feature with minimum bugs:
That's all I have found so far. I would like to continue to report more bugs as I face. Thank you. |
This is because our
I'm less sure about this one. Does playback of the stream work at all? Does using the OkHttp extension rather than the default network stack resolve the problem? You should probably be using the OkHttp extension anyway if you're playing ICY streams, since on some devices the default network stack will not handle not-strictly-http status responses, and will fail playback with "Unexpected status line: ICY 200 OK" for some ICY streams. We should add an entry to our troubleshooting page about this! |
Update Using OkHttp extension resolves the problem in
to this:
We appreciate when other easy-to-fix bugs are resolved. Thank you. |
Issue: #5876 PiperOrigin-RevId: 247935822
Issue: #5876 PiperOrigin-RevId: 248119726
Issue: #5876 PiperOrigin-RevId: 247935822
Issue: #5876 PiperOrigin-RevId: 248119726
Hello,
I have been waiting for 2.10.0 release for a long time. Finally it has been released. Thanks for your effort.
I tried to fetch ICY metadata from radio streams, but it seems ExoPlayer fails on some streams. Here is some examples:
http://voyagesc.radyotvonline.com/
ExoPlayer fails in fetching ICY metadata on this radio stream while 'Current Song' section is not empty when you open link on browser (Chrome in my case). Also, ExoPlayer logs this issue as
I would like to also give a working example:
http://stream.radyoalaturka.com.tr:9100/
ExoPlayer successfuly fetches ICY metadata from this stream and invokes
MetadataOutput
listener.The only difference between two streams is SHOUTcast Server version; failing stream version is 1.9.8 while working stream version is 2.5.5.733
I used an API level 28 Android 9 Emulator
I fetch ICY Metadata as follows:
I hope these examples help for finding the issue. If you think I miss something to fetch the metadata, please inform me.
Thank you.
The text was updated successfully, but these errors were encountered: