<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class="">I am writing a source client (from scratch). I’ve got the actual audio streaming part worked out just fine, but the metadata has me scratching my head a little bit.</div><div class="">According to the docs, to update metadata for an mp3 stream you’re supposed to issue an http request like this:</div><div class=""><a href="http://hostname:port/admin/metadata?mode=updinfo&mount=/station&song=test" class="">http://hostname:port/admin/metadata?mode=updinfo&mount=/station&song=test</a></div><div class="">If I send this request authenticated with the source username/password, I get this, and the metadata is not updated:</div><div class=""><div class="line" style="font-family: monospace; font-size: 13px;"><span class="tag" style="color: rgb(136, 18, 128);"><iceresponse></span></div><div class="collapsible-content" style="margin-left: 1em; font-family: monospace; font-size: 13px;"><div class="line"><span class="tag" style="color: rgb(136, 18, 128);"><message></span><span class="text">Mountpoint will not accept URL updates</span><span class="tag" style="color: rgb(136, 18, 128);"></message></span></div><div class="line"><span class="tag" style="color: rgb(136, 18, 128);"><return></span><span class="text">1</span><span class="tag" style="color: rgb(136, 18, 128);"></return></span></div></div><div class="line" style="font-family: monospace; font-size: 13px;"><span class="tag" style="color: rgb(136, 18, 128);"></iceresponse></span></div></div><div class="line" style="font-family: monospace; font-size: 13px;"><span class="tag" style="color: rgb(136, 18, 128);">If I issue the same request but authenticate it using the admin password, it works and shows the following:</span></div><div class="line" style="font-family: monospace; font-size: 13px;"><span class="tag" style="color: rgb(136, 18, 128);"><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);"><iceresponse></span></div><div class="collapsible-content" style="margin-left: 1em; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><div class="line"><span class="tag" style="color: rgb(136, 18, 128);"><message></span><span class="text">Metadata update successful</span><span class="tag" style="color: rgb(136, 18, 128);"></message></span></div><div class="line"><span class="tag" style="color: rgb(136, 18, 128);"><return></span><span class="text">1</span><span class="tag" style="color: rgb(136, 18, 128);"></return></span></div></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);"></iceresponse></span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">Lastly, if I hit admin/metadata.xsl instead of admin/metadata, and authenticate with source credentials and the exact same query parameters, it updates successfully, but of course returns a full HTML admin page instead of just the simple xml response.</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">For now I’m having to hit the metadata.xsl page and then probe the resulting HTML for the words metadata update successful instead of being able to do it the intended way as per the example in the documentation.</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">What gives?</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">Also, are there any other valid mode strings besides updinfo?</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">Thanks,</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);"><br class=""></span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);">Jordan.</span></div><div class="line" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span class="tag" style="color: rgb(136, 18, 128);"><br class=""></span></div></span></div></body></html>