Thanks one step forward, first radio stream plays well. After applying your patch, its possible to add a second stream to the playlist without a crash. On changing to the added stream by using cursors or digits, it gets played, until sometime the daemon kicks in, the only visible sign are the permanently written lines mgr: background scan idle mgr: background scan idle wakeup when playing the first stream these lines only appear a few times. The second time they keep repeating, with some chatter in between i can't read that fast. Thanks Tom Stefan Huelswitt schrieb: On 21 Oct 2004 Tomahawk <Tomahawk@tvcs.de> wrote: Hi,When using mp3 playback in mplayer/mp3 plugin to hear an mp3 stream e.g. "http://sc3.radioseven.se:8500/", everxythimng works just fine, until i try to play another stream. After choosing another stream the VDR simply restarts (Daemon kicks in)I'm not sure if the bug I found is the one which triggers your problem. The bug should crash VDR every time a single entry is added to the (current) playlist. --- mp3-0.9.7/player-mp3.c 2004-09-17 13:17:45.000000000 +0200 +++ mp3-unstable/player-mp3.c 2004-10-21 21:42:38.000000000 +0200 @@ -715,7 +715,7 @@ for(int i=oldmax ; i<max ; i++) shuffle[i]=i; int in=Index(curr)+1; if(in<0) in=0; - if(max>=2) { + if((max-in)>=2) { for(int i=in ; i<max ; i++) { int ran=(rand() % ((max-in)*4-4))/4; ran+=((ran+in) >= i); int t=shuffle[i]; If this doesn't cures your problem, please give step by step what you're doing to crash VDR. Regards. |