never code in your sleep... you end up doing things wrong... Lol. But yeah... There is no input %include "/path/to/liquidsoap/script.liq"
kind of wondering that as well.
On 11/28/2014 9:37 PM, John Plsek wrote:

input in your case is a variable, it could just as well have been

fred = playlist ..... etc

there is no such thing as input.file or input.playlist in any documentation I've ever seen

there's input.alsa input.external input.harbor input.http etc etc etc see Source/Input section at http://savonet.sourceforge.net/doc-svn/reference.html

which documentation are you reading?



On 29 November 2014 at 15:31, Sarah k Alawami <marri...@gmail.com <mailto:marri...@gmail.com>> wrote:

    So basically if I understand the docs correctly you took that
    input line and defined it as a veriable?  The docs don't show a
    space they show input.file or input.playlist  but maybe I'm trying
    to  tackle a lot at once in one chunk. Lol! I'll probably take
    care of this when I'm more awake. Lol! Coding when drooling at the
    key board is no fun.

    Blessings.


    On Nov 28, 2014, at 8:22 PM, John Plsek <jaroma...@gmail.com
    <mailto:jaroma...@gmail.com>> wrote:


    input.(playlist) .... etc still isn't close to correct

    input = mksafe(playlist("/home/marrie125/pls/christmas",
    mode="random"))

    can you see how that is different from

    input.(playlist)"/home/marrie125/pls/christmas", mode=random
    mksafe
     (output)

    you output it using the the output part of the script I posted,
    which you don't include BEFORE the input is defined, but after,
    as I showed previously


    On 29 November 2014 at 15:10, Sarah k Alawami <marri...@gmail.com
    <mailto:marri...@gmail.com>> wrote:

        Lol. Yeah it is.  The first playlist file was just a test
        that flopped  as I kind of forgot to put up the directory¬
        where the music was. I only wrote it for a bit of a practice.

        I want to include encode.liq in to everything I do as that's
        what will happen. It will take the main mount point which
         ends in /stream.m3u and stream what ever I give it weather
        it will be live, automation  etc.which is the one with all of
        the passwords.

        the christmas playlist I do want to keep going until
        christmas ends, then I'll just remove the whole insalata
         when I'm done. So for now i do want to modify this one.

        #include the script file wherein I have my icecast server and
        encoders
        #this will be the output veriable

        %include "/home/marrie125/.liq/encode.liq"

        #input  is the folder in which the files reside.
        #using mksafe to make the source operate correctly

        input.(playlist)"/home/marrie125/pls/christmas", mode=random
          mksafe
         (output)

        The mksafe was in case somethign brakes then I just have it
        stream silence until I either quit going live, or  I fix the
        playlist folder wherein all of these files are.

        I always get confused by the perenthesis as I'm following the
        manual religiously and it is not well written enough for me
        to read it with my software. It brakes up the code in to
        seprate paragraphs so for me I don't really know when to use
        the perenthesis or not.

        Ok I'm done now. I'm willing to learn and give things a shot.
        Hehaha.

        Blessings all and happy friday.
        On Nov 28, 2014, at 7:55 PM, John Plsek <jaroma...@gmail.com
        <mailto:jaroma...@gmail.com>> wrote:

        The included script has no error, it looks almost exactly
        like the transcoding example in the liquidsoap cookbook, so
        no surprises that is correct

        Except, that you seem to want to input from
        http://23.239.4.143:80/stream <http://23.239.4.143/stream>
        and transcode to http://23.239.4.143:80/mp3-96mp3
        <http://23.239.4.143/mp3-96mp3> and
        http://23.239.4.143:80/mp3-128.mp3
        <http://23.239.4.143/mp3-128.mp3>

        which implies that http://23.239.4.143:80/
        <http://23.239.4.143/> has three streams - yet it seems to
        only be configured with 2


        The way you include it in your "main" file, you are
        essentially doing this

        output = url = "http://ke7zum.tffppodcast.com:80/stream.m3u
        <http://ke7zum.tffppodcast.com/stream.m3u>"

        Which is incorrect. Think of include as literally putting
        the non-comment lines in the included file directly where
        you have the include statement


        The rest of your main file only has an accidental
        resemblance to a liquidsoap script.

        1 - *dot parenthesis* i.e.*.( *does not look like any
        liquidsoap ever
        2 - you have 3 opening parentheses , and 4 closing
        parentheses on that *input.* line
        3 - mksafe(output) ??? what are you trying to achieve there?

        I'm only guessing, but what I think you are trying to do is
        this (all in one file):

            input = mksafe(playlist("~/pls/christmas/", mode='random'))

        output.icecast(
        %mp3(bitrate=128),
        mount="/mp3-128.mp3",
              host="ke7zum.tffppodcast.com
        <http://ke7zum.tffppodcast.com/>", port=80,
        password="blehblehblah",
        description="mp3 128kbps stream",
        url="http://tffppodcast.com/listen";,
              input)

            # Second transcoder equals mp3 96kbps  sample rate 44.1khz
        output.icecast(
        %mp3(bitrate=96),
        mount="/mp3-96mp3",
              host="ke7zum.tffppodcast.com
        <http://ke7zum.tffppodcast.com/>", port=80,
        password="blehblehblah",
        description="mp3 96kbps stream of the main output.",
        url="http://tffppodcast.com/listen";,
              input)

        Not sure if the mksafe is even necessary though

        Note: you could split it in two files for the sake of
        simplicity when changing which playlist you want

        file1.liq:
            input = mksafe(playlist("~/pls/christmas/", mode='random'))

            %include "file2.liq"

        file2.liq:
        output.icecast(
        %mp3(bitrate=128),
        mount="/mp3-128.mp3",
              host="ke7zum.tffppodcast.com
        <http://ke7zum.tffppodcast.com/>", port=80,
        password="blehblehblah",
        description="mp3 128kbps stream",
        url="http://tffppodcast.com/listen";,
              input)

            # Second transcoder equals mp3 96kbps  sample rate 44.1khz
        output.icecast(
        %mp3(bitrate=96),
        mount="/mp3-96mp3",
              host="ke7zum.tffppodcast.com
        <http://ke7zum.tffppodcast.com/>", port=80,
        password="blehblehblah",
        description="mp3 96kbps stream of the main output.",
        url="http://tffppodcast.com/listen";,
              input)

        Of course, once you know the language a bit better, you
        switch playlists without stopping and starting a new
        instance of liquidsoap, but that's probably beyond you at
        this early stage
        Regards

        John

        On 29 November 2014 at 13:22, Sarah k Alawami
        <marri...@gmail.com <mailto:marri...@gmail.com>> wrote:

            Yeah. the documentation did as well. when I read the
            quick start and the cook book, and the work shop they
            either transcribed or what not.  it worked  for this
            script. and this one  checked wiht out any errors..
            Sorry my pathes look odd. This is the way I organise
            things so I don't brake things when on the mac. Lol!
            What I can't see, I can't brake.

            #include the script file wherein I have my icecast
            server and encoders
            #this will be the output veriable

            output = %include "/home/marrie125/.liq/encode.liq"

            #input  is the folder in which the files reside.
            #using mksafe to make the source operate correctly
            #Files will then be routed to the icecast server. using
            the veriable at the top

            input.(playlist("~/pls/"))
              mksafe
             (output)


            On Nov 28, 2014, at 6:14 PM, Dane Streeter
            <dane.stree...@sharp-stream.com
            <mailto:dane.stree...@sharp-stream.com>> wrote:

input.(playlist("~/pls/christmas/"),

            This has a full stop at the end of input.

            Dane

            Sent from my iPhone

            On 29 Nov 2014, at 01:58, Jonathan
            <jonathancandler_...@q.com
            <mailto:jonathancandler_...@q.com>> wrote:

            input.(playlist("~/pls/christmas/"),
            
------------------------------------------------------------------------------
            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
            Savonet-users@lists.sourceforge.net
            <mailto:Savonet-users@lists.sourceforge.net>
            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
            Savonet-users@lists.sourceforge.net
            <mailto:Savonet-users@lists.sourceforge.net>
            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
        Savonet-users@lists.sourceforge.net
        <mailto:Savonet-users@lists.sourceforge.net>
        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
        Savonet-users@lists.sourceforge.net
        <mailto:Savonet-users@lists.sourceforge.net>
        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
    Savonet-users@lists.sourceforge.net
    <mailto:Savonet-users@lists.sourceforge.net>
    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
    Savonet-users@lists.sourceforge.net
    <mailto:Savonet-users@lists.sourceforge.net>
    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
Savonet-users@lists.sourceforge.net
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to