Hi, Savonet Team!
is it possible to update stream metadata using input.harbor headers?
i suggest i must do it this way, but it doesn't work. i get blank title
instead.
<....>
meta = [] # <----- is it correct ???
def liveStart(headers)
log("[LIVE-START]: live source goes up! Switching from playlist...")
meta = headers # <----- how to do this correctly ??? i guess this
doesn't update meta variable
end
liveInput = input.harbor(id="live",
"live.ogg",
buffer=10.,
password=livePasswd,
on_connect=liveStart)
liveInput = rewrite_metadata([("title", meta["ice-name"])], liveInput) #
<----- is it correct ???
<....>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users