hey all,

just a small question, not important but wondering how/if this could be done in 
a liquidsoap script..
i would like to call an external script 'on_metadata', passing 'm['title']', eg:

-
  system("./notify.sh --metadata --channel=#{m['channel']} --title=#{title}")
-

is there a way to escape/encode the title string? when i just use 
--title=\"#{title}\" it would break when there are double-quotes in the string, 
same for --title='#{title}' with single-quotes...

gx jonas
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to