Hello.

I've been watching my liquidsoap logs as my streamer seems to silently jump
off a bridge every 20 hours or so.  I'm trying to track down the culprit,
but what I've discovered so far is that my logs are full of a lot of useless
crap.  I don't want to filter the logs... I want to get rid of the useless
warnings and complaints.

The first one on my list is this:

2011/02/18 10:33:04 [decoder:4] Trying OGG decoder for "Ident_1.mp3"...
2011/02/18 10:33:04 [decoder:4] Trying AAC decoder for "Ident_1.mp3"...
2011/02/18 10:33:04 [format.aac:5] open "Ident_1.mp3"
2011/02/18 10:33:04 [format.aac:5] Could not decode file.
2011/02/18 10:33:04 [decoder:4] Trying AACMP4 decoder for "Ident_1.mp3"...
2011/02/18 10:33:04 [format.aacmp4:5] open "Ident_1.mp3"
2011/02/18 10:33:04 [src_5690:4] More buffering will be needed.
2011/02/18 10:33:04 [format.aacmp4:5] Could not decode file.
2011/02/18 10:33:04 [decoder:4] Trying WAV decoder for "Ident_1.mp3"...
2011/02/18 10:33:04 [format.wav:5] open "Ident_1.mp3"
2011/02/18 10:33:04 [format.wav:5] Could not decode file.
2011/02/18 10:33:04 [decoder:4] Trying MP3 decoder for "Ident_1.mp3"...
2011/02/18 10:33:04 [format.mp3:5] open "Ident_1.mp3"
2011/02/18 10:33:04 [format.mp3:5] close "Ident_1.mp3"
2011/02/18 10:33:04 [decoder:3] Decoder MP3 chosen for "Ident_1.mp3".

This seems a bit silly.  All of my songs are MP3 files.  I don't use OGG, or
AAC, or WAV.  Is there a way to tell Liquidsoap to just treat MP3 files as
MP3, and if you can't decode it just throw it away and move on?  Don't
autodetect formats.  Or at least try MP3 first?

The offending line in my liq config would be this:

chan0playlist =
playlist("/path/to/playlist",mime_type="audio/x-mpegurl",id="Chan0-MP3-Playlist",mode="normal",reload=1,reload_mode="rounds")

Which then goes into a fallback with a previously defined emergency song:

channel0 = fallback([chan0playlist, emergencyStop])

Which is put into a crossfader:

channel0 = crossfade(start_next=2.,fade_out=1.,fade_in=1.,channel0)

Which is then piped out through output.icecast.mp3.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to