View Single Post
Old 2nd June 2010, 07:35   #210
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
Quote:
Originally Posted by nradisch View Post
Nah, something else is going wrong. With playlistdebug=1 you should see at least some sort of acknowledgement in the logs that a shell command was seen. Perhaps there's something else in the list that is causing a problem. I'll be happy to take a look if you want.

--Neil
This is my playlist-File:

code:

#!/usr/bin/php /home/shoutcast/sctrans/sc_trans2/dbconn/getNextJingle.php
#!/usr/bin/php /home/shoutcast/sctrans/sc_trans2/dbconn/getNextSong.php
/home/shoutcast/mp3base/power-radio.de/autoDJ/music/*.mp3




The first two lines are totally ignored by sc_trans.

this is a part of the log (startup of sc_trans):

code:

2010-06-01 17:17:30<--->I<----->msg:<***><----->Logger startup
2010-06-01 17:17:30<--->I<----->msg:<***><----->version 0.2.0.0 build 0.0.25.0
2010-06-01 17:17:30<--->D<----->msg:<***><----->
2010-06-01 17:17:30<--->W<----->msg:[conf] Invalid item on line 2
2010-06-01 17:17:30<--->W<----->msg:[conf] Invalid item on line 3
2010-06-01 17:17:30<--->W<----->msg:[conf] Invalid item on line 44
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Jenson m_archive=0 m_id=1 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,i
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Knuppel m_archive=0 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Mausi m_archive=0 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,is
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Stefanie m_archive=0 m_id=4 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Sascha m_archive=0 m_id=5 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,i
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Jennifer m_archive=0 m_id=6 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Holger m_archive=0 m_id=7 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,i
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Bastian m_archive=0 m_id=8 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Kai m_archive=0 m_id=9 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isds
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Uwe m_archive=0 m_id=10 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isd
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Markus m_archive=0 m_id=11 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Ralf m_archive=0 m_id=12 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,is
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Marco m_archive=0 m_id=13 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,i
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Timo m_archive=0 m_id=14 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,is
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Andrea m_archive=0 m_id=15 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Jens2 m_archive=0 m_id=16 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,i
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Manuel m_archive=0 m_id=17 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,
2010-06-01 17:17:30<--->I<----->msg:[calendarMgr] Adding DJ event m_djName=Tim m_archive=0 m_id=18 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isd
2010-06-01 17:17:30<--->I<----->msg:[VUPush] 0 VU images loaded
2010-06-01 17:17:30<--->I<----->msg:[VUPush] 0 VU images loaded
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] Registering playlist default:/home/shoutcast/mp3base/power-radio.de/playlists/default.lst : 0
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] Playlist registry
name:default path:/home/shoutcast/mp3base/power-radio.de/playlists/default.lst

2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] Activating playlist default id=-1 loop=1 prior=0 shuffle=0 dur=0 curt=0
2010-06-01 17:17:30<--->I<----->msg:[playlistMgr] playlist load from file /home/shoutcast/mp3base/power-radio.de/playlists/default.lst
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/Topmodelz - Fly on the Wings of Love.mp3
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/agepee.mp3
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/pandora bx - bad romance.mp3
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/katerine avgoustakis-ayotechnology.mp3
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/Keri Hilson - I Like (RainDropz! Radio M
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/Aquagen - Hard To Say I'm Sorry.mp3
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] new entry /home/shoutcast/mp3base/power-radio.de/autoDJ/music/Baracuda - Dancing Into Danger (Extended
2010-06-01 17:17:30<--->I<----->msg:[playlistMgr] Caching playlist /home/shoutcast/mp3base/fun-dance-radio.de/playlists/default.lst
2010-06-01 17:17:30<--->I<----->msg:[playlistMgr] load complete
2010-06-01 17:17:30<--->D<----->msg:[playlistMgr] Playlist queue:
name:default priority:0 loop:1 shuffle:0 id:-1 stop:0

2010-06-01 17:17:30<--->I<----->msg:*******************************************************************************
2010-06-01 17:17:30<--->I<----->msg:** TRANScast Distributed Network Audio Content Provider
2010-06-01 17:17:30<--->I<----->msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
2010-06-01 17:17:30<--->I<----->msg:** Use "sc_trans filename.conf" to specify a config file.
2010-06-01 17:17:30<--->I<----->msg:*******************************************************************************
2010-06-01 17:17:30<--->I<----->msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.25.0 (Feb 3 2009) starting up...
2010-06-01 17:17:30<--->I<----->msg:[MAIN] PID: 17118
2010-06-01 17:17:30<--->I<----->msg:[MAIN] Loaded config from /home/shoutcast/sctrans/sc_trans2/sc_trans_8000.conf
2010-06-01 17:17:30<--->I<----->msg:[MAIN] Streaming thread starting
2010-06-01 17:17:30<--->I<----->msg:[resampler] deactivated 44100/2 == 44100/2
2010-06-01 17:17:30<--->I<----->msg:[MAIN] Encoder thread 0 starting
2010-06-01 17:17:30<--->I<----->msg:[MAIN] broadcast thread 0 starting
2010-06-01 17:17:30<--->I<----->msg:[mp3enc] 582537760/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2010-06-01 17:17:30<--->I<----->msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active

2010-06-01 17:17:30<--->I<----->msg:[MAIN] Playlist decoder thread starting
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 giving replay gain calculator a head start
2010-06-01 17:17:30<--->I<----->msg:[rgCalc] thread running
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 running
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 Creating stream socket
2010-06-01 17:17:30<--->I<----->msg:[microServer] Listening for connection on port 8051
2010-06-01 17:17:30<--->I<----->msg:[MAIN] Broadcast Receiver thread starting
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 Connected to host server
2010-06-01 17:17:30<--->I<----->msg:[decode] giving replay gain calculator a head start
2010-06-01 17:17:30<--->I<----->msg:[decode] begin decoding
2010-06-01 17:17:30<--->I<----->msg:[decode] next file is /home/shoutcast/mp3base/power-radio.de/autoDJ/music/Topmodelz - Fly on the Wings of Love.mp3
2010-06-01 17:17:30<--->I<----->msg:[mp3enc] 582537760/44100/2/128000 mp3 setup complete
2010-06-01 17:17:30<--->I<----->msg:[ID3V2] version 3.0 tagsize=2038 unsync=0 xheader=0
2010-06-01 17:17:30<--->I<----->msg:[decode] Topmodelz - Fly on the Wings of Love.mp3::5669390::236.225
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 Host server gave success (OK2)
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 Stream to 127.0.0.1 established
2010-06-01 17:17:30<--->I<----->msg:[STREAM] 1911566461 Sending stream information
2010-06-01 17:17:32<--->I<----->msg:[shoutcastmetadata] Sending metadata
2010-06-01 17:18:05<--->I<----->msg:[djmgr] No DJ currently active. Run permission granted for Mausi
2010-06-01 17:18:05<--->I<----->msg:[broadcastStallManager] timed content set to TRUE
2010-06-01 17:18:05<--->I<----->msg:[djProtocolShoutcast] Connected
2010-06-01 17:20:45<--->I<----->msg:[titleupdate] receiving DJ metadata "Merzad%20Marashi%20%26%20Mark%20Medlock%20%2D%20Sweat"
2010-06-01 17:20:45<--->I<----->msg:[titleupdate] relaying DJ metadata
2010-06-01 17:20:57<--->I<----->msg:[shoutcastmetadata] Sending metadata
2010-06-01 17:24:30<--->I<----->msg:[titleupdate] receiving DJ metadata "Groove%20Coverage%20%2D%20Innocent"
2010-06-01 17:24:30<--->I<----->msg:[titleupdate] relaying DJ metadata
2010-06-01 17:24:43<--->I<----->msg:[shoutcastmetadata] Sending metadata
2010-06-01 17:27:18<--->I<----->msg:[titleupdate] receiving DJ metadata "Brisby%20%26%20Jingles%20%2D%20L%27amour%20Toujours%20%28Club%20Radio%29"
2010-06-01 17:27:18<--->I<----->msg:[titleupdate] relaying DJ metadata
2010-06-01 17:27:30<--->I<----->msg:[shoutcastmetadata] Sending metadata
2010-06-01 17:30:21<--->I<----->msg:[titleupdate] receiving DJ metadata "Novaspace%20%2D%20Close%20Your%20Eyes%20%28Radio%20Edit%29"
2010-06-01 17:30:21<--->I<----->msg:[titleupdate] relaying DJ metadata
2010-06-01 17:30:33<--->I<----->msg:[shoutcastmetadata] Sending metadata
2010-06-01 17:32:44<--->I<----->msg:[titleupdate] receiving DJ metadata ""



For me ... it look like sc_trans is ignoring the #!/usr/bin/php tags completely ...

and here is the conf (password, domains, etc. exchanged !)

code:

;; MP3 Decoder License Information
unlockkeyname=xxxx xxxxxxxxxx
unlockkeycode=xxxxx-xxxxx-xxxxx-xxxxx

;; VU Images
vuimagedirectory=/home/shoutcast/sctrans/sc_trans2/vuimages/

;; ENCODER OPTIONS
encoder=mp3
bitrate=128000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=127.0.0.1
serverport=8000
password=xxxxxxxxx


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=/home/shoutcast/sctrans/sc_trans2/sc_trans_8000.log
; 1 to do screen logging else 0
screenlog=0
djdebug=0
calendardebug=0
playlistdebug=1


;;;;;; METADATA CONTROL
; my stream name
streamtitle=Power Radio
; url related to my stream
streamurl=http://www.power-radio.de
; my genre
genre=Dance
; other assorted stuff
aim=powerradio@live.de
;irc=myirc
;icq=myicq
; register with yp
public=1
displaymetadatapattern = %R[ - - ]%N





;;;; PLAYLIST CONTROL
; your playlist
; playlistfilename_0=house
; playlistfilepath_0=/home/shoutcast/mp3base/fun-dance-radio.de/playlists/house.lst
; playlistfile=/home/shoutcast/mp3base/fun-dance-radio.de/playlists/house.lst
playlistfile=/home/shoutcast/mp3base/power-radio.de/playlists/default.lst


; by default we shuffle the playlist. Lets turn that off
shuffle = 0

; set our crossfade time to 3 seconds. zero means no xfade
xfade=3

; file must be at least 10 seconds or we don't crossfade
xfadethreshold=10

; drop folder for priority playlists
playlists=/home/shoutcast/sctrans/sc_trans1/playlists/priority/
; where finished priority playlists get copied
archive=/home/shoutcast/sctrans/sc_trans1/playlists/priority/finished/

;;; 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=8050
; dj password
; djpassword=xxxxxxxx
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=/home/shoutcast/sctrans/sc_trans1/recorded/


;;;; CALENDARFILE
calendarfile=/home/shoutcast/sctrans/sc_trans2/calendar.xml


;;;; DJs

djlogin_0=xxxxx
djpassword_0=xxxxx
djpriority_0=10

djlogin_1=xxxxx
djpassword_1=xxxxxxx
djpriority_1=10

djlogin_2=xxxxxxxxx
djpassword_2=xxxx
djpriority_2=10

djlogin_3=xxxxxxxxxx
djpassword_3=xxx
djpriority_3=9

djlogin_4=xxxxxxxxxxxxx
djpassword_4=xxx
djpriority_4=9

djlogin_5=xxx
djpassword_5=xxxxxx
djpriority_5=3

djlogin_6=xxxxxx
djpassword_6=xxxxxxxx
djpriority_6=3

djlogin_7=xxx
djpassword_7=xxxxxxxxx
djpriority_7=3


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=6677
adminuser=xxxxx
adminpassword=xxxxxxxx


Any Help is appreciated ...

Jenson

Last edited by Jenson; 2nd June 2010 at 07:43. Reason: adding the conf
Jenson is offline