if you mean metadata-tags like Artist - Title I have to admit that I don't know, cause I don't care in my situation.Nolan Wagner said:Ah! so if I modify this, will it show what's playing in airtime, or no?
Dario Ampuy said:the only problem with the fallback solutions posted in here is the potential legal problems... in most countries you have to have a log of what you were broadcasting (something airtime fills wonderfully) but doing the fallback with those ls_script modifications won't show in the logs, wich could be problematic if the regulation agency decides to show up asking for those logs... if you really need automation then you should plan ahead and put some 24 hour smart block full of music, or wait/ask for the devs to implement an autodj feature in the airtime framework... correct me if i'm wrong in this
meta = ref []
# s = some source
# Update current metadata
# converted in UTF8
def update_meta(m) =
m = metadata.export(m)
recode = string.recode(out_enc="UTF-8")
def f(x) =
(recode(fst(x)),recode(snd(x)))
end
meta := list.map(f,m)
end
# Apply update_metadata
# every time we see a new
# metadata
s = on_metadata(update_meta,s)
# Return the json content
# of meta
def get_meta(~protocol,~data,~headers,uri) =
m = !meta
http_response(
protocol=protocol,
code=200,
headers=[("Content-Type","application/json; charset=utf-8")],
data=json_of(m)
)
end
# Register get_meta at port 700
harbor.http.register(port=7000,method="GET","/getmeta",get_meta)
Now all you have to do in your browser is go to
http://yourIP:7000/getmeta
and you see it,
You can include songname,album,composer you name it.
For me I write (submit ) the data to html and then pull it down via php.
Oh by the way go here
http://savonet.sourceforge.net/doc-svn/harbor_http.html
You will see many other alternatives.
So here is my thoughts
You should not hide any information through your logs,If I were an auditor,I would want the logs
Over any customized or other results.
Embrace authority,do not fear it,you will be a happier person no matter what the outcome.
Finally, Ask like a child,fixed like an Adult.
You should never come to conclusion before you start solving a problem,but I guess we
are all built different.
I hate software that does everything for me,Yes I hate them,I want to be able to
Have it my way and that's why my main computer will never again be my main compute
Nor will Any of the Windows Software.
I want plugins, templates and add-on etc. like xbmc and mythtv.
I want to be thought to fish not given a fish.
Oh So for anyone who think why have two logs etc.
Here is a master piece of software that will extract your information from Icecast.
and gives auto DJ.
http://sourceforge.net/projects/mscplite/
It looks like you're new here. If you want to get involved, click one of these buttons!