Hmm. It said line 6 or what ever it was where the url was i thought. Yeah the 
documentation is a bit confusing as i think that function is quite  new. 

I was using that as an output variable actually as that's what is beeing output 
to. It's all going to be output to that script an that's where my icecast 
server info and passwords are.

Actually that failed. 

Now here's the new error.

Line 9, char 49 before ",": Parse error!

If I resolve that how am I to make sure the output is sent direct to that 
script that I want to include? This is the logic I was using when setting  up 
the veriable Hee is the line in question btw.

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

The documentation does not really make it clear how that is to be written.

Blessings all.

> On Nov 28, 2014, at 5:58 PM, Jonathan <[email protected]> wrote:
> 
> not sure if this will work, but try the %include function with out the 
> output function.
> For example:
> %include "path/to/liquidsoap/script.liq
> Note: I had to actually look at the documentation because I had to make 
> sure before I would be replying to you... Hope that helps.
> On 11/28/2014 5:53 PM, Sarah k Alawami wrote:
>> Yeah. the file with the include command checks out perfect, that is the one 
>> giving the errors in the file where I put the include command.  That's the 
>> one with my passwords and stuff in it.
>> 
>> It's the file script that I have that does not. It says that file that 
>> checks out perfectly has an error.
>> 
>> I realize I'm not making sense at all. I was surprised to see this error.to 
>> see that especially since  that file that says has an error does not.
>> 
>> Following is the script that claims has an error
>> 
>> 
>> #input the stream from my icecast server
>> url = "http://ke7zum.tffppodcast.com:80/stream.m3u";
>> input = mksafe(input.http(url))
>> 
>> # first transcoder : MP3 128 kbps
>> 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)
>> 
>> Considering that I've only been learnign this language for about a month, 
>> I'm doing all right. Lol!
>> 
>> 
>> Take care.
>> 
>> 
>>> On Nov 28, 2014, at 4:35 PM, Jonathan Candler <[email protected]> 
>>> wrote:
>>> 
>>> Did you check both of the files using the --check command? Trying to figure 
>>> this  out so we can help you with this.
>>> 
>>> Jonnyboy! Iphones rock!
>>> 
>>>> On Nov 28, 2014, at 14:19, Sarah k Alawami <[email protected]> wrote:
>>>> 
>>>> Hello to all. I'm getting an  error in one of my files I encoded 
>>>> correctly. Actually I used an include statement that works but the error 
>>>> points to this. here is the error
>>>> File "/home/path/to/file", line 2, char 6 before "=": Parse error!
>>>> I looked and it checks out ok when I check that file separately with 
>>>> liquidsoap --check filename.liq. so how should I proceed from here?
>>>> 
>>>> Here is the context of the  file wherein the include statement is. and 
>>>> where he error occurs in the include file
>>>> 
>>>> #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/christmas/"), mode(random)))
>>>> mksafe
>>>> (output)
>>>> 
>>>> I hope I made some semblance of sense. Ignore the comments I have in 
>>>> there. they are for my reference only.
>>>> 
>>>> Blessings all. I'll get the hang of this and need no help eventually, I 
>>>> hope. *smiles*
>>>> ------------------------------------------------------------------------------
>>>> 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
> 
> 
> ------------------------------------------------------------------------------
> 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