Hi everyone, I would like to update metadata by using this request: http://server:port/admin/metadata?mount=/foo.ogg&action=updinfo&song=New+Metadata, but when I send the request, icecast returns an error: "Missing parameter" and metadata doesn't change. This is error.log: [2004-01-21 12:20:32] DBUG admin/admin_handle_request Got command (metadata) [2004-01-21 12:20:32] INFO admin/admin_handle_request Received admin command metadata on mount "/foo.ogg" [2004-01-21 12:20:32] DBUG admin/command_metadata Got metadata update request and access.log: xxx.yyy.zzz.òòò - - [21/Jan/2004:12:20:32 +0100] "GET /admin/metadata HTTP/1.1" 404 82 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031225 Firebird/0.7" 0 All the others requests work fine. I'm using icecast-2.0.0 and ices-2.0-Beta4 as source Any ideas? tnx, jigen -- jigen <jigen@autistici.org> MeTA~LAbS --- >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-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 Wed, 2004-01-21 at 13:50, Karl Heyes wrote:> this is because it's an ogg stream, the mechanism above is the way to > insert song title updates for mp3. Either insert New+Metadata at ices > (won't work when using a playlist) or use my icecast -kh22 from > www.xiph.org/~karl which has the URL code for it in. > > karl.I've tried with an mp3 stream with icecast-2.0.0 and it is the same. I've also tried with mp3 and ogg on icecast-2.0-kh22 and nothing. Maybe something wrong in server's configuration.. <p> jigen this is my icecast.xml: <icecast> <limits> <clients>50</clients> <sources>10</sources> <threadpool>5</threadpool> <queue-size>102400</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> </limits> <authentication> <!-- Sources log in with username 'source' --> <source-password>pwd</source-password> <!-- Relays log in username 'relay' --> <relay-password>lemon</relay-password> <!-- Admin logs in with the username given below --> <admin-user>admin</admin-user> <admin-password>otherpwd</admin-password> </authentication> <hostname>stream.domain.net</hostname> <!-- You may have multiple <listener> elements --> <listen-socket> <port>8008</port> <!-- <bind-address>127.0.0.1</bind-address> --> </listen-socket> <relay-shoutcast-metadata>0</relay-shoutcast-metadata> </relay> --> <fileserve>1</fileserve> <paths> <basedir>/home/kriegs/icecast2</basedir> <!-- Note that if <chroot> is turned on below, these paths must both be relative to the new root, not the original root --> <logdir>/home/kriegs/icecast2/log</logdir> <webroot>/home/kriegs/icecast2/www</webroot> <adminroot>/home/kriegs/icecast2/admin</adminroot> <!-- <pidfile>/home/kriegs/icecast2/icecast2.pid</pidfile> --> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> </logging> <security> <chroot>0</chroot> <!-- <changeowner> <user>nobody</user> <group>nogroup</group> </changeowner> --> </security> </icecast> <p><p> -- jigen <jigen@autistici.org> MeTA~LAbS --- >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-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 Wed, 2004-01-21 at 11:50, jigen wrote:> Hi everyone, > I would like to update metadata by using this request: > http://server:port/admin/metadata?mount=/foo.ogg&action=updinfo&song=New+Metadata, > but when I send the request, icecast returns an error: > "Missing parameter" and metadata doesn't change. > > This is error.log: > > [2004-01-21 12:20:32] DBUG admin/admin_handle_request > Got command (metadata) > [2004-01-21 12:20:32] INFO admin/admin_handle_request > Received admin command metadata on mount "/foo.ogg" > [2004-01-21 12:20:32] DBUG admin/command_metadata > Got metadata update request > > and access.log: > xxx.yyy.zzz.òòò - - [21/Jan/2004:12:20:32 +0100] "GET /admin/metadata > HTTP/1.1" 404 82 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) > Gecko/20031225 Firebird/0.7" 0 > > All the others requests work fine. > > I'm using icecast-2.0.0 and ices-2.0-Beta4 as sourcethis is because it's an ogg stream, the mechanism above is the way to insert song title updates for mp3. Either insert New+Metadata at ices (won't work when using a playlist) or use my icecast -kh22 from www.xiph.org/~karl which has the URL code for it in. karl. <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-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.
your close.... :) from the icecast2 documentation : http://192.168.1.10:8000/admin/metadata?mount=/mystream&mode=updinfo&song=ACDC+Back+In+Black o change your action parameter to mode and you'll be all set... and FYI, Missing parameter is a general message which means, "I was expecting you to pass in a variable into the admin request (mode in this case) but you did not"... :) oddsock At 05:50 AM 1/21/2004, you wrote:>Hi everyone, > I would like to update metadata by using this request: >http://server:port/admin/metadata?mount=/foo.ogg&action=updinfo&song=New+Metadata, > but when I send the request, icecast returns an error: > "Missing parameter" and metadata doesn't change. > > This is error.log: > > [2004-01-21 12:20:32] DBUG admin/admin_handle_request > Got command (metadata) > [2004-01-21 12:20:32] INFO admin/admin_handle_request > Received admin command metadata on mount "/foo.ogg" > [2004-01-21 12:20:32] DBUG admin/command_metadata > Got metadata update request > > and access.log: > xxx.yyy.zzz.òòò - - [21/Jan/2004:12:20:32 +0100] > "GET /admin/metadata >HTTP/1.1" 404 82 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) >Gecko/20031225 Firebird/0.7" 0 > > All the others requests work fine. > > I'm using icecast-2.0.0 and ices-2.0-Beta4 as source > > Any ideas? > > tnx, > jigen >-- >jigen <jigen@autistici.org> >MeTA~LAbS > >--- >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-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.<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-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 Wed, 2004-01-21 at 16:56, oddsock wrote: tnx I'm using Icecast-2.0.beta3 documentation : http://192.168.1.10:8000/admin/metadata?mount=/mystream.ogg&action=updinfo&song=ACDC+Back+In+Black ^^^^^^^^ Now, using -kh22 metadata changes with mp3 stream but no with ogg. <p> -- jigen <jigen@autistici.org> MeTA~LAbS --- >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-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 Wed, 21 Jan 2004, Karl Heyes wrote: Hello, I found this old message in the archive:> this is because it's an ogg stream, the mechanism above is the way to > insert song title updates for mp3. Either insert New+Metadata at ices > (won't work when using a playlist) or use my icecast -kh22 from > www.xiph.org/~karl which has the URL code for it in.is here any reason, why metadata updating of the ogg stream via HTTP requests is not included in official Icecast version (or latest -kh versions)? It would be really very useful and I'm sure lot of people would appreciate it. Thanks, Milos --- >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-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.