|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
|
Calendar.xml ignored on Win32 Shoutcast Transcoder 2.0 Beta 5
Hi
I've been trying to get the Win32 version of Shoutcast Transcoder 2.0 Beta 5 to work with different playlists during the day by using the calendar.xml sc_trans works fine and loads up without any errors, but it doesnt take notice of the calendar's rules. Only the default playlist is loaded - which you must have set otherwise there is an error. I'm also interested at running jingles every hour or 2 after a track has finished by using the calendar too - i dont want to re-generate the playlists with a jingle inserted at random. If this doesnt do what im after then ill have to try using ices instead. Ill post configuration files later today if any1 wants to help or give me some tips, as the doc's dont seem to help much ![]() Thanks! Tom |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
Moved to shoutcast tech support
![]() Ok need to see logs and configfile please to help further. also it maybe handy if you posted your calendar.xml file to see if it contains errors. So Long, and Thanks for All the Fish. ![]()
|
|
|
|
|
|
#3 |
|
Junior Member
|
@Jkey: Thanks for your reply!
![]() The idea is to have the jingles playlist fired every hour or 2 once a mix has finished, and different genre' of playlist start at certain times of the day. I've just noticed from the logs that it has worked, but once its ran for longer than 24 hours, itll just load the basic playlist as for some reason sc_trans is removing entries from the cached calendar!! AGHH! 2009-04-23 07:00:00 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\Trance.m3u 2009-04-23 07:00:00 I msg:[playlistMgr] load complete 2009-04-23 07:00:01 I msg:[playlistMgr] deactivating playlist hard id=2 2009-04-23 07:00:01 I msg:[calendarMgr] Removing event m_playlist=hard m_loopAtEnd=1 m_priority=2 m_shuffle=1 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:1,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=21600 m_timeOffset=year:2097255,mon:7209065,mday:6553700,hour:4259872,min:2097245,sec:7471207,isdst:6881388,wday:7078000,yday:7929953 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 How to fix this, and sort out the jingles issue!? Heres the config, calendar, and log file: Config: ;; VU Images vuimagedirectory=C:\sc_trans\vuimages\ playlistfilename_0=jingles playlistfilepath_0=C:\Documents and Settings\Administrator\My Documents\Playlists\Jingles.m3u playlistfilename_1=hard playlistfilepath_1=C:\Documents and Settings\Administrator\My Documents\Playlists\Hard.m3u playlistfilename_2=trance playlistfilepath_2=C:\Documents and Settings\Administrator\My Documents\Playlists\Trance.m3u playlistfilename_3=house playlistfilepath_3=C:\Documents and Settings\Administrator\My Documents\Playlists\House.m3u playlistfilename_4=scouse playlistfilepath_4=C:\Documents and Settings\Administrator\My Documents\Playlists\Scouse.m3u calendarfile=C:\sc_trans\win32\calendar.xml calendarrewrite=0 ;; ENCODER OPTIONS encoder=mp3 bitrate=192000 samplerate=44100 channels=2 ;;; NETWORK OPTIONS outprotocol=1 serverip=xx.xx.xx.xx serverport=xxxx password=password endpointname=stream ;;;; LOGGING OPTIONS: ;where does the log file go logfile=C:\sc_trans\sc_trans.log ; 1 to do screen logging else 0 screenlog=1 ;;;;;; METADATA CONTROL ; my stream name streamtitle=Radio ; url related to my stream ;streamurl=http://foobar.com ; my genre ;genre=classical ; other assorted stuff ;aim=myaimaddr ;irc=myirc ;icq=myicq ; register with yp public=0 ;;;; PLAYLIST CONTROL ; your playlist playlistfile=C:\Documents and Settings\Administrator\My Documents\Playlists\Scouse.m3u ; by default we shuffle the playlist. Lets turn that off shuffle = 1 ; set our crossfade time to 2 seconds. zero means no xfade xfade=4 ; file must be at least 20 seconds or we don't crossfade xfadethreshold=20 ; drop folder for priority playlists ;playlists= ; where finished priority playlists get copied ;archive=c:\sc_trans\playlists\archive\ ;;; LIVE CAPTURE: ; don't capture capture=0 ; set capture parameters ;capturedevice=Sound Blaster ;captureinput=Line-In ;capturesamplerate=44100 ;capturechannels=2 ;;;; DJ SUPPORT: ; dj listen port djport=9876 ; dj password djpassword=leavenow ; idle time until auto-dump autodumpsourcetime=30 ; record dj broadcasts here ;djbroadcasts=c:\sc_trans\recorded\ ;; REPLAY GAIN CONTROL: applyreplaygain=0 calculatereplaygain=0 mp3quality=0.1 ;;; OTHER: adminport=5555 adminuser=admin adminpassword=goaway calendar.xml PHP Code:
2009-04-23 01:15:51 I msg:<***> Logger startup 2009-04-23 01:15:51 I msg:<***> version 0.2.0.0 build 0.0.25.0 2009-04-23 01:15:51 D msg:<***> 2009-04-23 01:15:51 I msg:[calendarMgr] Adding playlist event m_playlist=jingles m_loopAtEnd=0 m_priority=1 m_shuffle=1 m_id=1 m_startDate=year:0,mon:0,mday:0,hour:1,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:30,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=1 m_repeat=0 2009-04-23 01:15:51 I msg:[calendarMgr] Adding playlist event m_playlist=hard m_loopAtEnd=1 m_priority=2 m_shuffle=1 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:1,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=21600 m_timeOffset=year:2097255,mon:7209065,mday:6553700,hour:4259872,min:2097245,sec:7471207,isdst:6881388,wday:7078000,yday:7929953 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 01:15:51 I msg:[calendarMgr] Adding playlist event m_playlist=trance m_loopAtEnd=1 m_priority=3 m_shuffle=1 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:7,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=14400 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 01:15:51 I msg:[calendarMgr] Adding playlist event m_playlist=house m_loopAtEnd=1 m_priority=4 m_shuffle=1 m_id=4 m_startDate=year:0,mon:0,mday:0,hour:11,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=14400 m_timeOffset=year:115,mon:110,mday:97,hour:114,min:116,sec:95,isdst:115,wday:9,yday:109 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 01:15:51 I msg:[calendarMgr] Adding playlist event m_playlist=scouse m_loopAtEnd=1 m_priority=5 m_shuffle=1 m_id=5 m_startDate=year:0,mon:0,mday:0,hour:15,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=36000 m_timeOffset=year:741358201,mon:1633971500,mday:809135727,hour:1831612474,min:1918985593,sec:1030059105,isdst:809135721,wday:1920298856,yday:1831612474 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 01:15:51 I msg:[VUPush] 101 VU images loaded 2009-04-23 01:15:51 I msg:[VUPush] 101 VU images loaded 2009-04-23 01:15:51 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\Scouse.m3u 2009-04-23 01:15:51 I msg:[playlistMgr] Caching playlist C:\Documents and Settings\Administrator\My Documents\Playlists\Scouse.m3u 2009-04-23 01:15:51 I msg:[playlistMgr] load complete 2009-04-23 01:15:51 I msg:******************************************************************************* 2009-04-23 01:15:51 I msg:** TRANScast Distributed Network Audio Content Provider 2009-04-23 01:15:51 I msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved. 2009-04-23 01:15:51 I msg:** Use "sc_trans filename.conf" to specify a config file. 2009-04-23 01:15:51 I msg:******************************************************************************* 2009-04-23 01:15:51 I msg:[TRANSCast] DNAS/win32 v 0.2.0.0 b 0.0.25.0 (Feb 3 2009) starting up... 2009-04-23 01:15:51 I msg:[MAIN] PID: 4888 2009-04-23 01:15:51 I msg:[MAIN] Loaded config from backup.conf 2009-04-23 01:15:51 I msg:[MAIN] Streaming thread starting 2009-04-23 01:15:51 I msg:[resampler] deactivated 44100/2 == 44100/2 2009-04-23 01:15:51 I msg:[MAIN] Encoder thread 0 starting 2009-04-23 01:15:51 I msg:[MAIN] broadcast thread 0 starting 2009-04-23 01:15:51 I msg:[mp3enc] 2212/44100/2/192000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15) 2009-04-23 01:15:51 I msg:[MAIN] Playlist decoder thread starting 2009-04-23 01:15:51 I msg:[STREAM] 25187 giving replay gain calculator a head start 2009-04-23 01:15:51 I msg:[rgCalc] thread running 2009-04-23 01:15:51 I msg:[decode] giving replay gain calculator a head start 2009-04-23 01:15:51 I msg:[microServer] Listening for connection on port 9877 2009-04-23 01:15:51 I msg:[decode] begin decoding 2009-04-23 01:15:51 I msg:[STREAM] 25187 running 2009-04-23 01:15:51 I msg:[decode] next file is E:\Scouse\Bombs 4 Part 2.mp3 2009-04-23 01:15:51 I msg:[STREAM] 25187 Creating stream socket 2009-04-23 01:15:51 I msg:[STREAM] 25187 Connected to host server 2009-04-23 01:15:51 I msg:[mp3enc] 2212/44100/2/192000 mp3 setup complete 2009-04-23 01:15:51 I msg:[MAIN] Broadcast Receiver thread starting 2009-04-23 01:15:51 I msg:[STREAM] 25187 Host server gave success (OK2) 2009-04-23 01:15:51 I msg:[STREAM] 25187 Stream to xx.xx.xx.xx established 2009-04-23 01:15:51 I msg:[STREAM] 25187 Sending stream information 2009-04-23 01:15:51 I msg:[decode] Bombs 4 Part 2.mp3::85599608::4279.98 2009-04-23 01:15:52 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\Jingles.m3u 2009-04-23 01:15:52 I msg:[playlistMgr] load complete 2009-04-23 01:15:52 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\Hard.m3u 2009-04-23 01:15:52 I msg:[playlistMgr] load complete 2009-04-23 01:15:53 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 02:26:56 I msg:[mp3 decode] 41 eof 2009-04-23 02:26:56 I msg:[decode] next file is E:\Hard\Dave-Flinders_-_Hard-House(14012009).mp3 2009-04-23 02:26:56 I msg:[decode] Dave-Flinders_-_Hard-House(14012009).mp3::90401437::3766.73 2009-04-23 02:27:13 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 03:29:39 I msg:[mp3 decode] 18467 eof 2009-04-23 03:29:39 I msg:[decode] next file is E:\Hard\Gazz Hunt - January 2009 Hard Mix!.mp3 2009-04-23 03:29:39 I msg:[ID3V2] version 3.0 tagsize=1014 unsync=0 xheader=0 2009-04-23 03:29:39 I msg:[decode] Gazz Hunt - January 2009 Hard Mix!.mp3::82293366::5143.34 2009-04-23 03:29:55 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 04:55:25 I msg:[mp3 decode] 6334 eof 2009-04-23 04:55:26 I msg:[decode] next file is E:\Hard\Connors_-_Rita_s_Hot_Water_Bottle.mp3 2009-04-23 04:55:26 I msg:[ID3V2] version 3.0 tagsize=1014 unsync=0 xheader=0 2009-04-23 04:55:27 I msg:[decode] Connors_-_Rita_s_Hot_Water_Bottle.mp3::169564079::4239.1 2009-04-23 04:55:35 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 06:05:53 I msg:[mp3 decode] 26500 eof 2009-04-23 06:05:54 I msg:[decode] next file is E:\Hard\John Black - January 09 Promo.mp3 2009-04-23 06:05:54 I msg:[ID3V2] version 3.0 tagsize=1014 unsync=0 xheader=0 2009-04-23 06:05:54 I msg:[decode] John Black - January 09 Promo.mp3::129773111::4055.41 2009-04-23 06:06:10 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 07:00:00 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\Trance.m3u 2009-04-23 07:00:00 I msg:[playlistMgr] load complete 2009-04-23 07:00:01 I msg:[playlistMgr] deactivating playlist hard id=2 2009-04-23 07:00:01 I msg:[calendarMgr] Removing event m_playlist=hard m_loopAtEnd=1 m_priority=2 m_shuffle=1 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:1,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=21600 m_timeOffset=year:2097255,mon:7209065,mday:6553700,hour:4259872,min:2097245,sec:7471207,isdst:6881388,wday:7078000,yday:7929953 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 07:13:25 I msg:[mp3 decode] 19169 eof 2009-04-23 07:13:25 I msg:[decode] next file is E:\Trance\Mash up trance 3.mp3 2009-04-23 07:13:25 I msg:[ID3V2] version 3.0 tagsize=4086 unsync=0 xheader=0 2009-04-23 07:13:25 I msg:[decode] Mash up trance 3.mp3::90498113::3770.75 2009-04-23 07:13:41 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 08:16:11 I msg:[mp3 decode] 15724 eof 2009-04-23 08:16:12 I msg:[decode] next file is E:\Trance\R.O.S.S.I - Keeps Kids Trancing - Volume 9.mp3 2009-04-23 08:16:12 I msg:[decode] R.O.S.S.I - Keeps Kids Trancing - Volume 9.mp3::111338057::4639.09 2009-04-23 08:16:29 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 09:33:26 I msg:[mp3 decode] 11478 eof 2009-04-23 09:33:27 I msg:[decode] next file is E:\Trance\Crazy Paul Trance Mix.mp3 2009-04-23 09:33:27 I msg:[ID3V2] version 3.0 tagsize=4086 unsync=0 xheader=0 2009-04-23 09:33:27 I msg:[decode] Crazy Paul Trance Mix.mp3::170165104::7090.21 2009-04-23 09:33:43 I msg:[shoutcastmetadata] Sending metadata 2009-04-23 11:00:01 I msg:[playlistMgr] playlist load from file C:\Documents and Settings\Administrator\My Documents\Playlists\House.m3u 2009-04-23 11:00:01 I msg:[playlistMgr] load complete 2009-04-23 11:00:02 I msg:[playlistMgr] deactivating playlist trance id=3 2009-04-23 11:00:02 I msg:[calendarMgr] Removing event m_playlist=trance m_loopAtEnd=1 m_priority=3 m_shuffle=1 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:7,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=14400 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=0 2009-04-23 11:31:32 I msg:[mp3 decode] 29358 eof 2009-04-23 11:31:33 I msg:[decode] next file is E:\House\Insatiable Session by thenewone.mp3 2009-04-23 11:31:33 I msg:[ID3V2] version 3.0 tagsize=2038 unsync=0 xheader=0 2009-04-23 11:31:33 I msg:[decode] Insatiable Session by thenewone.mp3::111350097::4639.59 2009-04-23 11:31:50 I msg:[shoutcastmetadata] Sending metadata |
|
|
|
|
|
#4 | |
|
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
ok jingles
![]() No idea how you can schedule jingles while using shuffle. Maybe creative scheduling or static playlists with no shuffle and jingles at the end maybe an option. schedule only lasting 24 hours ![]() Quote:
its either repeat="#" or repeat="7". But dont quote me on that as repeat is not something i have tested so far for some reason
So Long, and Thanks for All the Fish. ![]()
|
|
|
|
|
|
|
#5 |
|
Junior Member
|
ahhh i thought so, i noticed the 'repeat="#"' in some examples so ill give that a go!
i also found this in the api/rtf doc: code: What would be the value for every day of the week, if weekday is 62? I've also noticed that the jingles might be able to run when repeat is set to "Time periodic", and then running the start and end time every 2 hours for 1 jingle track. I wouldnt be able to re-generate the jingle playlist with 1 at random though as sc_trans caches the playlist!? code: Any thoughts!? |
|
|
|
|
|
#6 |
|
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
still cant help on the jingle side,
but did repeat="#" work for more than 24 hours ? So Long, and Thanks for All the Fish. ![]()
|
|
|
|
|
|
#7 |
|
Junior Member
|
Nope
As the repeat value it bitwise, i worked out that the value should be 127, if 62 is based on every weekday. Easy solution around the jingle was a bigger priority, and as it has a repeat value of 128 to enable time periodic, this lone playlist entry along with the others can load its playlist every 2 hours enabled for 1 hour to play the next track from the jingle playlist! ![]() WINNNER! |
|
|
|
|
|
#8 |
|
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
sweet !.
going to play around with repeat myself. i should have done it by now but even in beta testing i only ever used single one off events. Thanks for giving me a kick in the ass and making me spend some time with sc_trans 2 again
So Long, and Thanks for All the Fish. ![]()
|
|
|
|
|
|
#9 |
|
Junior Member
|
no worries matie, thank you for sparing some of your time!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|