Hi Romain,
Here we are, bug happend again !
_
Copy of my script :_
#!/etc/liquidsoap
# Log dir
set("log.file.path","/tmp/basic-radio.log")
# More verbosity
set("log.level", 4)
# Print log message in the console
set("log.stdout", true)
# Répertoires des musiques
leia_blues = mksafe(playlist("/home/Playlist/Blues/"))
leia_chiptune = mksafe(playlist("/home/Playlist/Blues/"))
...
# Répertoires des podcasts
leia_cellule = mksafe(playlist("home/Podcasts/La Cellule"))
...
# Habillages
leia_jingles = mksafe(playlist("home/Habillages"))
# Music
myplaylist = mksafe(playlist("/home/playlist_test/"))
# Podcast test
mypodcast = mksafe(playlist.once("/home/playlist_test/podcast/"))
#mypodcast = mksafe( single("/home/playlist/podcast/"))
#mypodcast = mksafe(playlist(reload_mode = "rounds" , reload =
1,"/home/playlist_test/podcast/"))
# Live
mylive = input.http("http://XXXXXXXXX:8000/stream.m3u")
# Grille des programmes
myschedule = switch(
track_sensitive = true,
[
( {(1w or 2w or 3w or 4w or 5w or 6w or 7w) and
4h40-4h50}, mypodcast),
( {(1w or 2w or 3w or 4w or 5w or 6w or 7w) and
4h55-5h05}, mypodcast),
( { true }, myplaylist),
]
)
# relais du live et de la grille des programmes
myradio = fallback(track_sensitive = false, [mylive, myschedule])
# Stream HQ
output.icecast(%mp3(bitrate = 320),
restart = true, restart_delay = 2,
host = "localhost", port = 8000,
password = "XXXXXX",
mount = "/radiohq",
icy_metadata = "true",
myradio)
# Stream MQ
output.icecast(%mp3(bitrate = 192),
restart = true, restart_delay = 2,
host = "localhost", port = 8000,
password = "XXXXXX",
mount = "/radiomq",
icy_metadata = "true",
myradio)
# Stream LQ
output.icecast(%mp3(bitrate = 96),
restart = true, restart_delay = 2,
host = "localhost", port = 8000,
password = "XXXXXX",
mount = "/radiolq",
icy_metadata = "true",
myradio)
_Dirty log :_
2011/04/26 01:05:06 >>> LOG START
2011/04/26 01:05:06 [protocols.external:3] Didn't find "ufetch".
2011/04/26 01:05:06 [protocols.external:3] Found "/usr/bin/wget".
2011/04/26 01:05:06 [main:3] Liquidsoap 1.0.0-beta1
2011/04/26 01:05:06 [lang:3] flac binary not found: flac decoder disabled.
2011/04/26 01:05:06 [lang:3] metaflac binary not found: flac metadata
resolver disabled.
2011/04/26 01:05:06 [lang:3] faad binary not found: faad decoder disabled.
2011/04/26 01:05:06 [lang:3] Lastfm/audioscrobbler support was not compiled.
2011/04/26 01:05:06 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2011/04/26 01:05:06 [frame:3] Frame size must be a multiple of 1764
ticks = 1764 audio samples = 1 video samples.
2011/04/26 01:05:06 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2011/04/26 01:05:06 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2011/04/26 01:05:06 [video.converter:4] Using preferred video converter:
gavl.
2011/04/26 01:05:06 [audio.converter:4] Using preferred samplerate
converter: libsamplerate.
2011/04/26 01:05:06 [threads:3] Created thread "generic queue #1".
2011/04/26 01:05:06 [clock:4] Currently 1 clocks allocated.
2011/04/26 01:05:06 [clock.wallclock_main:4] Starting 3 sources...
2011/04/26 01:05:06 [source:4] Source output.icecast_4291 gets up.
2011/04/26 01:05:06 [/playlisthq:4] Content kind is
{audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [source:4] Source fallback_4289 gets up.
2011/04/26 01:05:06 [source:4] Source src_4285 gets up.
2011/04/26 01:05:06 [threads:3] Created thread "http polling" (1 total).
2011/04/26 01:05:06 [src_4285:4] Connecting to
<http://29051hd53118.ikexpress.com.:8000/stream.m3u>...
2011/04/26 01:05:06 [src_4285:4] Activations changed: static=[],
dynamic=[fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [source:4] Source switch_4287 gets up.
2011/04/26 01:05:06 [source:4] Source mksafe gets up.
2011/04/26 01:05:06 [source:4] Source request.dynamic_4281 gets up.
2011/04/26 01:05:06 [request.dynamic_4281:4] Content kind is
{audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [request.dynamic_4281:4] Activations changed:
static=[],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [source:4] Source safe_blank gets up.
2011/04/26 01:05:06 [decoder:4] Trying method "WAV" for
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3"...
2011/04/26 01:05:06 [safe_blank:4] Content kind is {audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [decoder:4] Decoder "WAV" failed on
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3":
Wav.Not_a_wav_file("Bad header : string \"RIFF\", \"WAVE\" or \"fmt \"
not found")!
2011/04/26 01:05:06 [safe_blank:4] Activations changed: static=[],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [decoder:4] Trying method "MIDI" for
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3"...
2011/04/26 01:05:06 [mksafe:4] Activations changed: static=[],
dynamic=[switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [decoder:4] Trying method "MP3/LIBMAD" for
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3"...
2011/04/26 01:05:06 [mksafe:4] Activations changed: static=[],
dynamic=[switch_4287:fallback_4289:/playlisthq:/playlisthq,
switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [source:4] Source mksafe gets up.
2011/04/26 01:05:06 [source:4] Source playlist_4277 gets up.
2011/04/26 01:05:06 [playlist_4277:4] Content kind is
{audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [playlist_test:3] Loading playlist...
2011/04/26 01:05:06 [decoder.mp3:4] Libmad recognizes
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3"
as MP3 (44100Hz,2 channels).
2011/04/26 01:05:06 [playlist_test:3] Playlist is a directory.
2011/04/26 01:05:06 [decoder:3] Method "MP3/LIBMAD" accepted
"/home/playlist_test/podcast/The Beach Boys - Wouldn't It Be Nice.mp3".
2011/04/26 01:05:06 [playlist_test:3] Successfully loaded a playlist of
17 tracks.
2011/04/26 01:05:06 [playlist_test:4] Activations changed: static=[],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [source:4] Source safe_blank gets up.
2011/04/26 01:05:06 [safe_blank:4] Content kind is {audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [safe_blank:4] Activations changed: static=[],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [mksafe:4] Activations changed: static=[],
dynamic=[switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [switch_4287:4] Activations changed: static=[],
dynamic=[fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:06 [fallback_4289:4] Activations changed:
static=[/playlisthq:/playlisthq], dynamic=[].
2011/04/26 01:05:06 [/playlisthq:4] Activations changed:
static=[/playlisthq], dynamic=[].
2011/04/26 01:05:06 [/playlisthq:4] Enabling caching mode: active source.
2011/04/26 01:05:06 [request.dynamic_4281:4] Remaining: 0, queued: 0,
adding: 1323000 (RID 0)
2011/04/26 01:05:06 [source:4] Source output.icecast_4292 gets up.
2011/04/26 01:05:06 [decoder:4] Trying method "WAV" for
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3"...
2011/04/26 01:05:06 [/playlistmq:4] Content kind is
{audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [fallback_4289:4] Activations changed:
static=[/playlistmq:/playlistmq, /playlisthq:/playlisthq], dynamic=[].
2011/04/26 01:05:06 [fallback_4289:4] Enabling caching mode: two static
activations.
2011/04/26 01:05:06 [/playlistmq:4] Activations changed:
static=[/playlistmq], dynamic=[].
2011/04/26 01:05:06 [/playlistmq:4] Enabling caching mode: active source.
2011/04/26 01:05:06 [source:4] Source output.icecast_4293 gets up.
2011/04/26 01:05:06 [/playlistlq:4] Content kind is
{audio=2;video=0;midi=0}.
2011/04/26 01:05:06 [fallback_4289:4] Activations changed:
static=[/playlistlq:/playlistlq, /playlistmq:/playlistmq,
/playlisthq:/playlisthq], dynamic=[].
2011/04/26 01:05:06 [/playlistlq:4] Activations changed:
static=[/playlistlq], dynamic=[].
2011/04/26 01:05:06 [/playlistlq:4] Enabling caching mode: active source.
2011/04/26 01:05:06 [/playlisthq:3] Connecting mount /playlisthq for
source@localhost...
2011/04/26 01:05:06 [decoder:4] Decoder "WAV" failed on
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3":
Wav.Not_a_wav_file("Bad header : string \"RIFF\", \"WAVE\" or \"fmt \"
not found")!
2011/04/26 01:05:06 [decoder:4] Trying method "MIDI" for
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3"...
2011/04/26 01:05:06 [decoder:4] Trying method "MP3/LIBMAD" for
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3"...
2011/04/26 01:05:06 [decoder.mp3:4] Libmad recognizes
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3" as MP3 (44100Hz,2
channels).
2011/04/26 01:05:06 [decoder:3] Method "MP3/LIBMAD" accepted
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3".
2011/04/26 01:05:06 [playlist_test:4] Remaining: 0, queued: 0, adding:
1323000 (RID 2)
2011/04/26 01:05:06 [src_4285:4] Trying playlist parser for mime
audio/x-mpegurl
2011/04/26 01:05:06 [/playlisthq:3] Connection setup was successful.
2011/04/26 01:05:06 [src_4285:3] New metadata chunk: ? -- ?.
2011/04/26 01:05:06 [/playlistmq:3] Connecting mount /playlistmq for
source@localhost...
2011/04/26 01:05:06 [src_4285:4] Connecting to
<http://XXXXX.com.:8000/stream>...
2011/04/26 01:05:06 [/playlistmq:3] Connection setup was successful.
2011/04/26 01:05:06 [/playlistlq:3] Connecting mount /playlistlq for
source@localhost...
2011/04/26 01:05:06 [src_4285:4] Could not get file: File Not Found
2011/04/26 01:05:06 [src_4285:4] Connection failed: Http_source.Internal
2011/04/26 01:05:07 [/playlistlq:3] Connection setup was successful.
2011/04/26 01:05:07 [threads:3] Created thread "wallclock_main" (2 total).
2011/04/26 01:05:07 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2011/04/26 01:05:07 [clock:4] Main phase starts.
2011/04/26 01:05:07 [fallback_4289:3] Switch to switch_4287.
2011/04/26 01:05:07 [switch_4287:4] Activations changed:
static=[fallback_4289:/playlisthq:/playlisthq],
dynamic=[fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:07 [switch_4287:3] Switch to mksafe.
2011/04/26 01:05:07 [mksafe:4] Activations changed:
static=[switch_4287:fallback_4289:/playlisthq:/playlisthq],
dynamic=[switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:07 [mksafe:3] Switch to safe_blank.
2011/04/26 01:05:07 [safe_blank:4] Activations changed:
static=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:07 [playlist_test:4] Remaining: 0, queued: 1323000,
taking: 1323000
2011/04/26 01:05:07 [playlist_test:3] Prepared
"/home/playlist_test//Sano Nobuyoshi - tulip.mp3" (RID 2).
2011/04/26 01:05:07 [mksafe:3] Switch to playlist_test with transition.
2011/04/26 01:05:07 [safe_blank:4] Activations changed: static=[],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:07 [playlist_test:4] Activations changed:
static=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq],
dynamic=[mksafe:switch_4287:fallback_4289:/playlisthq:/playlisthq].
2011/04/26 01:05:08 [src_4285:4] Connecting to
<http://XXXXX.com.:8000/stream.m3u>...
2011/04/26 01:05:09 [src_4285:4] Trying playlist parser for mime
audio/x-mpegurl
2011/04/26 01:05:09 [src_4285:3] New metadata chunk: ? -- ?.
2011/04/26 01:05:09 [src_4285:4] Connecting to
<http://29051hd53118.ikexpress.com.:8000/stream>...
2011/04/26 01:05:09 [src_4285:4] Could not get file: File Not Found
2011/04/26 01:05:09 [src_4285:4] Connection failed: Http_source.Internal
2011/04/26 01:05:11 [src_4285:4] Connecting to
<http://XXXXX.com.:8000/stream.m3u>...
2011/04/26 01:05:11 [src_4285:4] Trying playlist parser for mime
audio/x-mpegurl
2011/04/26 01:05:11 [src_4285:3] New metadata chunk: ? -- ?.
2011/04/26 01:05:11 [src_4285:4] Connecting to
<http://29051hd53118.ikexpress.com.:8000/stream>...
2011/04/26 01:05:11 [src_4285:4] Could not get file: File Not Found
2011/04/26 01:05:11 [src_4285:4] Connection failed: Http_source.Internal
2011/04/26 01:05:13 [src_4285:4] Connecting to
<http://XXXXX.com.:8000/stream.m3u>...
2011/04/26 01:05:13 [src_4285:4] Trying playlist parser for mime
audio/x-mpegurl
2011/04/26 01:05:13 [src_4285:3] New metadata chunk: ? -- ?.
2011/04/26 01:05:13 [src_4285:4] Connecting to
<http://29051hd53118.ikexpress.com.:8000/stream>...
2011/04/26 01:05:14 [src_4285:4] Could not get file: File Not Found
2011/04/26 01:05:14 [src_4285:4] Connection failed: Http_source.Internal
...
...
Le 25/04/2011 16:11, Romain Beauxis a écrit :
2011/4/25 David Baelde<[email protected]>:
Hi,
On Sat, Apr 23, 2011 at 8:06 PM, Maxens Dubois<[email protected]> wrote:
I'm running my first script and I get this loop with any song played :
19:28:11 [src_4174:3] New metadata chunk: ? -- ?.
19:28:13 [src_4174:3] New metadata chunk: ? -- ?.
This is a message from an input.http() or input.harbor(), you can disregard it.
I might be wrong but I think your stream is MP3 with icy metadata
updates, which come periodically and are often empty. If this is the
case we should make those noisy messages disappear.
Actually, they are supposed to be discarded when they are empty..
Therefore, I suspect something more problematic.
Could you show us your script? Could you run it with more verbosity
using set("log.level",4) ?
Romain
Cheers,
--
David
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users