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
and transcode to http://23.239.4.143:80/mp3-96mp3 and
http://23.239.4.143:80/mp3-128.mp3

which implies that http://23.239.4.143:80/ 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";

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", 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", 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", 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", 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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]> 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
> [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