mp3 stream - connection problem

Hello

I listen very often to webradio without any problems.
Today I listened to http://www.di.fm/

Some streams work normal, others not
MOC is trying to connect but "can't find the stream"

Here is an example of one to show the error best:

Digitally Imported - Minimal.pls

[playlist]
NumberOfEntries=7
File1=http://94.23.3.33:4100/
Title1=Digitally Imported - Minimal
Length1=-1
File2=http://80.94.69.106:6244/
Title2=Digitally Imported - Minimal
Length2=-1
File3=http://pub2.di.fm:80/di_minimal
Title3=Digitally Imported - Minimal
Length3=-1
File4=http://pub3.di.fm:80/di_minimal
Title4=Digitally Imported - Minimal
Length4=-1
File5=http://pub1.di.fm:80/di_minimal
Title5=Digitally Imported - Minimal
Length5=-1
File6=http://pub4.di.fm:80/di_minimal
Title6=Digitally Imported - Minimal
Length6=-1
File7=http://pub5.di.fm:80/di_minimal
Title7=Digitally Imported - Minimal
Length7=-1
Version=2

The first two ones work fine, the rest not

Here is the error:

Nov 12 21:19:20.918288: audio.c:403 play_thread(): Playing item 5: http://pub4.di.fm:80/di_minimal
Nov 12 21:19:20.918302: server.c:251 wake_up_server(): Waking up the server
Nov 12 21:19:20.918318: server.c:1257 server_loop(): Got 'wake up'
Nov 12 21:19:20.918333: server.c:436 send_events(): Flushing events for client 0
Nov 12 21:19:20.918680: decoder.c:119 get_decoder_by_content(): Testing the stream...
Nov 12 21:19:20.918943: io.c:663 io_peek(): Reading...
Nov 12 21:19:20.919261: io.c:543 io_peek_internal(): Peeking data...
Nov 12 21:19:20.919790: io.c:552 io_peek_internal(): waiting...
Nov 12 21:19:20.920002: io.c:335 io_read_thread(): IO read thread created
Nov 12 21:19:20.920237: io.c:343 io_read_thread(): Reading...
Nov 12 21:19:20.920262: io_curl.c:580 io_curl_read(): Read 0 bytes from the buffer (0 bytes full)
Nov 12 21:19:20.920280: io_curl.c:320 curl_read_internal(): Starting curl...
Nov 12 21:19:20.920527: io_curl.c:342 curl_read_internal(): Doing select()...

Maybe it helps to solve it and keep MOC the best player on console :-)

openSUSE 12.2 RPM Build
moc 2.4.4 Build: May 29 2012 08:32:21
Compiled with: OSS ALSA JACK DEBUG internet streams resample

Your MOC version is quite old. Could you try current beta version?

I tried to reproduce it on 2.5.0-beta1 and all streams played fine.

I just downgraded to MOC 2.4.4 and I can confirm your problem.

It turns out, that jcf has fixed it in commit r2319, so you would probably have to use newer MOC release.

r2319 | jcf | 2011-05-23 02:03:02 +0200 (pon, 23 maj 2011) | 9 lines

Provide CURL timeout so internet streaming errors don't hang MOC.

Thanks to: Daniel Stenberg
Resolves: http://moc.daper.net/node/242 and archlinux/FS#23193
Probably resolves: http://moc.daper.net/node/747 and 762
Probably partially resolves: http://moc.daper.net/node/779
Also see: https://bugs.archlinux.org/task/23193 and
http://curl.haxx.se/mail/lib-2011-05/0155.html

Thx

I have not realized that I have been using an old version
After some problems with the update, everything works fine now