Old 20th September 2010, 14:32   #1
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Event editor for sc_trans

Here's a GUI editor for sc_trans calendar files. I was bored this weekend and wrote it as a C# refresher exercise. No docs, but it's use should be obvious :-)

--Neil

http://www.panix.com/~nradisch/RadioScheduler_0_1.exe
nradisch is offline   Reply With Quote
Old 20th September 2010, 16:54   #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
VERY nice! Layout looks professional and most important, it's accurate! Well done!
thinktink is offline   Reply With Quote
Old 20th September 2010, 21:45   #3
SC_faisal
SHOUTcast (Alumni)
 
Join Date: Sep 2008
Posts: 162
HE LIVES! :-)
f.
SC_faisal is offline   Reply With Quote
Old 21st September 2010, 06:54   #4
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 21st September 2010, 16:57   #5
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
This is amazing and so easy to use and understand !!
Station managers will love this

As always neil you are a star !

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 26th September 2010, 21:42   #6
DaZilertaler
Junior Member
 
Join Date: Mar 2010
Posts: 23
Eefnin this tool is very handy but for me not 100% functional.
Adding dj's no problemo. but adding a playlist is a other story
I dont think i have to alter the sc_trans.config because the event editor will do that jop?
what am i doing wrong?

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<eventlist>
<event type="dj">
<calendar />
<dj archive="1">djb</dj>
</event>
<event type="dj">
<calendar />
<dj archive="0">inner</dj>
</event>
<event type="playlist">
<calendar startdate="2010/09/26" enddate="2010/09/26" starttime="22:18:30" duration="01:00:00" />
<playlist loopatend="0" shuffle="0" priority="1">C:\mowes_portable\www\rtb\playlists\archive\JamesHolden.lst</playlist>
</event>
</eventlist>
====
Quote:
2010-09-26 22:18:30 E msg:[playlistMgr] Could not activate playlist C:\mowes_portable\www\rtb\playlists\archive\JamesHolden.lst because not registered
2010-09-26 22:18:30 D msg:[calendarMgr] id=3 is not active. Checking for removal
2010-09-26 22:18:30 I msg:[calendarMgr] Removing event m_playlist=C:\mowes_portable\www\rtb\playlists\archive\JamesHolden.lst m_loopAtEnd=0 m_priority=1 m_shuffle=0 m_id=3 m_startDate=year:110,mon:8,mday:26,hour:22,min:17,sec:30,isdst:-1,wday:0,yday:0 m_endDate=year:110,mon:8,mday:26,hour:0,min:0,sec:0,isdst:-1,wday:0,yday:0 m_duration=3600 m_timeOffset=year:-269554196,mon:-336926232,mday:-404298268,hour:-471670304,min:-536936964,sec:-67438088,isdst:-67438088,wday:-202182160,yday:-134810124 m_hasStartDate=1 m_hasEndDate=1 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0
DaZilertaler is offline   Reply With Quote
Old 26th September 2010, 22:09   #7
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Dazilertaler:

Yeah you're right. I think a blew it. The playlists are symbolic names not actual paths, and the connection between the symbolic name and the path is made in the sc_trans config file. I'll have to change the editor.

--Neil
nradisch is offline   Reply With Quote
Old 27th September 2010, 11:17   #8
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Okay, I did a new build. Same place in my panix account. The event dialog now has the "browse" button removed and a text warning that the playlist name is symbolic and not the full path.

Also, I noticed that the modify operations, whether from the menu or double clicking, were not wired up properly and fixed that as well.

--Neil
nradisch is offline   Reply With Quote
Old 27th September 2010, 21:46   #9
DaZilertaler
Junior Member
 
Join Date: Mar 2010
Posts: 23
I got it thx for the second version
one question what do i have to set in the sc_trans config file so my playlist gets activated

Quote:
playlistfilename_1=JamesHolden
playlistfilepath_1=C:\mowes_portable\www\rtb\JamesHolden.lst
no joy with this setting
DaZilertaler is offline   Reply With Quote
Old 28th September 2010, 01:26   #10
DaZilertaler
Junior Member
 
Join Date: Mar 2010
Posts: 23
Making it 0 made it load
code:
playlistfilename_0=JamesHolden
playlistfilepath_0=C:\mowes_portable\www\rtb\JamesHolden.lst


Almost there its loading but not playing is still hear my playlist which i setup in
playlistcontrol
;;;; PLAYLIST CONTROL
; your playlist
playlistfile=C:\mowes_portable\www\rtb\playlist_win32.lst
DaZilertaler is offline   Reply With Quote
Old 29th September 2010, 11:33   #11
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Can't tell if this is your problem, but the scheduled playlist won't kick in until the currently playing track finishes.

--Neil
nradisch is offline   Reply With Quote
Old 14th October 2010, 08:42   #12
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
bump.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

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