Bug 53439 - ICECast / Shoutcast title streaming
Summary: ICECast / Shoutcast title streaming
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Charles Samuels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-26 13:51 UTC by Ingo Heeskens
Modified: 2004-10-20 21:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Heeskens 2003-01-26 13:51:20 UTC
Version:           2.1.3 (using KDE KDE 3.0.99)
Installed from:    0Compiled From Sources
OS:          Linux

It would be great to have title streaming implemented for Shoutcast streams. Currently, only the URL/Port of the stream are displayed, not the song titles.
Comment 1 Stefan Gehn 2003-12-27 12:51:52 UTC
I've got a semi working approach here, it won't make it into KDE 3.2 though.
Comment 2 Wolfgang Mader 2003-12-29 17:54:27 UTC
First: It is great that someone is working on the problem.

But what i can really not understand is that there are working implementions since long e.g. xmms. Is it that hard to addapt such code?
Comment 3 Arnold Krille 2003-12-29 18:11:38 UTC
Subject: Re:  ICECast / Shoutcast title streaming

Its like writing a love-story: There are a lot of stories allready written but 
adapting one for your own is a lot of work!

Afaik xmms for example is written in C while KDE is completly C++. Thats two 
different languages. xmms has a totally different internal structure than KDE 
and aRts...

Arnold
Comment 4 Christian Muehlhaeuser 2004-01-02 04:59:00 UTC
look at amarok! (kdenonbeta/amarok). we solved this by a arts-proxy, which extracts the data out of the stream for our mediaplayer. works and is a seperate module anyone can use.

regards,
muesli
Comment 5 Stefan Gehn 2004-01-02 08:32:51 UTC
muesli: didn't Markey tell you that the semi-working approach is your proxy? ;)
It just didn't fit into the Noatun API at all and has bugs when the other side dies (i.e. listening port being kept open, very annoying), not to say that I'd never ever commit this for 3.2 because of both a feature freeze and the high probability of introducing buggy code (just because it works here doesn't mean it works perfectly for others too).
Comment 6 Charles Samuels 2004-01-04 13:54:33 UTC
Subject: Re:  ICECast / Shoutcast title streaming

On Friday 02 January 2004 7:32 am, Stefan Gehn wrote:
> muesli: didn't Markey tell you that the semi-working approach is your
> proxy? ;) It just didn't fit into the Noatun API at all and has bugs when
> the other side dies (i.e. listening port being kept open, very annoying),
> not to say that I'd never ever commit this for 3.2 because of both a
> feature freeze and the high probability of introducing buggy code (just
> because it works here doesn't mean it works perfectly for others too).

Ryan 'Phalynx' Cumming created a similar device, which I've never [tried] 
using.

It did work.

rikkus said his implementation of the icecast hinting wasn't too good.

This should definitely be added to noatun, but I can't see how we could 
reasonably get it in for 3.2, aside from a plugin at noatun.k.o when we're 
more certain of it.

Maybe a distribution that puts broken stuff will include it like how Red Hat 
included a broken fork(2).

- -Charles

Comment 7 Stefan Gehn 2004-03-04 11:31:02 UTC
I'll try to move my code in for KDE 3.3 and provide a patch for KDE 3.2.x installs (will put it up on noatun.kde.org).
Comment 8 Stefan Gehn 2004-10-20 21:22:56 UTC
CVS commit by metz: 

Yes, this is the one most people probably waited for :)
Now you can see shoutcast titles and servernames in Noatun.
FEATURE: 53439


  A            titleproxy.cpp   1.1 [GPL (v2+)]
  A            titleproxy.h   1.1 [GPL (v2+)]
  M +1 -1      Makefile.am   1.84
  M +31 -18    engine.cpp   1.98
  M +45 -9     player.cpp   1.88
  M +12 -3     noatun/engine.h   1.4
  M +5 -0      noatun/player.h   1.9