Detect that it's a shoutcast stream by the presence of the icy headers (present in "tags" in the ffprobe output)
Read the title out of the icy-name tag
Report the duration as 0 as is standard for other live types
More generally, CyTube should validate all returned metadata to avoid corrupting a playlist with NaN durations (this is now the second reported instance of this happening).
ffprobe/raw-file support already mostly handles this, except the duration is reported as
NaN
which busts the playlist metadata.Example data:
In order to resolve this, CyTube should:
icy-name
tag0
as is standard for other live typesMore generally, CyTube should validate all returned metadata to avoid corrupting a playlist with
NaN
durations (this is now the second reported instance of this happening).