Hi all.
I'm trying feverishly to get the data stored in the album tag from MP3's to be
sent to the icecast "metadata_url" field (the one visible in the administration
page and showing up in Mplayer under "StreamUrl")
The example below (not working) is still attempting to achieve this via an
update using the icecast url.
I would MUCH rather this be in-band due to important sync issues if at all
possible.
Any help appreciated!
Here's my script:
#!/usr/bin/liquidsoap -v
def send_meta(m) =
ignore(http.get("http://<my_server_url>/admin/metadata.xsl?mount=%2F<my_mount>&mode=updinfo&charset=UTF-8&artist="url.encode(m["artist"])"&title="url.encode(m["title"])"&url="url.encode(m["album"])""))
end
source = playlist.safe(mode="normal", "<my_playlist>.pls")
source = on_metadata(send_meta, source)
output.icecast(
%aac+ (bitrate=32),
mount="/<my_mount>",
host="<my_server_url>", port=80, password="<my_password>",
name="<my_server_name>",
description="<my_server_description>",
genre="<my_genre>",
url="<my_website_url>",
source)
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users