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