Scoobsky
23rd September 2004, 21:20
Hi everyone,
Newbie to DJ'ing on the net and I'm having a problem configuring sc_trans_linux.
I'm on Fedora Core 2.
I've got my playlist.. and I can successfully send my show to my broadcast server but I have a problem when switching from DSP:/dev/audio back to the next mp3.
that's what my test playlist look like:
/23092004/Fun_Loving_Criminals-Scooby_Snacks.mp3
/23092004/Fun_Loving_Criminals-Scooby_Snacks.mp3
DSP:/dev/audio
/23092004/RATM-Renagades_of_Funk.mp3
DSP:/dev/audio
/23092004/Manu_Chao-Je_ne_taime_plus.mp3
it plays the first tune ok... then give me a line so I can talk, but when I kill -WINCH {ProcessID}, instead on moving on to the next MP3, it just gives me another line recording.
Output from sc_trans:
<09/23/04@22:10:40> [DECODE] Opened Fun_Loving_Criminals-Scooby_Snacks.mp3
<09/23/04@22:10:41> [MAIN] Title Updated
<09/23/04@22:11:37> [MAIN] SIGWINCH; Next Song
<09/23/04@22:11:37> [DECODE] DSP (/dev/audio) opened (16,2,44100)
<09/23/04@22:11:42> [MAIN] SIGWINCH; Next Song
<09/23/04@22:11:42> [DECODE] DSP (/dev/audio) opened (16,2,44100)
As you can see... it opens up the mp3, then goes to line recording just fine, but when I finish talking and send the WINCH signal, although it says SIGWINCH Next song, it just opens up /dev/audio again :-(
now... I found something interesting... it only does that if I set Shuffle to 0 in my sc_trans.conf file. if I set it to 1, then if does play a mp3 fine after /dev/audio... the problem is that it opens up any mp3 and does not follow the order in the playlist (which is no good to me).
here's my sc_trans.conf file:
PlaylistFile=SDR23092004.lst
; ServerIP/ServerPort are the target server to send to
ServerIP=MyIP
ServerPort=xxxx
; Password is the password on the sc_serv you're sending to.
Password=xxxxxxxx
; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=blah blah blah
StreamURL=blah blah blah
Genre=blah blah blah
; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log
; Shuffle the playlist
Shuffle=0
; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=80000
SampleRate=44100
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1
; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000
UseID3=0
; Public determines whether or not this station will show up in the directory
Public=1
; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=AIMHandle
ICQ=
IRC=shoutcast
Hope someone can help.. I have my first show next week and need to make it working :-)
THanks in advance for all your help.
M.
Newbie to DJ'ing on the net and I'm having a problem configuring sc_trans_linux.
I'm on Fedora Core 2.
I've got my playlist.. and I can successfully send my show to my broadcast server but I have a problem when switching from DSP:/dev/audio back to the next mp3.
that's what my test playlist look like:
/23092004/Fun_Loving_Criminals-Scooby_Snacks.mp3
/23092004/Fun_Loving_Criminals-Scooby_Snacks.mp3
DSP:/dev/audio
/23092004/RATM-Renagades_of_Funk.mp3
DSP:/dev/audio
/23092004/Manu_Chao-Je_ne_taime_plus.mp3
it plays the first tune ok... then give me a line so I can talk, but when I kill -WINCH {ProcessID}, instead on moving on to the next MP3, it just gives me another line recording.
Output from sc_trans:
<09/23/04@22:10:40> [DECODE] Opened Fun_Loving_Criminals-Scooby_Snacks.mp3
<09/23/04@22:10:41> [MAIN] Title Updated
<09/23/04@22:11:37> [MAIN] SIGWINCH; Next Song
<09/23/04@22:11:37> [DECODE] DSP (/dev/audio) opened (16,2,44100)
<09/23/04@22:11:42> [MAIN] SIGWINCH; Next Song
<09/23/04@22:11:42> [DECODE] DSP (/dev/audio) opened (16,2,44100)
As you can see... it opens up the mp3, then goes to line recording just fine, but when I finish talking and send the WINCH signal, although it says SIGWINCH Next song, it just opens up /dev/audio again :-(
now... I found something interesting... it only does that if I set Shuffle to 0 in my sc_trans.conf file. if I set it to 1, then if does play a mp3 fine after /dev/audio... the problem is that it opens up any mp3 and does not follow the order in the playlist (which is no good to me).
here's my sc_trans.conf file:
PlaylistFile=SDR23092004.lst
; ServerIP/ServerPort are the target server to send to
ServerIP=MyIP
ServerPort=xxxx
; Password is the password on the sc_serv you're sending to.
Password=xxxxxxxx
; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=blah blah blah
StreamURL=blah blah blah
Genre=blah blah blah
; Logfile optionally denotes a text file to log sc_trans to. a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=sc_trans.log
; Shuffle the playlist
Shuffle=0
; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=80000
SampleRate=44100
Channels=1
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1
; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000
UseID3=0
; Public determines whether or not this station will show up in the directory
Public=1
; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=AIMHandle
ICQ=
IRC=shoutcast
Hope someone can help.. I have my first show next week and need to make it working :-)
THanks in advance for all your help.
M.