doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.18k stars 981 forks source link

ICY metadata missing on certain streams on iOS #2190

Closed puckey closed 8 months ago

puckey commented 8 months ago

I received a user report that after updating to the latest version (which uses 4.0) the metadata was no longer being shown for the following url https://ns1.estaciondigital.es/radio/8010/live on iOS. I checked to see if it was the same on Android, but there I am seeing the metadata.

FFprobe for the url gives: ffprobe -v quiet -show_format https://ns1.estaciondigital.es/radio/8010/live

[FORMAT]
filename=https://ns1.estaciondigital.es/radio/8010/live
nb_streams=1
nb_programs=0
format_name=mp3
format_long_name=MP2/3 (MPEG audio layer 2/3)
start_time=0.000000
duration=N/A
size=N/A
bit_rate=128000
probe_score=51
TAG:icy-br=128
TAG:icy-genre=JAZZ
TAG:icy-name=JAZZFM SPAIN
TAG:icy-pub=0
TAG:icy-url=https://www.jazzfm.es
TAG:StreamTitle=HERB ALPERT - (MARIE'S THE NAME) HIS LATEST FLAME; (MARIE'S THE NAME) HIS LATEST
[/FORMAT]
puckey commented 8 months ago

closing this as after a bunch of debugging, I get the sense this is a bug either in the stream's implementation or AVPlayer