Server log in

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

Server log in

Post by kqlz »

Hey Jay,

I can't seem to use my Admin login with 0.9.72.
I can get to where I can see the user agents but the Ban and VIP I can not.

I checked the conf file and it's correct. (Admin and Source have the same info for user name and password.)

It gives me:
"401 Unauthorized
You are not authorized to view this resource"
after 3 tries.

What am I doing wrong?

Thanks
John
Thanks!
John
http://www.kqlz.org
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

your admin and source need seperate username's and passwords combos

BTW let me know if aacp is listing on shoutcast or not.
- Jay
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

Post by kqlz »

Ok got it.
I had to clear my cache and cookies then it worked just fine.

The only YP it's listing on is Steamcast.com.
No Shoutcast and No xiph.org is showing in the log file.

John
Thanks!
John
http://www.kqlz.org
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

Check the point the Source makes the connection and see if there are any errors.

The reason I asked was because I released it this morning without that patch and then patched it and redistributed it with it a few minutes later, so you might try redownloading it and seeing if it works now.
- Jay
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

Post by kqlz »

Ok Jay Thanks!
I must have download the 1st one.
It touched Shoutcast and added me but still no xiph.org.

Also what is the string for the metadata?
Before it was:
http://IP:PORT/admin.cgi?pass=PASSWORD&mode=updinfo&mount=/stream.aac&song=SONGHERE

But it don't work anymore.

Thanks
John
Thanks!
John
http://www.kqlz.org
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

you don't have to specify a mount, just

ip:8000/admin.cgi?mode=updinfo&pass=password&song=Song%20Title

Make sure you use the encoder's password.
- Jay
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

Post by kqlz »

Jay wrote:you don't have to specify a mount, just

ip:8000/admin.cgi?mode=updinfo&pass=password&song=Song%20Title

Make sure you use the encoder's password.
Tried that from a browser and it's asking for User Name and Password in a popup.

I send the data using a perl script.

Not sure what to try next.
Should I include a user name somewhere in the call?
I tried:
ip:8000/admin.cgi?mode=updinfo&user=username&pass=password&song=Song%20Title

with no luck.
John
Thanks!
John
http://www.kqlz.org
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

well I tuned into your stream and saw TEST as your current title, then 123. So someone is doing something right :)

The username is not neccessary, only password, make sure that SourceIsSC is set to yes in the source configuration but I gather by the results from above that it is working already.
- Jay
User avatar
kqlz
Posts: 33
Joined: Thu Jan 17, 2002 4:43 am
Location: Pittsburgh, PA
Contact:

Post by kqlz »

Jay wrote:well I tuned into your stream and saw TEST as your current title, then 123. So someone is doing something right :)

The username is not neccessary, only password, make sure that SourceIsSC is set to yes in the source configuration but I gather by the results from above that it is working already.
Ok I got it now.
In perl I had to use the admin password:

admin.cgi?mode=updinfo&pass=admin_password&song='.$_.' HTTP/1.0
User-Agent: Mozilla
Authorization: Basic admin_user:admin_password (in base64)

Works great now!!
Thanks for the help Jay!

John
Thanks!
John
http://www.kqlz.org
Post Reply