Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] BUG: vdr-streamdev



Hi,

found a nasty bug in streamdev-0.3.3-pre3-geni. 

I want to use xmms to listen to the radio stations on Astra. Works fine by
adding a couple of http://server:3000/ES/<number> entries in the xmms
playlist and using vdr-streamdev on the VDR server.

But - when xmms starts it only displays the channel numbers instead of the
channel names (e.g. "417" instead of "ROCK ANTENNE"). Only after selecting
a channel for play the name is displayed. Not good. 

ChannelFromString should already provide the channel description from the
channel name if (channel == NULL) ... but streamdev keeps returning a
"400 Bad request" when requesting e.g. "http://server:3000/ES/B5 aktuell"

The reason is a string comparison using == does not work. 

if (String == channel->Name()) {

should be replaced by

if (strncasecmp (String, channel->Name(), strlen (channel->Name())) == 0) 

Duh. 

-- 
It is easier to write an incorrect program than understand a correct
one.




Home | Main Index | Thread Index