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 

Changing the stream info on the fly

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



Joined: 09 Aug 2007
Posts: 18

PostPosted: Thu Aug 09, 2007 8:07 pm    Post subject: Changing the stream info on the fly Reply with quote

Hi guys,

just set up an ice cast server and very impressed with audio quality.

Quick question really...

Can you change the title of a stream whilst listeners are connected without having to stop the stream and start it again?

From what i can see, any changes made (i.e. adding another mountpoint to move listners to or changing the details of a live mountpoint) in the config file would mean stopping and re-starting icecast

am i right about this?

Once again, keep up the great work on this project.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Aug 09, 2007 10:40 pm    Post subject: Reply with quote

Many changes can be made to the xml and they would be applied when a HUP signal is sent but many streams send title information as metadata and that does not require an xml update.

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



Joined: 09 Aug 2007
Posts: 18

PostPosted: Thu Aug 09, 2007 10:41 pm    Post subject: Reply with quote

KH, do you know the answer to this?

I have searched the forums and cannot sem to find a definate answer.

Just need to know whether you need to restart icecast or not?

Thanks

Mario
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Anonymous
Guest





PostPosted: Thu Aug 09, 2007 11:51 pm    Post subject: Reply with quote

after any change to the xml you need to restart icecast yes
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 10, 2007 12:51 am    Post subject: Reply with quote

No, many xml changes do apply on a reload but the OP was asking about title changes which (depending on what exactly we are dealing with) has nothing to do with the xml.

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



Joined: 09 Aug 2007
Posts: 18

PostPosted: Fri Aug 31, 2007 6:59 pm    Post subject: specs Reply with quote

Hi Karl,

i've been away...

okay, i am running oddcast DSP plugin for winamp with icecast2.3.1 on Fedora Core 2 VPS.

is there any other info you might need?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 31, 2007 9:17 pm    Post subject: Reply with quote

Again it depends on what you mean by title. Any listener connection has a stream name which is part of the http headers, changes to that will require a source restart. If you are talking about general metadata updates, then those kind that changes are done by the source client and don't require any configuration changes to icecast.

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



Joined: 09 Aug 2007
Posts: 18

PostPosted: Sat Sep 01, 2007 2:55 pm    Post subject: Reply with quote

what i would ideally like to happen is have the stream name stay the same all the time. this would be the stations name i suppose.

Then have the current show change via metadata update to display the current show the client is listening to.

I've never managed to get my head round how to do these metadata updates.

can you help?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Sep 01, 2007 4:26 pm    Post subject: Reply with quote

The stream name is set by the source client, the metadata varies depending on format used, with mp3 style updates, the source client issues a url request to the server at track change (the server then inserts this metadata into the stream for listeners who request them), with vorbis the metadata is in the original stream from the source client.

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



Joined: 09 Aug 2007
Posts: 18

PostPosted: Sun Sep 02, 2007 11:24 am    Post subject: Reply with quote

Thnks Karl,

so if i am running oddcast DSP plugin, streaming in ogg format and recording live from line in... how do i change the metadata of the stream?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kozlov



Joined: 26 Sep 2006
Posts: 41
Location: Poland, Gdansk

PostPosted: Sun Sep 02, 2007 11:53 am    Post subject: Reply with quote

Here. You have some options to get it more automated.
_________________
polska dokumentacja serwera Icecast2 / polish documentation of Icecast2
Back to top
View user's profile Send private message
m-dizzle



Joined: 09 Aug 2007
Posts: 18

PostPosted: Mon Sep 03, 2007 8:34 pm    Post subject: Reply with quote

chcheers mate, i shall have a little play.

one question though, i do not understand what kind of URL it expects fo the metadata?

is it some kind if text file that it reads or something? Or can you just type a string, and thats what it prints out on the players?

thanks for all the help guys.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kozlov



Joined: 26 Sep 2006
Posts: 41
Location: Poland, Gdansk

PostPosted: Sun Sep 09, 2007 2:34 pm    Post subject: Reply with quote

Guess it have to be text file - how could you display a binary data in player? Smile I think program isn't *intelligent* and won't parse XML for <title /> or sth. So I guess it shall be text file only with your metadata.
_________________
polska dokumentacja serwera Icecast2 / polish documentation of Icecast2
Back to top
View user's profile Send private message
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