So, I'm guessing what happens, is when you first load the script, it loads the first reading of that playlist, so in a sense, it's already loaded, then when the switch happens it will read from the first loading, then, after it finishes, it will begin to read when the switch function is invoked? let me know if I'm getting that right, because I always look at my logs, and I see that it has already loaded the playlists. Just want to make sure if I'm getting the logic right.
On 11/29/2014 10:21 PM, Yoann F wrote:
Every change will be taken into account, everytime the switch is invoked. I use this on a daily basis on my radio, don't know what went wrong with you :(

2014-11-29 21:06 GMT+01:00 Jonathan <[email protected] <mailto:[email protected]>>:

    Or, will it be taken into account only when it read the playlist
    for the first time and then continues. Sorry, just trying to kind
    of get a handle on it.

    On 11/29/2014 12:57 PM, Jonathan Candler wrote:
    So you're saying, it is supposed to read the playlist when the
    switch is invoked? Because when I changed one of my playlist
    before the schedule started happening for that particular
    playlist, it did not read properly.

    Jonnyboy! Iphones rock!

    On Nov 29, 2014, at 10:52, Yoann Ferret <[email protected]
    <mailto:[email protected]>> wrote:

    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] <mailto:[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]
        <mailto:[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]
        <mailto:[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]
        <mailto:[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]
    <mailto:[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]  
<mailto:[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]
    <mailto:[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