You can reload only the playlist, not the script itself. And you can do it
via telnet only (assuming you want to do it from outside the script itself).
So, to reload the playlist, first you do in the beginning of the script
set("server.telnet",true)
set("server.telnet.port", 2425)
2425 is a random port number, you can choose a different one.
Then, after you start the script, you can do from command line:
telnet localhost 2425
and then type [name_of_playlist].reload
-----Original Message-----
From: Jonathan [mailto:[email protected]]
Sent: Sunday, August 10, 2014 4:31 PM
To: [email protected]
Subject: Re: [Savonet-users] Cross fading with liquidsoap
thanks that works a lot! now, one more question. How can I reload my
liquidsoap script without killing the process? I have tried,
/init.d/liquidsoap reload, but it just told me no file or directory.
On 8/10/2014 6:49 AM, Christo Grozev wrote:
> For example, you can do
>
>
> radio = crossfade(start_next=1.1,fade_in=0.05, fade_out=1.2.,radio)
>
>
> -----Original Message-----
> From: Jonathan [mailto:[email protected]]
> Sent: Sunday, August 10, 2014 3:28 PM
> To: [email protected]
> Subject: Re: [Savonet-users] Cross fading with liquidsoap
>
> Okay. can someon give an example of how this would be done in my current
> script in this example? I have radio = smart_crossfade (radio) Now, do I
put
> instead, "radio = crossfade (radio)" or something different.
> On 8/10/2014 6:22 AM, Christo Grozev wrote:
>> You can either provide it for every track, or feed the same default
>> info for all tracks. You can either leave the built-in defaults (s =
>> crossfade(s)) , but the crossfading time there is way to long for a
>> normal radio sound (If I remember correctly, it is more than 5
>> seconds). A normal "radio" cross-fade would be approx. 1 sec, and
>> that's what you can feed as to crossfade for every track, if you don't
> want to customize it per track.
>>
>> -----Original Message-----
>> From: Jonathan [mailto:[email protected]]
>> Sent: Sunday, August 10, 2014 3:14 PM
>> To: [email protected]
>> Subject: Re: [Savonet-users] Cross fading with liquidsoap
>>
>> and does this mean, I would have to provide it for each and every
>> track I have loaded? or just the metadata. Because, if I have to
>> provide it for every track, that would take way to much time to do...
Lol.
>> On 8/10/2014 5:32 AM, Christo Grozev wrote:
>>> In crossfade you must set your own parameters for the mix (for
>>> example, by sending meta parameters using liq_cue_out, etc). While
>>> with smart_crossfade you expect liquidsoap to do the guessing for you.
>>> If you aim for anything sounding professionally, you need to use
>>> crossfade and provide individual mix/fade information for each track.
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Jonathan Candler [mailto:[email protected]]
>>> Sent: Sunday, August 10, 2014 2:23 PM
>>> To: [email protected]
>>> Subject: Re: [Savonet-users] Cross fading with liquidsoap
>>>
>>> Question. What's the difference if I set Crossfade, or smart_crossfade?
>>>
>>> Jonnyboy! Iphones rock!
>>>
>>>> On 10 Aug 2014, at 02:09, uno <[email protected]> wrote:
>>>>
>>>> Jonathan:
>>>>> Hello all. I am not sure if anyone is on this list anymore, but if
>>>>> someone who knows a great deal of liquidsoap tell me how to
>>>>> correctly cross fade tracks? can I just use the basic operator to
>>>>> crossfade like "smart_crossfade"? or do I have to set somthings up?
>>>>> and where do I put
>>>> hi,
>>>>
>>>> why not simply:
>>>>
>>>> radio = crossfade(radio)
>>>> or
>>>> radio = smart_crossfade(radio)
>>>>
>>>> of course you can set various parameters, see
>>>> http://savonet.sourceforge.net/doc-svn/smartcrossfade.html
>>>>
>>>> --udo
>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> -
>>>> -
>>>> -------- _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>> ---------------------------------------------------------------------
>>> -
>>> ------
>>> --
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>>
>>> ---------------------------------------------------------------------
>>> -
>>> -------- _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>> ----------------------------------------------------------------------
>> ------
>> --
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>> ----------------------------------------------------------------------
>> -------- _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
----------------------------------------------------------------------------
> --
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
----------------------------------------------------------------------------
--
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
----------------------------------------------------------------------------
--
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users