Run this from command line: curl --user admin:hackme 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' That should set you all up, just change IP, Port and MountPoint. -- Cody Tubbs : (Certified Master Linux Administrator) : (Certified Unix Security Specialist) -- Broadway Internet On 1 Oct 2004 at 12:15, Dave St John wrote:> Looks like http url is broke again. > http://64.62.252.140:9120/status.xsl > > > Dave St John > Mediacast1 Administration > > Need Support ? > http://mediacast1.com/helpdesk > ----- Original Message ----- > From: "John" <john@kqlz.org> > To: "icecast" <icecast@xiph.org> > Sent: Thursday, September 30, 2004 7:40 PM > Subject: [Icecast] Song Updates > > > > Hello Everyone, > > > > What is the string to update song titles? > > I have seen a few but none seem to work. > > > > > > Thanks > > John > > > > > > _______________________________________________ > > Icecast mailing list > > Icecast@xiph.org > > http://lists.xiph.org/mailman/listinfo/icecast > > > > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >
Hello Cody Thanks for the response. I don't have access to curl. When I try ' http://[my server IP]:[my port]/admin/metadata?mount=/live.ogg&mode=updinfo&song=Artist_name+Title' with a web browser I get a return of "source will not accept URL updates " If I try 'http://[my server IP]:[my port]/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' (minus the .ogg on the mount) I get "Source does not exist". I have 2 streams running on that server live.ogg and live2.ogg. I even tried it in perl since I already have a script I wrote for SC so I just changed it for icecast and the same thing happens. I know in SC there is a place for a password: 'http://[IP]:[PORT]/admin.cgi?pass=[PASSWORD]&mode=updinfo&song=[SONG]song&url=http://www.yousite.com' I'm stumped John Cody Tubbs (wISPdirect) wrote:>Run this from command line: > >curl --user admin:hackme 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > >That should set you all up, just change IP, Port and MountPoint. > > >
go download curl, you need it, the method you're trying wont work, it's what I tried first until I figured out curl worked instead. On 1 Oct 2004 at 16:49, John wrote:> Hello Cody > Thanks for the response. > > I don't have access to curl. > > When I try ' http://[my server IP]:[my > port]/admin/metadata?mount=/live.ogg&mode=updinfo&song=Artist_name+Title' > with a web browser > I get a return of "source will not accept URL updates " > > If I try 'http://[my server IP]:[my > port]/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > (minus the .ogg on the mount) > I get "Source does not exist". > > I have 2 streams running on that server live.ogg and live2.ogg. > I even tried it in perl since I already have a script I wrote for SC so > I just changed it for icecast and the same thing happens. > > I know in SC there is a place for a password: > 'http://[IP]:[PORT]/admin.cgi?pass=[PASSWORD]&mode=updinfo&song=[SONG]song&url=http://www.yousite.com' > > I'm stumped > > John >> Cody Tubbs (wISPdirect) wrote: > > >Run this from command line: > > > >curl --user admin:hackme 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > > > >That should set you all up, just change IP, Port and MountPoint. > > > > > > > > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- Cody Tubbs : (Certified Master Linux Administrator) : (Certified Unix Security Specialist) -- wISPdirect : http://www.wISPdirect.com -- Broadway Internet
John wrote:> When I try ' http://[my server IP]:[my > port]/admin/metadata?mount=/live.ogg&mode=updinfo&song=Artist_name+Title' > with a web browser > I get a return of "source will not accept URL updates "I don't think this method works with Ogg Vorbis streams, as metadata is expected in the stream itself. I could be wrong about this though. Geoff.
(I'm assuming this was meant for the list) Dave St John wrote:> would a socket connection write do the trick?If I'm right about this, no it wouldn't. What is done in the ogg vorbis feed is to start a new logical ogg stream, which allows the sending of new vorbis tags. You can't just plonk tags anywhere in a vorbis stream, they have to be in the second header packet. Now I guess Icecast could be modified to accept the URL method of metadata updates and generate a new stream itself. This approach would have certain advantages, particularly where the process controling the music etc wasn't the process doing the encoding (the MP3 approach makes it possible to do this). But I don't know whether subsequent packets/pages would need to be renumbered due to it being a new stream or whether starting a stream in the middle (numerically) is legal. A vorbis guru will have to answer that one. And if packets/pages do have to be renumbered on the fly, I don't know if this would cause too much complexity or not. I guess all it would require is tracking of offset values for each mountpoint. Geoff.
On Sat, 2004-10-02 at 01:42, Geoff Shang wrote:> (I'm assuming this was meant for the list) > > Dave St John wrote: > > > would a socket connection write do the trick? > > If I'm right about this, no it wouldn't. What is done in the ogg vorbis > feed is to start a new logical ogg stream, which allows the sending of new > vorbis tags. You can't just plonk tags anywhere in a vorbis stream, they > have to be in the second header packet.correct, the metadata sits in the second packet of a logical stream. If people really want this then they can use the older vorbis module in the kh branch but that is only enabled via configure --enable-vorbis-updates I haven't checked for ages but it should still work fine and the url is the same syntax for mp3 streams. karl.