Old 10th October 2010, 12:25   #1
Bogi
Junior Member
 
Join Date: Sep 2010
Location: Austria
Posts: 5
Updinfo for multiple streams

Hi there,

I'm currently updating the songtitle with the following script:
PHP Code:
$stream1 fopen ("http://".$host.":".$port."/admin.cgi?pass=".$password."&mode=updinfo&song=".str_replace(" ""%20"$show), "r"); 
Today I added 2 additional streams with lower bitrates and want to update their titles too. I tried several things like adding "?sid=2" or "/mp3/56" to the fopen command, but it didn't work.

I really need help with this.

Thanks in advance,
Peter

P.S.: I'm using the latest sc_serv2 beta

edit: Just tried some more things:
Opening the following URL in the browser shows the correct info for stream 2!
code:
http://myurl.com:8000/admin.cgi?sid=2&pass=xxxx&mode=viewxml

But the following URL updates stream 1
code:
http://myurl.com:8000/admin.cgi?sid=2&pass=xxxx&mode=updinfo&song=test


edit2:
Okay, as I was in a hurry to solve it, I set up 3 different servers on different ports ... now it works

Last edited by Bogi; 10th October 2010 at 14:15.
Bogi is offline   Reply With Quote
Old 11th October 2010, 22:53   #2
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
This is just one of the many bugs the current beta release of the dnas has.
The shoutcast 2 protocol does not use this kind of title update anymore.
It uses metadata sent within the stream itself.

Just a heads up for future reference.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 13th October 2010, 16:10   #3
Bogi
Junior Member
 
Join Date: Sep 2010
Location: Austria
Posts: 5
Oh, ok ... thanks for the information.
As it is working fine with 3 different servers, it's ok for me
Bogi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump