| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu Jun 12, 2008 3:50 am Post subject: Updating metadata without admin authentification |
|
|
I want update metadata from php script:
| Code: |
$f = @fsockopen('localhost',8000,$errno, $errstr, 5);
fputs($f, "GET /admin/metadata.xsl?mount=/my_radio&mode=updinfo&song=test HTTP/1.0\r\nHost: localhost:8000\r\n\r\n"); |
But it doesn't work, icecast sends header: HTTP/1.0 401 Authentication Required
Can i update metadata without admin authentification?  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Jun 12, 2008 12:34 pm Post subject: |
|
|
yes, but you need at least the source user/pass auth. We can't just allow anyone to modify the stream metadata.
karl. |
|
| Back to top |
|
 |
liteFun
Joined: 13 Jan 2006 Posts: 79
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jun 13, 2008 4:47 pm Post subject: |
|
|
and? if it fails then check the logs.
karl. |
|
| Back to top |
|
 |
|