Hi David,
Thank you for the fast reply.
I'd like to be a bit more specific about my question. What I'm trying to
achieve is output the currently playing track with a system command. So I'd
have system("echo FILENAME >> .txt").
My question is, what do I need to use to have the metadata in the FILENAME
part? What function or var can I use that reads this from liquidsoap? I've
seen some premade scripts where they use m['filename'], probably m stores
the output, but I'm not sure how to achieve this.
Thank you in advance.
Best regards,
*Ákos Veres*
_____________________________________________
http://akos.me - A little about me.
On Wed, Jun 15, 2011 at 9:31 AM, David Baelde <[email protected]>wrote:
> Hi,
>
> About the initial problem, I just wanted to mention that I have
> started work in branch active_subtyping which will make liquidsoap
> issue warnings about unused (inactive) sources such as the one that
> was on line 18.
>
> 2011/6/15 Akos Veres <[email protected]>:
> > My next question would be: how I can get data to be outputed by
> liquidsoap?
> > Like the lines outputed in the logs which state "Prepared XY". Any docs
> on
> > this?
>
> If you want to write a log message, then you have the log() function.
> If you want to print to standard output (or log when you're
> daemonized) there's print(). Finally, there is also system() if you
> wanna directly write to a file.
>
> Cheers,
>
> David
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users