Hi all,
again, I have a strange problem.
Every night I copy a bulk of new files to be played to three different
folders. One folder for the day-program, one for the evening-program and
one for the night. After copying the files, the playlists are created
automaticly in those folders.
Before copying I stop liquidsoap. Afterwards I start liquidsoap again.
When liquidsoap is started, it should load the playlists and start the
music. And indeed, it does.
But: At 6:00am the day-program should start and it does not. Instead of
the playlist, the default-file is played.
Night and evening works great, but day doens't.
When I now restart LIQ manually, it works again.
This seems very strange to me, because I haven't found any reason by
myself, why it doesn't start automatically.
In the log, there is written:
-----------------------------------------------------
...
2010/04/10 06:01:43 [randomisiert(dot)txt:3] Finished with
"/home/musik/nachts/Feindflug - Roter Schnee V06.mp3"
2010/04/10 06:01:43 [format.mp3:4] close "/home/musik/nachts/Feindflug -
Roter Schnee V06.mp3"
2010/04/10 06:01:43 [randomisiert(dot)txt:4] Remaining: 0, queued:
1323000, taking: 1323000
2010/04/10 06:01:43 [randomisiert(dot)txt:1] Failed to prepare track:
unresolved request
2010/04/10 06:01:43 [randomisiert(dot)txt:4] Activations changed:
static=[],
dynamic=[src_4438:src_4439:src_4443:src_4445:src_4447:src_4448:src_4449:src_4451:src_4453:mksafe:output(dot)icecast(dot)lame:output(dot)icecast(dot)lame].
2010/04/10 06:01:43 [format.mp3:4] open "/home/musik/jingles/Jingle 4.mp3"
...
-------------------------------------------------------
because of "unresolved request" I guess, that a file could not be found.
Unfortunately it doenst give me the information, which file.
I have checked the playlist: All rights are set correctly and the files
in the playlist are existing and the rights are okay (777).
Most irritating is the fact, that after a restart it works and the other
playlists work either.
The only thing I can imagine is that, for some reason, liquidsoap
'wants" to play the old playlist again.
Can someone imagine, what is happening here?
Thank you and regards
Chricken
At the end my liq-script:
-----------------------------------------------------------
#!/usr/bin/liquidsoap
# Print log messages to the console,
# can also be done by passing the -v option to liquidsoap.
set("log.stdout", false)
# Logging
set("scheduler.log",false)
set("log.level", 4)
set("log.file.path","/home/musik/radio.log")
# Live-Einstellungen
set("harbor.bind_addr","0.0.0.0")
set("harbor.port",8100)
set("harbor.password","257.acht")
# Live source definieren
def live_start() =
log("... got live source ...")
end
def live_stop() =
log("... live source has gone ...")
end
live = input.harbor("livemount")
# Playlisten definieren
default = single("/home/musik/jingles/Jingle 4.mp3")
# Live-Sendungen
elektroland = playlist(mode = "normal", reload = 1, reload_mode =
"rounds", "/home/musik/Elektroland/playlist.pls")
# Große Sammel-Playlisten
tags = playlist(mode = "normal", reload = 1, reload_mode = "rounds",
"/home/musik/tags/randomisiert.txt")
abends = playlist(mode = "normal", reload = 1, reload_mode = "rounds",
"/home/musik/abends/randomisiert.txt")
nachts = playlist(mode = "normal", reload = 1, reload_mode = "rounds",
"/home/musik/nachts/randomisiert.txt")
# Jingles
jingles = playlist(mode = "normal", reload = 1, reload_mode = "rounds",
"/home/musik/jingles/playlist.pls")
radio = fallback(track_sensitive=true,[switch([
({ (6w) and 14h-14h15m }, elektroland),
({ 6h-19h }, tags),
({ 19h-03h }, abends),
({ 3h-6h }, nachts)]),
default])
# (2700 sec = 45 min)
# Ausgabe eines Jingles alle 45 Minuten
timed_jingles = delay(2700.,jingles)
radio = fallback([timed_jingles,radio])
radio = amplify(1.8,override="replay_gain", radio)
#radio = compress(threshold=-5., debug=true, rms_window=20., radio)
radio = crossfade(start_next=8.,fade_out=5.,fade_in=7.,radio)
full = fallback(track_sensitive=false,[live,radio])
#Metadaten für den Player schreiben
full = mksafe(on_metadata(fun(meta) ->
system("/home/musik/status_schreiben"),full))
# Output the stream as MP3
output.icecast.lame(bitrate = 160, name = "welle303", host =
"localhost", public=false, port = 8000, password = "303istdiezahl",
mount = "radio", restart=true, genre="electronica",
url="http://www.welle303.de", description="24/7 nur die beste
elektronische Musik", full)
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users