GNOME Bugzilla – Bug 307361
please expose shoutcast stream metadata through playbin
Last modified: 2005-07-01 17:53:47 UTC
It'd be nice if playbin handled shoutcast stream metadata so applications playing streams could display the current song title. rhythmbox can do this with its old playback pipeline, but it loses that ability when using playbin instead. I'll attach a patch that implements this. It's a hack, but it might be a useful starting point. It sets the 'iradio-mode' property on the source element for HTTP URLs (if it exists; the source element might not be a gnomevfssrc), and forwards the resulting deep-notify signals from the source element, so you can get the signal by attaching a signal handler to the playbin element.
Created attachment 47640 [details] [review] hackish patch
Also see #304350. I've already said I will not accept such a patch. I know it's easiest, but really, iradio needs to use the standard tagging system in gnomevfssrc, so that iradio tags can be read using the standard tagging system.
Created attachment 47798 [details] [review] better patch makes gnomevfssrc emit tag events in addition to the current property notifications.
Nice, thanks very much! I'll take this. So did you test this in Totem or so (or Rhythmbox-CVS)?
Most of my testing was just with gst-launch-0.8 -t playbin uri=http://stream/. Both totem and rhythmbox require some work to support this properly. I'll attach a patch for totem to #304350.
Now I've tested this with rhythmbox too (cvs plus patch from #307899).
Applied, minus the bogus boolean in the struct, thanks.