Thomas B. Ruecker, DM8TBR
2004-Aug-06 14:57 UTC
[icecast-dev] Patches - Was: Stream metadata settings
Hi,> Here I go again. >From my side: tnx for all your effort - you're doing a great job.> This is the second patch, it adds the ability to override some YP settings > on the server.<SNIP value="patch description" /> As this was mentioned more then once on this list that it is desired to know if ppl need certain features: I want to confirm need for such a feature in Icecast! Our radio-project is a community of various ppl scattered over Europe. Some DJs always forget to set correct Metadata for their shows. As some of this Metadata is _always_ the same it would be great to have the ability to set it server-side. Thomas PS: This fallback scenario also would fit perfectly into our concept! --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Here I go again. This is the second patch, it adds the ability to override some YP settings on the server. <yp-override>1</yp-override> If this is not set, we don't override the yp flag. <yp-public>1</yp-public> When this is set, the stream will be public or non public, according to it's content. This only works when yp-override is set. It allows to suppress yp reporting or to force it, or leave it under control of the source. <yp-name>MyRadio</yp-name> This will overwrite the name given by the source with the name specified here. <yp-url><a href="http://www.radio.com/myradio.html</yp-url">http://www.radio.com/myradio.html</yp-url</a>> This will force a specific URL to be listed with the YP server. Omit to let the source control this. <yp-genre>Mixed</yp-genre> This will force a genre, as with all yp-* options, omit for the old behavior. <yp-desc>My Super Duper radio station</yp-desc> Override and force the station comment. <yp-report-as>/myradio.ogg</yp-report-as> This will override the URL given to the YP server for stream listening. Now, before there is an outcry again, let me explain this one: Assume you have a mountpoint. This mountpoint has a fallback. Now, your main mountpoint's source disconnects. It's YP information is removed. So, you're no longer listed. Now, if the fallback is public, it would either always appear side by side with your main stream, but, even worse, if it's a no-mount, it would be useless. Nobody could listen to it, ever. report-as solves this: If a fallback is set to report as the name of it's top-level stream, it will not register with YP unless it becomes active, becomes the highest level active stream in it's chain. This will ensure that, even when there is a break in transmission or you're just playing your station jingle, your station will remain listed in YP, by the correct (primary) mount name. <mount> <mount-name>/station.ogg</mount-name> <yp-override>1</yp-override> <yp-public>1</yp-public> <fallback-mount>/fallback.ogg</fallback> </mount> <mount> <mount-name>/fallback.ogg</mount-name> <no-mount>1</no-mount> <yp-override>1</yp-override> <yp-public>1</yp-public> <yp-report-as>/station.ogg</yp-report-as> </mount> This will keep your stream online, connectable and listed correctly whenever at least one of the streams has a source, building on the concept that a stream and it's fallback(s) are logically one station and should be seen as a single URL from the outside world. Melanie --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
And here's the patch, too :) Forgot to attach it! Melanie -------------- next part -------------- A non-text attachment was scrubbed... Name: icecast-yp-override.patch Type: text/x-patch Size: 12066 bytes Desc: icecast-yp-override.patch Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20031201/df928685/icecast-yp-override.bin
Before the official release of icecast2 1.0 (non beta) i would like to see pid file management, ive discussed this before on how to capture the pid, but ended up with alot of bash rigamaroo that mounted to even more headaches. omething in the config file like <pid>/path/to/icecast.pid</pid> I would be willing to donate some bandwidth to xiph, to aleaviate this issue that causes sever ps -ef | grep trauma ;) Thanks in advance for any and all considereation <p><p>Dave St John Mediacast1 Administration <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Tuesday 02 December 2003 02:14, Melanie wrote:> Here I go again. > > This is the second patch, it adds the ability to override some YP settings > on the server.Can you also provide some (basic) documentation for new features you introduce? We went for a long time without any useful docs, now that oddsock has done the hard work to give us some, we want to keep them reasonably up-to-date. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.