-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
I'm absolutely not a Liquidsoap expert, I'm learning every day, so I'm
maybe completely off but in your :
fallback([
switch([
({ 3-12h }, smooth),
({ 12h-21h }, pop),
({ 21h-3h }, techno])])
I've noticed that your fallback node falls back to no safe branch,
there's only one entry in your list (the switch.)
Since your playlists can be reloaded I'm not sure they count as safe
operators. I don't know. But if your script can be read then it's valid
anyway.
mksafe will just make sure blank is output if the source fails. Was that
the problem?
regards.
- --
best regards,
okay_awright
<okay_awright AT ddcr DOT biz>
[PGP key on request]
On 03/08/2011 22:34, Josh wrote:
> hi all:
> i have updated my script so it does diffrent types of music at diffrent times
> of the day and its givving me lots of problems with starting. here is the
> part of the script which i just addid, the other parts work:
> #lets add the music sources
> # pop music
> pop = playlist(mode='randomize', reload=7200, '/home/blradio/radio/music/pop')
> # dance/club/techno
> techno = playlist(mode='randomize', reload=7200,
> '/home/blradio/radio/music/techno')
> # smooth morning music
> smooth = playlist(mode='randomize', reload=7200,
> '/home/blradio/radio/music/smooth')
> # lets make this play at different times of the day
> music = fallback([
> switch([
> ({ 3-12h }, smooth),
> ({ 12h-21h }, pop),
> ({ 21h-3h }, techno])])
> # Adding normalization and compression
> music = nrj(music)
> # Adding smart_crossfade transitions
> music = smart_crossfade(music)
> # add some thing to make sure that it doesnt fail when loding.
> music = mksafe(music)
>
> thanks if you can help, josh.
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
>
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
-----BEGIN PGP SIGNATURE-----
iQEcBAEBAgAGBQJOOxMgAAoJEN2X/7ng71pTVmQIAKbtOzwHxrBggaU45ovc0Vi+
RgJ8LHDu26ck/fgpCZ0d1yp/hMeO2+bFH+NB5knAn0mVVLdfYje6Mf78CMecHJJS
KIvxegrAVZrxzxCPnnpjIx99mZdKc2F3thyI0ekwpyYyu7yC0LL3U8TWkc0xCQQa
HrPI4an5khw9vQdS09Ynln16zIm0ei4bLLFyMgvQ6H+1h9P1qK68Tpp6ftT53iJr
B8KqPYkXEy4bws3aU5aXkXuizHWmjhLnlbaRO2TMRrOUiqu38KvC5roxTLy+3GWw
Zexib+5J1HPADPk0XHsjJz/NWTtaf6pfni01P/wJmEIqsyLxtadeq2eWiX3N2SU=
=wM8q
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users