Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast TV / Nullsoft Video (http://forums.winamp.com/forumdisplay.php?f=152)
-   -   Stuck 3/4's of the way... (http://forums.winamp.com/showthread.php?t=133466)

masterg2k3 28th April 2003 09:43

Stuck 3/4's of the way...
 
Ok well i have encoded the files i wanted into .NSV format and have set up the server. Next thing is to do was to type nsvscsrc as i was streaming a single file. It looked as follows:

C:\Program Files\NSVtools>nsvscsrc 204.117.0.95:8001:headers.txt C:\ [Jackass.ns
v]
Adding file to list: 'Jackass.nsv'
Adding file to list: 'stream.nsv'
[re]Connecting to 204.117.0.95:8001
Opening file '[Jackass.nsv]'...Failed
connect:'204.117.0.95':'8000'
Opening file 'C:\\stream.nsv'...Success
done sending title info
[re]Connecting to 204.117.0.95:8001
[re]Connecting to 204.117.0.95:8001

So this is where im stuck... what do i do next, once the files have been added to the list? Any Ideas?

masterg2k3 28th April 2003 10:26

On the server side it keeps saying: "Invalid Password Code From.." However i have checked and double checked.. the password in headers.txt is the same as the sv serv.ini file...

Jay 28th April 2003 20:24

well for one thing in your command just have

nsvscsrc 204.117.0.95:8001:headers.txt C:\

not

nsvscsrc 204.117.0.95:8001:headers.txt C:\ [Jackass.nsv]

could you post your headers.txt file (replace your password with a fake one)

masterg2k3 28th April 2003 20:27

hmm i do have [Jackass.nsv], but the headers looks like this:

code:
--------------------------------------------------------------------------------
PASSWORD
content-type:video/nsv
icy-metadata:0
icy-name:Movie Server
icy-genre:Video
icy-pub:1
icy-br:128
icy-url:Coming Soon...
icy-irc:N/A
icy-icq:N/A
icy-aim:N/A
icy-reset:1
--------------------------------------------------------------------------------

Jay 28th April 2003 20:54

Quote:

Originally posted by masterg2k3
hmm i do have [Jackass.nsv]
yea but you shouldn't have that in the command. Just remove it. The only other thing I can see is the icy-url, you should put a real url there not a comment. If you do not have a site make it
icy-url:http://www.shoutcast.com/

masterg2k3 28th April 2003 20:56

yeah but ur not answering my question.. the problem is it says Invalid Password on the server... but in all the files the password is the same...

Jay 28th April 2003 20:58

yes I realize that, but in order to trouble shoot the problem when need to make your setup as accurate as possible. There is no magic answer to this, just troubleshooting until it fixes itself. If the passwords are exactly the same, case and all. Then it could be possible that the password is not a valid one because you used invalid characters or it could be that a change in the headers.txt file has caused the nsvscsrc program to incorrectly parse the file to get the password.

masterg2k3 28th April 2003 21:00

yeah sorry to see if im bitching, i dont mean to.. the passwords are simple englsih words and cases are all the same. How many files and which files should contain the password?

Jay 28th April 2003 21:03

just headers.txt and sc_serv.ini

masterg2k3 28th April 2003 21:05

yeah they are the same so this is really weird, lol, stressing me out aswell. ok i will make a few more attempts then come back to this

masterg2k3 28th April 2003 21:14

ok im back.. and this is what i got i will edit the passwords so noone can use them but this is what i type in the command prompt:

C:\Program Files\NSVtools>nsvscsrc 80.60.84.31:8001:headers.txt C:\
Adding file to list: 'Jackass.nsv'
Adding file to list: 'stream.nsv'
[re]Connecting to 80.60.84.31:8001
connect:'80.60.84.31':'8000'
Opening file 'C:\\Jackass.nsv'...Success
done sending title info

THen it shows this in the server:

<04/28/03@23:12:52> [source] listening for connection on port 8001
<04/28/03@23:14:42> [source] invalid password from code: 80.60.84.31
<04/28/03@23:14:52> [source] invalid password from code: 80.60.84.31

And in the command prompt keeps doing this:

[re]Connecting to 80.60.84.31:8001
[re]Connecting to 80.60.84.31:8001
[re]Connecting to 80.60.84.31:8001
[re]Connecting to 80.60.84.31:8001

So the headers.txt looks like this:

code:

changeme
content-type:video/nsv
icy-metadata:0
icy-name:Movie Server
icy-genre:Video
icy-pub:1
icy-br:128
icy-url:http://www.com
icy-irc:N/A
icy-icq:N/A
icy-aim:N/A
icy-reset:1

And the sc_serv.ini looks like this:

MaxUser=32
Password=changeme
PortBase=8000

And as u can see they are identical.. these were not the ones but as an example... there is nothing wrong i even tried it with it like this..

Tom 28th April 2003 21:37

Have you tried sending changeme as the password in headers.txt? It is possible that there is a problem in the DNAS reading sc_serv.ini so it assumes the defaults. If this is the case there should be an evidence of this in the DNAS log.

Tom

masterg2k3 28th April 2003 21:38

Yeah i tried leaving htem the same as changeme and atried it on different servers, installing and re installing.. but it alwasy comes up with that

Jay 29th April 2003 02:31

code: isn't your password is it? In the DNAS log it shows you what the source is sending as the password and according to it 'code:' is what you are sending

masterg2k3 29th April 2003 08:20

Thanks a bunch, owe u man. Took me long time to figure out that small problem. So yeah thanks a lot!

Regards,

G

Turk30213 4th June 2003 02:12

I'm sorry, I'm about where master is. It keeps giving me the password invalid error in shoutcast. I read what you have about DNAS, but I have no clue what that is. The closest thing I found in the sc_serv.ini, was the DNAS log entry. I ran a search on my computer and cannot find it at all. Appearently it doesn't exist. But in the sc_serv.ini it says to make one. Oww. My head is hurting again...


All times are GMT. The time now is 08:37.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.