Again, hate to say it but what you're trying to do is useless. You DON'T have 
to set any kind of reload mode for playlist.once because it will read the 
playlist "as is" everytime it's called in your schedule. If you change the 
content of your playlist between the first time it's played and the next, it 
will be taken into account.

As far as my own testing goes, trying to use reload for a playlist.once makes 
the .liq unusable. Plus it's kind of meaningless, regardless of what the 
official API says (it might be outdated?).

If you're unsure about what you're trying to do, may I suggest you to look 
deeper into the differences between playlist.once and the regular playlist 
function.

On Sat, Nov 29, 2014 at 6:16 AM, Jonathan <[email protected]>
wrote:

> and how would I use the watch function? I believe that this is what I'm 
> looking for. I have tried it and I got some kind of acception error... I 
> can't remember what it is right now and I didn't copy it yet.
> On 11/28/2014 8:18 PM, Jonathan wrote:
>> Okay... my question is... when it switches to that particular playlist
>> with playlist.once, will it reload that particular playlist? the reason
>> Im' asking this is because of the fact I had a playlist that I have
>> changed but, it did not read it at all. is this where the reload motes
>> come into play?
>> On 11/28/2014 7:34 AM, Mark van Dijk wrote:
>>> On 11/28/2014 03:09 PM, Yoann F wrote:
>>>> "Reload" argument is for the regular playlist function, not for
>>>> playlist.once !
>>>>
>>>> With playlist.once, just give the path to the playlist, it will be
>>>> loaded every time it is called by the function, so every change in the
>>>> mean time will be taken into account.
>>> playlist.once apparently does have a reload_mode.
>>>
>>> Quoting from the reference:
>>>
>>> playlist.once
>>>
>>> (?id:string,?random:bool,?on_done:(()->unit),
>>>    ?reload_mode:string,string)->source('a)
>>>
>>> Custom playlist source written using the script language. It will read
>>> directory or playlist, play all files and stop.
>>>
>>>       id (string – defaults to ""): Force the value of the source ID.
>>>       random (bool – defaults to false): Randomize playlist content
>>>       on_done (()->unit – defaults to {()}): Function to execute when the
>>> playlist is finished
>>>       reload_mode (string – defaults to ""): If set to “watch”, will be
>>> reloaded when the playlist is changed
>>>       (unlabeled) (string): Playlist URI
>>>
>>> Maybe, for my own question, I can do something with on_done. I'll have
>>> to see.
>>>
>>> Mark
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to