Savonet,
Thanks for the reply. Yes I believe it is a setting issue, as you have so many
successful individuals using your service.
There's no lastfm submissions (I don't even know how that works or what its
for).
What I do know is that I have 10 sets at around 2 to 2 1/2 hours of length at
256 kbps to 320 kbps quality that will need to be played each day, and its
currently prebuffering in winamp because it's loading on the liquidsoap service.
To my understanding, you're saying we should edit the fallback, and add blank?
Pretty much the scenario is this... The first set loads up (its fine if this
one buffers), but then when that set finishes, the jingle will fade in, but,
before the jingle even plays it has to load the next set, in which case we see
Prebuffering 0% for about 4 to 5 seconds, and then the jingle starts, and then
the set starts.
You're saying that we can insert dead air over that prebuffering (or any
prebuffering) ? I'd rather have dead air than prebuffering messages, but then
again I'd also rather see these sets load up and play when they are supposed
to.
So perhaps is there a way to cache the next track? I will look into the
playlist suggestion that was also made.
In the mean-time, if you have any suggestions or code you could send me so I
could stop asking for help (lol), it might save us both some time, as I'm quite
new to this.
Here is my script:
set("server.telnet",true)
set("log.file.path", "nfm.log")
live = input.http(id="live", buffer=10.,
autostart=false, "http://localhost:8000/live")
live = insert_metadata(id="livemeta",clear_metadata(live))
live = strip_blank(length=10.,live)
playlist = playlist.safe(reload=20, reload_mode="seconds",
"/home/nocturnal/playlists/reload-test.pls",
mode="normal")
playlist = rewrite_metadata(
[("artist",("[Nocturnal.FM] "^"$(artist)")),
("title",("$(title) "^"[The best trance &
progressive] ")),
("album","")],playlist)
# Transitions & Jingle
jingle = normalize( single
("/home/nocturnal/tunes/JINGLE/NFM-Jingle-20090904.mp3") )
# Fallbacks
radio = fallback(track_sensitive = false, [playlist])
# Jingle Fading
def fade(jingles,s)
fade_in = 12.
fade_out = 10.
start_next = 3.
def fader(from,to)
from = fade.out(duration=fade_out,from)
to = fade.in(duration=fade_in,to)
add(normalize=false,
[ to,
sequence([ jingles, fallback([]) ]),
from ])
end
cross(duration=start_next,fader,s)
end
radio = fade(jingle,radio)
# Outputs
# OMITTED for privacy
output.icecast.vorbis (*********** radio)
-----------------------------------------------------------------------------
Also if you submit the songs to lastfm, it can trigger the computation of
the length or the song, which costs a lot of compuation in the case of
mp3.
More generaly, the load may depend on the structure of your script. Hence,
it would be easier to give an advice with the script.
Also, keep in mind that the latency you expect may be observed at start-
up, when liquidsoap is filling its queues. After some time, when the
queues are correctly filled, the latency should not appear any more since
the time needed to push a new file is covered by the remaining queued
time.
In particular, you have a parameter for each request-based operators which
allows to control the length of this queue so that you can make it bigger
in order to have a smoothest latency.
I agree that it is not easy to find more than the documentation online.
Our main communication channels are IRC and the mailing list. I believe
that in your case, you issue is more a concern about setting things
properly than a real bugs.
Hence, I close this ticket, but I warmly invite you to follow this
conversation by email, at [email protected] or via IRC
on the #savonet channel on freenode. Email, I guess, is the prefered
alternative.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users