added the possibility to save the last X played stations, and to quickly play them again (configurable via WEC).
config_tool -c SHOUTCAST_NUMBER_OF_STATIONS=20
$logLevel = L_INFO;
PaulF wrote: The dupes come from the fact when the steams start, the WD software connects twice. Maybe a bug(more tcpdumps, I guess)
The tcpdump traces show the WD doing multiple GETs of the stream from the UPNP port. When I said possible(same as maybe) bug, I meant the WD SW is goofy for some reason. The proxy is only one way so I have a feeling the proxy is ignoring some returning status request or a time out or ??? As always, I do this stuff as a learning experience and I have a lot more to learn. My final goal is to display the playing song title on the WD's playing screen. Any ideas? I spent a day or so reading the UPNP specs and the only way I found to change the dc:title metadata on the fly is to do a set current URI action in the transport service. That works, but it puts a few second gap in the sound while the service re-GETs the stream. I wonder if there is a way to change the OSD variables on the fly.mad_ady wrote:PaulF wrote: The dupes come from the fact when the steams start, the WD software connects twice. Maybe a bug(more tcpdumps, I guess)
It's not a bug. The first time, the proxy connects and makes a request with the HEAD method to get content-type and length. Then it makes the same request with GET. Sometimes it can make multiple requests (depending on container).
_logInfo("Starting execution. \$_SERVER is:".serialize($_SERVER));
Users browsing this forum: No registered users and 2 guests