This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Tcl that Annonce Current Song playing

Old posts that have not been replied to for several years.
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

change this

Code: Select all

bind time - "* * * * *" sc_update
to

Code: Select all

bind time - "3 * * * *" sc_update
this will update every 3 mins rather than every minute. I wouldn't suggest putting that any higher than 3 as it will miss some song names. A song usually lasts about 3½ minutes so at 3 mins it should still work correctly. If you change this setting make sure to restart your bot not just rehash as it is a bind.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

bind time - "3 *" sc_update
looks better :wink:
M
Mighty
Voice
Posts: 8
Joined: Mon Apr 05, 2004 10:38 pm

Post by Mighty »

Aight, just an update we never were able to figure out what the bug is but when the source changes (we have 30+ live djs) we get:

[17:45] Server responded with 200 OK
[17:45] Server responded with 200 OK
[17:45] Tcl error [sc_stream]: can't read "value": no such variable
[17:45] Server responded with 200 OK
[17:45] Server responded with 200 OK
[17:45] Tcl error [sc_userstats]: can't read "value": no such variable
[17:45] Server responded with 200 OK

!playing always works tho.

It seems to fail when the relay server's details don't totally match the main server (genre listing will be different because the djs like to be creative and change them around). not sure how that could affect it.

I just figured i would leave it alone back in February but I figured I'd ask again cause I just can't find another script that works with 2 servers.
-M
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Hey Mighty.

I am glad that you still find my script useful but as I said before I cant replicate the error you are having and I cant see what could be the problem. Maybe one of the other guys on here can spot something, but the script is a bit large to trawl through so dont hold your breath =D How many servers have you added to the script? I currently run only 2 and have tested it upto 3. A thought just popped into my head, It doesn't happen often I nearly fell off my chair ;) You are running this script with only one primary server? the other servers you have added are purley relays from the primary shoutcast server?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
M
Mighty
Voice
Posts: 8
Joined: Mon Apr 05, 2004 10:38 pm

Post by Mighty »

yeah there is 2 servers the main one and the relay. What I've noticed tho as different sources connect to the server is when it breaks.

The only difference is some people use a different genre and the relay doesnt always pick up on this.

right now the main server says:

Stream Genre: breakbeat, dnb, jungle

The relay says:

Stream Genre: Drum and Bass, Breakbeat, DNB

This is the only difference we have been able to find. Ive tested alot of different things in the past few months. Its all I could come up with. I was hoping maybe somebody else had run into this or something. I understand if you can't figure it out.
-M
T
TequilaMockingbird
Voice
Posts: 1
Joined: Sat May 21, 2005 2:22 pm

Post by TequilaMockingbird »

OK.... I'm a tad new to this.... but I see some of xml codes were stripped. Is there anyway of reinserting them when the bot announces to the channel? I am most interested in the "&" character.

Thanks!!

Teq.
Locked