Hi!

If the name of my podcast is "podcast 32.mp3", i must use this example?


 def url.split(uri) =

   ret = string.extract(pattern="#podcast ({0-9}+).mp3$#,uri)

   args = ret["2"]

   if args != "" then

 
<http://savonet.hg.sourceforge.net/hgweb/savonet/savonet/file/c3c118e52daa/liquidsoap/scripts/utils.liq#l245>
      l = string.split(separator="&",args)

     def f(x) =

 
<http://savonet.hg.sourceforge.net/hgweb/savonet/savonet/file/c3c118e52daa/liquidsoap/scripts/utils.liq#l247>
        ret = string.split(separator="=",x)

 
<http://savonet.hg.sourceforge.net/hgweb/savonet/savonet/file/c3c118e52daa/liquidsoap/scripts/utils.liq#l248>
        (url.decode(list.nth(ret,0)),

        url.decode(list.nth(ret,1)))

     end

     l = list.map(f,l)

     (ret["1"],l)

   else

     (uri,[])

   end

 end

But how recover the name of the file in play progress?
Thanks

Antoine

------------------------------------------------------------------------------
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

Reply via email to