![]() |
#1 |
Forum King
|
SHOUTcast2 configuration builder
WHAMMO!
thinktink's SHOUTcast2 config builder YouTube Video Walkthrough Done with all client-side JavaScript so no information gets passed to the server. Compatible with both Firefox and Internet Explorer. You need to enable JavaScript though. I will continue to tweak it but at least potential SHOUTcasters will have an easier framework with which to build on but it does work straight up with both SC2/YP2 and legacy SC/YP1. Feedback, whether positive or negative, is welcome. ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Dec 2010
Location: New York
Posts: 32
|
Nice work!
|
![]() |
![]() |
![]() |
#3 |
Forum King
|
Thanks.
P.S. It's been updated to include more options and storing the settings in cookies for ease of use. ![]() |
![]() |
![]() |
![]() |
#4 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
nevermind ... I ran it wrong
"If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#5 |
Forum King
|
|
![]() |
![]() |
![]() |
#6 |
Forum King
|
Updated:
Later on I will probably add a floating helper box that will give hints and warnings as appropriate. Could probably use some help from DrO, SC_faisal, and other veterans on that. ![]() Merry Christmas. ![]() Last edited by thinktink; 27th December 2010 at 18:49. Reason: spelling |
![]() |
![]() |
![]() |
#7 |
Junior Member
|
Hello, thinkkthink;
Wich file does onne save the configuration text to? Please reply. ![]() Best reguardes; - Miguel de la Nieves Please follow one of my affiliate links so I may continue construction of PhoenixWarez,Unlimited! Get a free .com/.net/.info domain name or use your own here! Learn to speak Japanese like a pro by clicking here! |
![]() |
![]() |
![]() |
#8 |
Forum King
|
At the bottom of the page the first large box contains the contents to copy/paste into the sc_serv.conf file.
The other big box next to it is for the sc_trans.conf file. |
![]() |
![]() |
![]() |
#9 |
Join Date: Sep 2003
Posts: 27,873
|
PhoenixWarez: you can save it to any text filename that you want to, you just have to make sure to pass that filename to sc_serv2 when running it.
thinktink: i've not had a chance to properly look at this though looks great from a quick check. i had been toying with the idea of something like this myself as there seems to be a complete issue with people following the newer example files *shrugs* though this saves me some work (though i should really learn a bit more about javascript at some point soon ![]() only thing i'm not personally keen on is with it filling in things which are otherwise already set as a default value by the tool as a wall of 50 lines seems to scare the life out of most noobies. also am wondering (once i've got the wiki pages sorted out) if help links or something like that could be done between this and the wiki probably in a mini 'help' frame. -daz |
![]() |
![]() |
![]() |
#10 |
Forum King
|
@PhoenixWarez:
DrO is correct, you could save the files as "muckamuckafracknarf.barf" and "muckamuckafrackgas.chuck" and as long as you passed the file name in the startup line it would still work. ![]() @DrO: Actually, it had been a while since the last time I played with JavaScript and I had to relearn a bunch of stuff but because JavaScript is pretty close (in format) to C++ it wasn't terribly painful. lol Oh, and you're welcome to look at the JavaScript source if you want. I had considered a bit about the defaults. Most of them described in the docs do make sense. The problem with defaults though is that sometimes they change between builds (not that there's anything wrong with that intrinsicly) After thinking about it I decided that "Konsistency is King." If, for example, someone was to report an error or a problem with the configs generated I would know what to expect as far as what was originally specified and could confidently attempt to replicate the error/problem for testing later on. There are alot of options though that if the fields are left blank (or manually erased) the script won't output the corresponding config option at all thereby setting that option to the current build's default. One of the goals of the page though is to make consistently replicable and successful configs across current and future sc_serv/sc_trans builds regardless of what the defaults could be in the future. I thought that would be best. It is negotiable though. ![]() For the wiki, if the SHOUTcast team or AOL would like to include the configurator by either linking to it or just ripping it off my server and hosting it themselves (which would probably be a better idea although if they do I would like to be able to edit it myself should the need arise (but it's not a requirement)) I don't mind. ![]() |
![]() |
![]() |
![]() |
#11 | |||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
![]() Quote:
Quote:
![]() -daz |
|||
![]() |
![]() |
![]() |
#12 | |
Forum King
|
Quote:
That's an interesting thought and I can't think of a legit reason to be against it at the moment. |
|
![]() |
![]() |
![]() |
#13 |
Forum King
|
Updated...
...because I'm a dumbass. ![]() Somebody, please find a spoon and stab me in the throat with it... Fixed. |
![]() |
![]() |
![]() |
#14 |
Join Date: Sep 2003
Posts: 27,873
|
/me gets out a spork...
![]() btw, just noticed that you've got it starting from _0 for the sc_serv stream configs (from the other discussion about such things). -daz |
![]() |
![]() |
![]() |
#15 |
Forum King
|
I tested it and it worked. Straight up copy and paste to the config files. Thing is though the errors from sc_trans complaining about not being able to connect to the shoutcast server with metadata stopped. Odd. I thought it wouldn't matter what the index started with just as long as the sid's matched.
|
![]() |
![]() |
![]() |
#16 |
Join Date: Sep 2003
Posts: 27,873
|
well it'll work with _0 as the start but _0 is then replaced with the values from _1 as that's how it is all mapped in sc_serv plus it depends if requirestreamconfigs is set otherwise most of the time it'll just let things through however it gets it from the sources. only pointing it out if from the other discussion there is the want to standardise things (though some things i'm doing on sc_serv may break that again...).
-daz |
![]() |
![]() |
![]() |
#17 |
Forum King
|
So I should change it back to starting with _1?
|
![]() |
![]() |
![]() |
#18 |
Join Date: Sep 2003
Posts: 27,873
|
for the sc_serv parts yes please. and for sc_trans when that is changed when the next drop of it is released.
-daz |
![]() |
![]() |
![]() |
#19 |
Forum King
|
k, will do now...
|
![]() |
![]() |
![]() |
#20 |
Forum King
|
Done and tested. Thanks DrO.
![]() |
![]() |
![]() |
![]() |
#21 |
Forum King
|
Updated:
Added more misc options and forgotten option in transcoder config endpoint name. lol Also added a floaty thingy helper window with help text for some of the controls. Not finished yet, I need some zzzzzzzzzzzzz's.... *slams head into pillow* ![]() |
![]() |
![]() |
![]() |
#22 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
no commitment ... I'll code while I'm alive, sleep when I'm dead
![]() "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
![]() |
#23 |
Join Date: Sep 2003
Posts: 27,873
|
not too keen on the floaty thing tbh plus it seems to clip the bottom of the text in what i've seen and overlap parts / drop to the bottom (though i'd guess that's from being a w.i.p.).
i just need to find more hours in the day to have a proper sit down as there's a few things i'd like to have a tinker with to see if they'd work before suggesting. -daz |
![]() |
![]() |
![]() |
#24 |
Forum King
|
Odd, it's not clipping on me. What browser you using?
|
![]() |
![]() |
![]() |
#25 |
Join Date: Sep 2003
Posts: 27,873
|
FF 3.6.13. have attached a copy of what i'm seeing (note the bottom parts of the upper line covered over by the bottom line).
-daz |
![]() |
![]() |
![]() |
#26 |
Forum King
|
Ok, I'm seeing it now. Just didn't notice it right away, was more concentrating on the content of the text.
As far as overlapping, if you grab the title bar you can move it out of the way. If not floaty, did you have something else in mind? |
![]() |
![]() |
![]() |
#27 |
Forum King
|
I took out the white background on the text span. It stopped clipping.
Gonna continue to bang out the help text in the code. Either way if the floaty thing gets dropped and replaced with something else I can reuse the help text code. ![]() |
![]() |
![]() |
![]() |
#28 | |
Forum King
|
Quote:
![]() I might not be working tomorrow so anything you have on your brain today go ahead and post, ideal time now. Tomorrow will probably be a slamming day to get stuff done. ![]() |
|
![]() |
![]() |
![]() |
#29 |
Join Date: Sep 2003
Posts: 27,873
|
i've attached a preview of what i've been tinkering with for the last few hours (been getting annoyed with the feature i'm trying to add to sc_serv so thought i'd do something a bit more productive). i've just re-used the sc_trans testui style for the colours (mainly to test with a nicer font than the default). is a few more things i'd like to fix with alignments and then i can send a copy over if you like?
main thing i was thinking is keeping more things on screen instead of scrolling all the way down / having the quirky floating help part so that everything is in the same place (thinking of noobies getting confused with things otherwise moving around). only other thing would be to have the help file in a separate file than the main script so it can be updated just as that instead of altering the main script (but that's just thinking of a management of it). -daz |
![]() |
![]() |
![]() |
#30 |
Forum King
|
I like it!
Looks very do-able. Yes, send it over. ![]() |
![]() |
![]() |
![]() |
#31 |
Join Date: Sep 2003
Posts: 27,873
|
will send it over in a few hours then
![]() only other thing i've not got around to looking into was the 'clean' file i'd mentioned in a previous post but that's not essential, just having it working as it does is good. one thing that has come to mind is if it's easy / possible to make it save the contents of the text area instead of having to do the manual copy+paste stage? can't remember how much access javascript would have for doing something like that. -daz |
![]() |
![]() |
![]() |
#32 | ||
Forum King
|
Quote:
Quote:
![]() [EDIT /] I might have found some viable solutions for downloading/transfering the config data to a file but it'll take a bit more research and experimentation. Last edited by thinktink; 30th December 2010 at 22:36. |
||
![]() |
![]() |
![]() |
#33 | |
Join Date: Sep 2003
Posts: 27,873
|
just pm'd you the copies of what i've done.
Quote:
yeah, does seem there are someways to get the data to be saved though doesn't seem there is an easy way unless running with a php server that can be accessed. -daz |
|
![]() |
![]() |
![]() |
#34 | ||
Forum King
|
I got it. Very excellent work although it might be easier on the eyes if the scrollable areas had some kind of styled frame or border. That's the only thing I see wrong with it.
Quote:
Quote:
I'll start hammering away as soon as I get home off work. All in all very excellent work DrO. ![]() |
||
![]() |
![]() |
![]() |
#35 |
Forum King
|
I sent you a PM with updated config builder files. I think you'll like it.
![]() |
![]() |
![]() |
![]() |
#36 |
Join Date: Sep 2003
Posts: 27,873
|
|
![]() |
![]() |
![]() |
#37 |
Member
Join Date: Dec 2010
Posts: 74
|
Dro when are we going to get a sample to test it.
|
![]() |
![]() |
![]() |
#38 |
Join Date: Sep 2003
Posts: 27,873
|
you can already use it from thinktink's link and i believe he'll be uploading the adjusted version at some point later though it doesn't change the functionaility currently offered, is just refinement of the ui. or have i mis-understood what you mean?
btw, if you still have issues then i can do what you pm'd about though not until next week. -daz |
![]() |
![]() |
![]() |
#39 |
Forum King
|
Done.
http://bogproghome.hopto.org/Configurator.html ![]() P.S. The old link still works, just did a perma redirect in my .htaccess to the updated version. |
![]() |
![]() |
![]() |
#40 |
Forum King
|
Yo DrO... *cackles with an ear-to-ear shit-eating grin*
I got the downloader working. ![]() Just needs some touch-ups and style continuity. Hangon... |
![]() |
![]() |
![]() |
|
Tags |
config, sc2, yp2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|