The script you've posted has zero chance of ever working as they are
syntactically incorrect. You're essentially trying to define two inputs
(the playlist and /stream) then trying to output to two streams
(/mp3-128.mp3 and /mp3-96mp3) so your icecast MUST have 3 streams for that
to ever work, yet there is nothing being SENT to /stream anyway. and your
playlist definition is, besides all manner of wrong, never going to be used
in the outputs, because the outputs are being defined before the input

Read what you have, then compare it with what I have offered as a solution
(twice now, and you've not shown any willingness to use any of what I've
suggested)

See how completely different they are? Yours has absolutely no chance of
working, mine has a 99% chance of being exactly what you want.



On 1 December 2014 at 17:04, Sarah k Alawami <marri...@gmail.com> wrote:

> I want the automation play list to output to my icecast script  like I
> normally could do with centova cast. So it will play from my playlist then
> output using that script file to the various streams which works. When I
> get on the /stream mount point it actually will stream to those 2 edition
> mounts I have at ke7zum.tffppodcast.com:80
>
> I know this works as I know a friend who did a similar thing using liquid
> soap and audimation just liek you can wiht centova cast.Failing all of that
> I could always use this maybe.
>
> http://www.sourcefabric.org/en/airtime/ or this one
>
> http://sourceforge.net/projects/robinet-lq/
>
> assumign I can install these on to my linode and  have them do what I want
> so I don't have to code anything too drastic.
>
>
> > On Nov 30, 2014, at 9:47 PM, John Plsek <jaroma...@gmail.com> wrote:
> >
> > It's nothing like I suggested yesterday
> >
> > e.g.
> >
> > icecast = %include "/home/marrie125/.liq/encode.liq"
> > Why? why are you still doing xyz = %include .... that is wrong
> >  icecast)
> > playlist("~/pls/", mode="random")
> >   mksafe
> >
> >
> > This is total nonsense
> >
> > #input the stream from my icecast server
> > url = "
> > http://ke7zum.tffppodcast.com:80/stream.m3u
> > "
> > input = mksafe(input.http(url))
> >
> >
> > So, that's setting your input to come from icecast, right! So, what is
> on that stream? How is it being sourced?
> >
> > You insist on having an include file, you insist on including it at the
> wrong point in the wrong way ... try this (it satisfies your NEED for two
> files and an include)
> >
> > This is the "main" file:
> >
> > input = mksafe(playlist("~/pls/", mode="random"))
> > %include "/home/marrie125/.liq/encode.liq"
> >
> > This is the included file (encode.liq) - NOTE, ITS NOT THE SAME AS YOURS
> >
> > # first transcoder : MP3 128 kbps
> > output.icecast(
> >   %mp3(bitrate=128),
> >   mount="/mp3-128.mp3",
> >   host="ke7zum.tffppodcast.com", port=80, password="whwatever",
> >   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="whwatever",
> >   description="mp3 96kbps stream of the main output.", url="
> http://tffppodcast.com/listen";,
> >   input)
> >
> >
> >
> > Do the above - the bits in BLUE, only those bits - see if that works
> >
> > On 1 December 2014 at 13:36, Sarah k Alawami <marri...@gmail.com> wrote:
> > Actually stand by I have to brake that link. I goofed.  I had to edit
> out some stuff.  Here you go.
> >
> > http://tny.cz/18ef6923
> >
> > sorry about that all.
> >
> > Blessings.
> >> On Nov 30, 2014, at 6:08 PM, Eduardo Martinez <erm13marti...@gmail.com>
> wrote:
> >>
> >> Can you post the complete contents of the main script you are trying to
> debug, as well of the contents of the %include file?
> >>
> >> Having the full scripts will make it easier for other people to
> recreate the error and assist in debugging.
> >> On Nov 30, 2014 5:23 PM, "Sarah k Alawami" <marri...@gmail.com> wrote:
> >> Well, the plot thickens. it worked before but my main automation script
> is broken with the same  error.File "/home/marrie125/.liq/encode.liq", line
> 2, char 6 before "=": Parse error!  Here is the code for thsi script which
> is almost  the same as the christmas script.
> >> http://tny.cz/2bd35040
> >>
> >> So how can I fix this an  better imagine how this will actually work?
> >> > On Nov 28, 2014, at 9:13 PM, Jonathan <jonathancandler_...@q.com>
> wrote:
> >> >
> >> > 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.
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> 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
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
>
>
>
> ------------------------------------------------------------------------------
> 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