Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Metadata injection methods

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Apr 15, 2008 10:26 am    Post subject: Metadata injection methods Reply with quote

Hi.

I'm new to Icecast server and have just recently started using it. I am trying to find information about methods of injecting metadata on the fly into a live stream. For example, if I want to display the currently playing track name, I need a method to inject this. I know that it is possible to do this using source tools (such as Winamp with the OddcastV3 plugin for example), but I'm after a method which does it via soemthing like an http post (I believe this type of thing is possible on a Shoutcast server?). Can anyone tell me if this type of thing is possible please and if so point me in the right direction for some documentation/info?

Many thanks, Dan.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Apr 15, 2008 12:00 pm    Post subject: Reply with quote

not with POST but a GET can be used with something like /admin/metadata?mount=/mount&mode=updinfo&song=New%20Title

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Apr 15, 2008 12:45 pm    Post subject: Reply with quote

perfect. thats exactly what i was after. thanks.
Back to top
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Mon May 05, 2008 4:41 pm    Post subject: Reply with quote

Yep, it works, great feature:
Quote:
http://admin:hackme@server.url:port/admin/metadata.xsl?mode=updinfo&charset=UTF-8&mount=%2Fmount&song=title
Just make sure admin username:password is not left out of the url. And in this example mount is without character "/".

Cool
Back to top
View user's profile Send private message
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Tue May 06, 2008 7:24 am    Post subject: Reply with quote

There is a bug in this (kh34a): the update seems to work (the actual audio stream is updated, it shows well in the player), however after some time the status.xsl doesn't reflect the changes. It looks like the entire status.xsl is frozen.
Back to top
View user's profile Send private message
robertut



Joined: 31 Aug 2007
Posts: 156

PostPosted: Fri May 09, 2008 10:43 pm    Post subject: Reply with quote

Is it a problem if I update once at every 60 seconds the metadata this way, for all my mountpoints, one by one?

- I update by calling http://admin:hackme@server.url:port/admin/metadata.xsl?mode=updinfo&charset=UTF-8&mount=%2Fmount&song=title
- I call status.xsl to check wether it updated or not
- if not, update again immediately
- if yes, update after 60 seconds with new metadata

It looks like I often enter the loop of updating immediately, because the result of the update is always 1, however status.xsl and the stream itself don't get updated. Strangely though, If i click the update link in the web interface, it works.

Am I doing something wrong? (kh34a)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 09, 2008 11:09 pm    Post subject: Reply with quote

are you saying that all updates to stats stop or just that the stats for that isn't working. The error log is key here.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber