#53: Revised title and co. syntax, string manipulation
------------------------+---------------------------------------------------
 Reporter:  toots       |       Owner:  admin
     Type:  Feature     |      Status:  new  
 Priority:  4           |   Milestone:       
Component:  Liquidsoap  |     Version:  0.3.4
 Keywords:              |  
------------------------+---------------------------------------------------
 Actual syntax for defining stings for title and co is somewhat too much
 bash-like, and quite unreadable:


 {{{
 title = '$(if $(title),"$(title)","Unknown Title")$(if $(artist), " by
 $(artist)")'%[("title",meta['title']),("artist",meta['artist'])]
 }}}


 Besides one may want to perform capture and substition with strings.

 It could be nice to have proper string manipulation operators.

 I would propose some binding to pcre if you don't see any objection..

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/53>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à