Old 23rd June 2010, 19:37   #1
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
SHOUTcast DSP and sc_trans

I thought I read somewhere that it was possible to send to sc_trans audio sourced from the old SHOUTcast DSP but I can't remember where nor can I re-find it again.

I looked at the documentation for sc_trans and I saw some settings about DJ ports but I can't seem to connect the SHOUTcast DSP to it nor do I entirely understand what that's all about. Can someone elaborate on those DJ ports?
thinktink is offline   Reply With Quote
Old 25th June 2010, 22:14   #2
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
/bump
thinktink is offline   Reply With Quote
Old 26th June 2010, 08:07   #3
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Ok. Easiest way to describe it?

Ok, you got trans running a playlist, but you want to go live, SO.........

You stream in on a DJ port. Then...

That port overrides the port the playlist is on . This means the music will crossfade into music from the playlist to you.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 26th June 2010, 17:13   #4
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Very good, but how does it work? I tried DSPing to it but it doesn't seem to want to work like you're describing?. Every time I tried to connect to the DJ port with the DSP it kept showing some sort of protocol error:
Quote:
2010-06-26 09:04:48 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:48 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:48 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:48 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:48 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:49 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:49 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:49 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:49 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:49 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:50 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:50 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:50 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:50 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:50 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:51 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:52 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:52 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:52 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:52 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:53 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:53 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:53 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:53 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:53 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:54 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:54 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:54 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:54 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:54 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:55 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:55 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:55 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:55 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:55 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:56 D msg:[djProtocolShoutcast] State EMPTY
2010-06-26 09:04:56 D msg:[djProtocolShoutcast] State NEEDPASS
2010-06-26 09:04:56 E msg:[djProtocolShoutcast] Received password is in wrong format
2010-06-26 09:04:56 D msg:[djProtocolShoutcast] State KILL
2010-06-26 09:04:56 D msg:[djProtocolShoutcast] State KILL
My sc_trans config file (relevant part):
Quote:
djport=5000
djport2=5002
;djcipher=#####
autodumpsourcetime=10
;djbroadcasts=D:\SHOUTcast\sc_trans\recordings
djcapture=0

djpassword=#####
djlogin=
djpriority=1
What am I doing wrong?
thinktink is offline   Reply With Quote
Old 26th June 2010, 19:20   #5
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Oops

sc_serv2 crashed everytime I tried to listen with WMP. Reason I was trying to listen with WMP is because I'm already running an instance of Winamp with SC DSP source.

code:
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="sc_serv.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="sc_serv.exe" SIZE="1104384" CHECKSUM="0xA84F9A6C" BIN_FILE_VERSION="0.0.7.0" BIN_PRODUCT_VERSION="0.2.0.0" PRODUCT_VERSION="0, 2, 0, 0" FILE_DESCRIPTION="sc_serv Application" PRODUCT_NAME="sc_serv Application" FILE_VERSION="0, 0, 7, 0" ORIGINAL_FILENAME="sc_serv.exe" INTERNAL_NAME="sc_serv" LEGAL_COPYRIGHT="Copyright (C) 2009 AOL" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x4" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x11903A" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="0.0.7.0" UPTO_BIN_PRODUCT_VERSION="0.2.0.0" LINK_DATE="02/22/2010 19:50:23" UPTO_LINK_DATE="02/22/2010 19:50:23" VER_LANGUAGE="English (United States) [0x409]" />
<MATCHING_FILE NAME="vcredist_x86.exe" SIZE="2723264" CHECKSUM="0xFE53E854" BIN_FILE_VERSION="6.0.3790.0" BIN_PRODUCT_VERSION="6.0.3790.0" PRODUCT_VERSION="6.00.3790.0" FILE_DESCRIPTION="Win32 Cabinet Self-Extractor " COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="6.00.3790.0 (srv03_rtm.030324-2048)" ORIGINAL_FILENAME="WEXTRACT.EXE " INTERNAL_NAME="Wextract " LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x2A3D85" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="6.0.3790.0" UPTO_BIN_PRODUCT_VERSION="6.0.3790.0" LINK_DATE="03/25/2003 07:08:18" UPTO_LINK_DATE="03/25/2003 07:08:18" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="MSVCR90.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="msvcr90.dll" SIZE="655872" CHECKSUM="0x78AB0CE4" BIN_FILE_VERSION="9.0.21022.8" BIN_PRODUCT_VERSION="9.0.21022.8" PRODUCT_VERSION="9.00.21022.8" FILE_DESCRIPTION="Microsoft® C Runtime Library" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Visual Studio® 2008" FILE_VERSION="9.00.21022.8" ORIGINAL_FILENAME="MSVCR90.DLL" INTERNAL_NAME="MSVCR90.DLL" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xB011F" LINKER_VERSION="0x90000" UPTO_BIN_FILE_VERSION="9.0.21022.8" UPTO_BIN_PRODUCT_VERSION="9.0.21022.8" LINK_DATE="11/07/2007 04:23:42" UPTO_LINK_DATE="11/07/2007 04:23:42" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="989696" CHECKSUM="0x2D998938" BIN_FILE_VERSION="5.1.2600.5781" BIN_PRODUCT_VERSION="5.1.2600.5781" PRODUCT_VERSION="5.1.2600.5781" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFE572" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.5781" UPTO_BIN_PRODUCT_VERSION="5.1.2600.5781" LINK_DATE="03/21/2009 14:06:58" UPTO_LINK_DATE="03/21/2009 14:06:58" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>


Exception Information
Code: 0xc0000417 Flags: 0x00000001
Record: 0x0000000000000000 Address: 0x000000007858c955

System Information
Windows NT 5.1 Build: 2600
CPU Vendor Code: 756E6547 - 49656E69 - 6C65746E
CPU Version: 00000686 CPU Feature Code: 0387F9FF
CPU AMD Feature Code: 00ACE824

Module 1
sc_serv.exe
Image Base: 0x00400000 Image Size: 0x00000000
Checksum: 0x0011903a Time Stamp: 0x4b82dfff
Version Information

Attached Thumbnails
Click image for larger version

Name:	sc_serv_crash.jpg
Views:	233
Size:	22.7 KB
ID:	47167  
thinktink is offline   Reply With Quote
Old 26th June 2010, 19:59   #6
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Started up my laptop to see if it was just WMP but it's also crashing while trying to listen with Winamp.
thinktink is offline   Reply With Quote
Old 27th June 2010, 03:17   #7
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
That wont work.

It goes back to the rule about not being able to listen into your own wrapped stream on the same port.

First before I start saying too much here (like algebra with a substitute... I cant handle too many variables without time in the program) Show and tell on the Config for SC_trans2/ the .lst file your config file pointing at too,

Also verify that the ports are open for the ports the DJ/Admin pop in on. Dont ask me about the API yet, I have been fooling around trying to get it to work for 1 1/2 weeks. No dice.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 27th June 2010, 07:27   #8
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Apparently I had something really screwy in the sc_serv2 config. I changed some stuff, can't remember what, and it stopped crashing, but I'm having problems configuring multiple mountpoints on the same sc_serv2 instance. I'm taking a break from it for now.

I can listen to my own radio station within my LAN even with the same No-IP domain name as outside my LAN. I'm running a name server on my primary server and all network devices are given my name server's IP from my router as the primary name server. All network devices on my LAN resolve my No-IP domain to the private address of my server instead of the public address thereby allowing me to connect to my station from any network device on my LAN. I have this setup this way because I'm also running my website from the same server computer with virtual hosts so I have to force the dn to resolve to the private IP address or else I can't moderate the forums locally. It's never been an issue with me. Since sc_serv2 responded (with a crash) whenever I tried to listen to it I can't assume that it's an issue with private network IP address connection routing since it happened consistently (until I modded the config file.)

When I open Sygate Personal Firewall Pro it shows me (among a crapload of other ports) that the DJ port is open and so are all the other specified ports. Whenever I try to connect to the DJ port sc_trans just says that the password format it's receiving is bad. I thought at first maybe I had to leave the DJ name blank but that didn't work either. At the moment I am at an utter loss.
thinktink is offline   Reply With Quote
Old 27th June 2010, 08:49   #9
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Ok, I haven't done it yet, but to connect on the DJ mount for sc_trans2, there was some weird trick. If I remember correctly, I think the name on the player had to be DJ:Password.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 27th June 2010, 08:51   #10
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
For trying to run music on your lan, without hitting the network? I would make sure the line "localhost" gets entered into a lot of places.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 27th June 2010, 17:41   #11
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
PHP Code:
dj:password 
in the DSP worked! I'm kicking myself in the head right now! The music is coming through and the first mountpoint is working but the second one isn't and the status page for the first mountpoint says the server is down but I can still hear the audio stream on it. Really odd. It has to be something I'm doing but I don't know what.

I am attaching all my server config files in an archive.
Attached Files
File Type: zip myserverconfigs.zip (2.1 KB, 282 views)
thinktink is offline   Reply With Quote
Old 28th June 2010, 02:51   #12
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
A lot better than mine.

Ive been busy with 1 of those 100 sideprojects to finish my tutorial.

If i give you credit in the video, you mind if I use your config for the example?

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 28th June 2010, 02:54   #13
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
I would still do your .lst file differently.

and I like this part:

code:

endpointname_0=/listen96.aac
outprotocol_0=3
serverip_0=127.0.0.1
serverport_0=64850
password_0=######
uvoxstreamid_0=0
uvoxuserid_0=admin
uvoxauth_0=######
uvoxradiometadata_0=0
uvoxnewmetadata_0=1
uvoxmetadatafudgefactor_0=0.0 seconds
shoutcastmetadatafudgefactor_0=0.0 seconds

endpointname_1=listen56.aac
outprotocol_1=3
serverip_1=127.0.0.1
serverport_1=64850
password_1=######
uvoxstreamid_1=0
uvoxuserid_1=admin
uvoxauth_1=######
uvoxradiometadata_1=0
uvoxnewmetadata_1=1
uvoxmetadatafudgefactor_1=0.0 seconds
shoutcastmetadatafudgefactor_1=0.0 seconds



I wouldn't label them AAC (even though it probably doesn't matter, label them happy)

I would have given them the name .live , as some players may take that file extension to figure out what to do with it.

Then again, thats for AAC+, dont matter the player, if the file is AAC+, there's a good chance the default player is going to have an anurism and die anyways (unless its winamp or VLC, how Ironic!)

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 29th June 2010, 18:36   #14
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Brutish Sailor View Post
A lot better than mine.

Ive been busy with 1 of those 100 sideprojects to finish my tutorial.

If i give you credit in the video, you mind if I use your config for the example?
That would be great if they actually worked. I still can't get the second lower-bitrate mountpoint working. The reason why I posted the config files was so that maybe somebody could tell me what I'm doing wrong.
thinktink is offline   Reply With Quote
Old 29th June 2010, 22:42   #15
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Quote:
Originally Posted by thinktink View Post
That would be great if they actually worked. I still can't get the second lower-bitrate mountpoint working. The reason why I posted the config files was so that maybe somebody could tell me what I'm doing wrong.

endpointname_1=listen56.aac

endpointname_1=/listen56.aac < see if that works m8ty.

dunno if it makes a difference,not at a machine where i can test right now.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 30th June 2010, 02:47   #16
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Thanks for the catch, but it's still doing the same thing.
thinktink is offline   Reply With Quote
Old 30th June 2010, 04:04   #17
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
I know why its not working right. I'll bet you a beer.

Your using SC_trans correct?

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 06:13   #18
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Yeah, trying to do DSP-->sc_trans-->sc_serv2.
thinktink is offline   Reply With Quote
Old 30th June 2010, 06:46   #19
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
one sec.... Thought I posted this

serverport_0=64850
serverport_1=64850
serverip_0=127.0.0.1
serverip_1=127.0.0.1

Its this... I gotta dig into the docs for correct listing for SC2 mounts

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 07:15   #20
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Nope, its right.....

Started with zero, didnt try to use 1 to many relationship.....

Hmmmm.....


I recant it about the trans file. Everything looks fine on the encoders as well.

Let take a look again at SC_serv2. Now I know its gonna be a long night. I still owe you a beer huh?

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 07:18   #21
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
NM...SC_Trans Multi

code:


endpointname_0=/listen96.aac
outprotocol_0=3
serverip_0=127.0.0.1
serverport_0=64850
password_0=######
uvoxstreamid_0=0
uvoxuserid_0=admin
uvoxauth_0=######
uvoxradiometadata_0=0
uvoxnewmetadata_0=1
uvoxmetadatafudgefactor_0=0.0 seconds
shoutcastmetadatafudgefactor_0=0.0 seconds

endpointname_1=listen56.aac
outprotocol_1=3
serverip_1=127.0.0.1
serverport_1=64850
password_1=######
uvoxstreamid_1=0
uvoxuserid_1=admin
uvoxauth_1=######
uvoxradiometadata_1=0
uvoxnewmetadata_1=1
uvoxmetadatafudgefactor_1=0.0 seconds
shoutcastmetadatafudgefactor_1=0.0 seconds





catch the difference you have heres the clue.... /endpointname (why not just call it mount)

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 14:58   #22
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Quote:
Originally Posted by Jkey View Post
endpointname_1=listen56.aac

endpointname_1=/listen56.aac < see if that works m8ty.

dunno if it makes a difference,not at a machine where i can test right now.
Quote:
Originally Posted by thinktink View Post
Thanks for the catch, but it's still doing the same thing.
JKey already found that one, sorry.
thinktink is offline   Reply With Quote
Old 30th June 2010, 17:38   #23
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Ok, one sec, let me take another look.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 18:19   #24
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
I recant the statement on the one to many relations. In your config, your tables link like so.


SC_serv_common -> SC_serv_Multi <-SC_trans_multi

SC_serv_common you try to do one to many relations. In particular, with the password? I dont think that would work. I think your going to have to continue to define each value for the multiple /endpoints by _0 and _1 once you have established that they are different. I would try actually deffining the value of the encoder passwords for each /endpoint (man that feels wierd to say) uniquely.

Basiclly just like a database. Once you define the difference between /endpoint_0 and /endpoint_1 , you need to make sure that the MINIMUM required data is established independently for those fields. I'll skim through the config files one more time, but my money goes on the independent factor.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 30th June 2010, 20:59   #25
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
code:
6) Config file options - complete list. Options are NOT case sensitive
If an option is labeled as "multi" then it can be used multiple times.
This is specified by adding _# to the end of the option
name (# begins with zero not one). Note that this "multi" system is >NOT< hierarchical, and all
values beyond the default must be specified for all connections.



In the docs.txt file that came with the beta download it doesn't say that the options you're talking about can be multi'd:
code:
NETWORKING

namelookups - 1 to do reverse DNS look ups on incoming IP addresses Default = 0
portbase - port that clients and sources connect to
(note, shoutcast 1 sources only connect to portbase+1) Default = 8000
autodumpsourcetime - how long before an idle source is dumped (in seconds).
Zero means no timeout Default = 30
maxheaderlinesize - maximum size of an HTTP header line Default = 2048
maxheaderlinecount - max headers lines in HTTP style exchange Default = 100
password - password for broadcaster to connect
adminpassword - administrator password


thinktink is offline   Reply With Quote
Old 30th June 2010, 21:30   #26
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
I'm a bit more visual so I'm posting this multiple "schematic" of possible outcomes, as it were.

The first one is the one I'm trying to do with the configs (I think.)



I think you're talking about the second one but I don't see how to do that with the documentation I have at hand.

The lines are (supposed to) represent fully established TCP connections with the exception of the last one which is just a listening socket (until somebody connects.)
thinktink is offline   Reply With Quote
Old 1st July 2010, 05:52   #27
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Hmmm....

so what the documentation is saying is that if a stat is tagged with "multi", the stat can have a one-to-many relationship.

Man....Be nice to see an example of that config.... Im still going to guess that the password would not be allowed a one to many relationship. I wish that Niel was around to ask him...

We should start a " Wish Niel was around tgo ask this " list.

My questions (the legitamite, Not a joke to harrass SC) would be:

1) What is the MINIMUM amount of info needed for multi server functions defined individually for each server. Obviously the defaults would answer this for some.

A) Maybe the answer your looking for is configuring A VERY BARE BONE config file of these two endpoints. barebone SC_serv2, and barebone SC_trans2. Defaults should assume the properties of multi if not stated (AKA you shouldnt have to list EVERY aspect of the server if you are using multi endpoints) So, do this, then start adding your own variables.


B) As you add your own variables, keep monitoring the server. Something is going to not make it work. My guess is that the password is going to be needed to get the multis running stated for each endpoint. I need to start playing with your server config files. I have been so busy trying to get this NSVcap to output to flash I havent had time to really mess with your config files. I have skimmed them, but I still need to run them, and start throwing out variables. Im guessing password. Probably wrong...... But thats what Im guessing.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 1st July 2010, 15:17   #28
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
Quote:
Originally Posted by Brutish Sailor View Post
Hmmm....

We should start a " Wish Neil was around tgo ask this " list.
jkey++

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 2nd July 2010, 18:43   #29
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
OK Thinktink, I have to take a break today from NSV experiments or I will have an anurism and die.

Im going to (just for Shifts and Googles) recompile all your info from the multi and common into one SC2.Config. If it works, happy days. If it doesnt, no difference to me, It just goes back to -> MAN, I wish Niel was around, and man-> I love IC2KH24

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 2nd July 2010, 22:23   #30
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
lol, STOP READING MY MIND! I was just about to bump this thread.

Rubber baby buggy bumpers!
thinktink is offline   Reply With Quote
Old 3rd July 2010, 03:25   #31
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Got busy with some red hat stuff.

Give me a bit, will have it done by morning.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 4th July 2010, 11:22   #32
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
----- MUTLI -------
streamid - ID of stream
streamauthhash - authorization hash for yp2 registration
streampath - path clients use to access stream
streamrelayurl - url of source to relay (if this is a relay)


These are the only four values that appear to be allowed to be set to multi, Which should be BS! Lety me check the docs one more time, just to make sure Im not crazy.


Let me add that it is INCREDIBLY retarded that they did not allow seperate passwords/admin passwords for each /endpoint. That means you cant run a 30-40 station server off one IPort

KNSJ.org 89.1 FM San Diego

Last edited by Brutish Sailor; 4th July 2010 at 12:36.
Brutish Sailor is offline   Reply With Quote
Old 4th July 2010, 12:56   #33
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
Quote:
Originally Posted by Brutish Sailor View Post
----- MUTLI -------
streamid - ID of stream
streamauthhash - authorization hash for yp2 registration
streampath - path clients use to access stream
streamrelayurl - url of source to relay (if this is a relay)


These are the only four values that appear to be allowed to be set to multi, Which should be BS! Lety me check the docs one more time, just to make sure Im not crazy.


Let me add that it is INCREDIBLY retarded that they did not allow seperate passwords/admin passwords for each /endpoint. That means you cant run a 30-40 station server off one IPort
You're not crazy one password, one admin password, that's all she wrote - shoutcast development ... two steps forward, one step back

Is it just me or are shoutcast users getting dumber?
jaromanda is offline   Reply With Quote
Old 4th July 2010, 19:14   #34
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Also, in the docs, the bottom needs to be changed.

Quote:

Administrative pages

These pages still exist, but now must be explicitly access via
the /index.html path. Information about streams other than stream #1 can
be accessed via /index.html?sid=#
It should be "for streams other than stream #0"

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 4th July 2010, 19:39   #35
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
I'll test it when I finally get out of my boss's 4th of July pt.
thinktink is offline   Reply With Quote
Old 5th July 2010, 06:01   #36
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
good times. I got one together. I dont know if this matters, but when I ran SC2, I ran the config file as a .CONF file. I notice yours are .INI like SC1.

I think the big issue was in you common.

You had a Authorization hash for stream 0 in there. I laid out everything into one config file, and put the /endpoints at the bottom


I get the mindset of Niels docs. Its not that there was not a good config file. Its that the docs give an idea of how everything should be laid out in one config file. All the common settings at the top, then all the multis, which can be spaced at the bottom. Basiclly the /endpoints. That way its easy to track and alter them.


For future reference of SC_serv 2.1


1)Make password, and slots a multi. Once again, this kills the overall effectiveness of SC_serv2

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 5th July 2010, 20:17   #37
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
I commented out the authhash line, changed all file extensions from .ini to .conf, and dumped the contents of common into the main config file. Still the same result.
thinktink is offline   Reply With Quote
Old 5th July 2010, 22:25   #38
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
the extra authhash in the common config? you can leave both the authhashes in the....

I need to try.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Old 6th July 2010, 02:35   #39
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
I didn't see that one. Took it out but still the same results though.
thinktink is offline   Reply With Quote
Old 6th July 2010, 05:56   #40
Brutish Sailor
Major Dude
 
Brutish Sailor's Avatar
 
Join Date: Jan 2009
Location: San Diego CA
Posts: 998
Send a message via Skype™ to Brutish Sailor
Ok setting up the file, about to try to fly it.

KNSJ.org 89.1 FM San Diego
Brutish Sailor is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Tags
sc_trans, shoutcast dsp

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