Hi,

On Mon, Jul 20, 2009 at 10:27 PM, polemon<[email protected]> wrote:
> Hi, when setting metadata from the telnet console,
> liquidsoap behaves incorrectly when it stumbles over an '&'.

I just ran a quick test:
$ liquidsoap -t '
    set("server.telnet.port",2222)
    output.dummy(on_metadata(fun (m) -> log("#{m}"),
      insert_metadata(id="blip",blank())))'

Then I issued two telnet commands:
blip.insert key="foo"
Done
END
blip.insert key="foo & foo"
Done
END

The logs are as expected:
2009/07/21 13:47:12 [lang:3] [ ("key","foo") ]
2009/07/21 13:47:26 [lang:3] [ ("key","foo & foo") ]

> This applies to *all* parts of metadata, whether it is artist, title, it 
> doesn't matter.

I suspect the metadata is correctly inserted in the stream inside
liquidsoap, but the ampersand makes something break when encoding to
mp3/ogg, or when sensing the metadata to the server. In a nutshell,
you should look somewhere else, and possibly send us more details.

Good luck,
-- 
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to