Old 1st June 2010, 09:35   #201
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
Playlist run dry (Linux, Playlist with Wildcards)

Hey folks,

i also have a problem with Drop6 Beta here.

As long as i set a playlist for sc_trans where the mp3 files are listed with absolute paths, all is fine and sc_trans is streaming to shoutcast server.

There is a documented feature for playlists where one could use wildcards like "/absolute/path/to/mp3files/*mp3" within playlists.

I've set up a playlist file default.lst and set a single entry to the absolute path where my mp3 files reside, at the end with *.mp3.

After restarting sc_trans it exits and within the logfile i can find an entry "Playlist run dry".

The files are still in the directory, and if i write them to a playlist with absolute paths, all is fine. That's why i'm sure that there is no access-right thing getting this to struggle...

any Idea what's wrong here ? The system i use is a linux root-server with shoutcast server 1.9.8 and sc_trans BETA Drop 6. The MP3 Decoder license is set in config and it streams fine as long as there is a playlist with absolute paths to single MP3s.



Jenson
Jenson is offline  
Old 1st June 2010, 11:32   #202
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Quote:
Originally Posted by cuddles71 View Post
Ok, I'm testing drop 6, and while it's streaming properly, I've got a few errors in the log, and a few things I'm not clear on.

4. Specific errors that are showing up in the log now:
code:
2010-06-01 01:06:12 W msg:RGAD tag not supported in file /mnt/music/E/Embrace Selegy/Embrace Selegy - Gemini.mp3

It means that the specific mp3 file has a ID3 tag called RGAD which
sc_serv does not support. Don't worry about it.

Quote:
code:
2010-06-01 01:06:50 W msg:[rgCalc] rename() of /tmp/sct-JTmrNP to /mnt/music/S/Soulfly/Soulfly - Touching the Void.mp3 failed. Trying less safe unlink() and copy()
The replay gain code tries to use the unix rename() function to move the temporary
file back to the original location. rename() is an atomic operation, and guarantees that
you cannot end up with a corrupted mp3 due to crash or failure of the application. rename(), however, will only work if the source and destination are on the same physical volume. If they're not, then the file has to be copied which can result in file corruption if the application should crash mid-copy. In your case, /tmp and /mnt are physically different drives, so rename() cannot be used. Again, it's nothing to be overly concerned about.

Quote:
code:
2010-06-01 01:11:10 msg:Failure converting filename to metadata Premature end of data (*/%TIT2.*)
The mp3 in question has no metadata and the filepath -> metadata conversion pattern did not work.

Quote:
code:
2010-06-01 01:24:29 E msg:[ID3V2] Very badly formed data in file /mnt/music/N/Nightwish/Nightwish - Slaying The Dreamer.mp3 Bad frame ID
sc_trans thinks something is very wrong with the ID3 metadata.

--Neil
nradisch is offline  
Old 1st June 2010, 12:41   #203
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
so ... sorry for my ugly post ... found the problem with wildcards in playlists. There need always to be a carriage return at the end of each entry in playlist, also for entrys like *.mp3.

BUT now i ran into another problem i couldn't find any solution for up to now.

I included a line in my playlist, where a php script should be called to pull a song from database. The Script returns a full absolute path to the mp3 file.

The script also writes a timestamp to database each time it is called.

If i start sc_trans now, the php scripts are not called and the entys in playlist - file seem to be ignored.

the line in playlist.lst looks like:

code:

#!/usr/bin/php /absolute/path/to/php/script/script.php



I also double checked that the user the sc_trans is running with can run the php scripts. If i su to this user i can call the scripts and i get a full absolute path to an existing mp3 file returned to console. ( at the end with \n\r )

The Mp3 Files are also accessible, if i insert the path with a wildcard (*.mp3) into the playlist and restart sc_trans the songs are streamed to the server.

God... only this one thing left ! After solving this i could finish my project here...

Jenson
Jenson is offline  
Old 1st June 2010, 14:56   #204
gurek
Junior Member
 
Join Date: Jan 2009
Location: Toruń [POLAND]
Posts: 16
Quote:
Originally Posted by nradisch View Post
The license key information for mp3 is wrong.

--Neil
Quote:
Dear Łukasz Górski,

Thank you for ordering from Winamp on May 30, 2010. The following email is a summary of your order. Please use this as your proof of purchase. If you paid by credit card, please look for on your credit card billing statement.

Note: If your order contains download products, you can complete the download by looking up your order using the information and link below. When the order summary appears, click on the Download link next to the product name. If your order contains physical products, you will receive a separate email notification when your products have shipped.

To look up your order, please visit: www.findmyorder.com

Please note: This email message was sent from a notification-only address that cannot accept incoming email. Please do not reply to this message.

Sincerely,
Winamp Customer Service
www.findmyorder.com

Your Order and Billing Information:
Order Number: 9066337700
Order Date: May 30, 2010

xxxxxxxxxxx


Shipping Address:

xxxxxxxxxx

Product SKU: 10211972
Product Name: SHOUTcaster Basic Broadcaster License Key
Qty Ordered: 1
Amount: PLN16.40
Digital Rights: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx




Subtotal: PLN16.40
Shipping: PLN0.00


Tax: PLN2.46
Total: PLN18.86
Really?
gurek is offline  
Old 1st June 2010, 16:42   #205
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Try setting playlistdebug=1 in your config file. Perhaps that will provide more information to help diagnose the problem.

--Neil


Quote:
Originally Posted by Jenson View Post
so ... sorry for my ugly post ... found the problem with wildcards in playlists. There need always to be a carriage return at the end of each entry in playlist, also for entrys like *.mp3.

BUT now i ran into another problem i couldn't find any solution for up to now.

I included a line in my playlist, where a php script should be called to pull a song from database. The Script returns a full absolute path to the mp3 file.

The script also writes a timestamp to database each time it is called.

If i start sc_trans now, the php scripts are not called and the entys in playlist - file seem to be ignored.

the line in playlist.lst looks like:

code:

#!/usr/bin/php /absolute/path/to/php/script/script.php



I also double checked that the user the sc_trans is running with can run the php scripts. If i su to this user i can call the scripts and i get a full absolute path to an existing mp3 file returned to console. ( at the end with \n\r )

The Mp3 Files are also accessible, if i insert the path with a wildcard (*.mp3) into the playlist and restart sc_trans the songs are streamed to the server.

God... only this one thing left ! After solving this i could finish my project here...

Jenson
nradisch is offline  
Old 1st June 2010, 16:45   #206
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
gurek:

You should contact Faisal (sc_faisal) about this. Digital River (the company who manages the store for the mp3 keys) was distributing bogus keys a while back. It's possible that they've started doing that again. Unfortunately I no longer have access to the shoutcast code base so I can't actually verify if your key is valid.

--Neil
nradisch is offline  
Old 1st June 2010, 17:51   #207
SC_faisal
SHOUTcast (Alumni)
 
Join Date: Sep 2008
Posts: 162
Hi Neil. :-)

Gurek - Looking into it. Please send me PM with your Key.

f.
SC_faisal is offline  
Old 1st June 2010, 20:52   #208
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
I've Triest the playlistdebug=1 right before my last post.. Forgot to Tell you, sorry. The log Shows only the mp3 Files which are Set with an absolute path in playlist. It Look like sc_Trans ignores all entrys with #! At the beginning like any other comment within the playlist file.
Jenson is offline  
Old 1st June 2010, 21:41   #209
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Quote:
Originally Posted by Jenson View Post
I've Triest the playlistdebug=1 right before my last post.. Forgot to Tell you, sorry. The log Shows only the mp3 Files which are Set with an absolute path in playlist. It Look like sc_Trans ignores all entrys with #! At the beginning like any other comment within the playlist file.
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
nradisch is offline  
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  
Old 2nd June 2010, 09:35   #211
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Jenson,

The version you are running predates support for external application in the playlist. You need to update your sc_trans.

--Neil
nradisch is offline  
Old 2nd June 2010, 15:37   #212
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Thanks for the reply Neil. But what about questions 1, 2, and 3?
cuddles71 is offline  
Old 2nd June 2010, 16:15   #213
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Quote:
Originally Posted by cuddles71 View Post
Ok, I'm testing drop 6, and while it's streaming properly, I've got a few errors in the log, and a few things I'm not clear on.

1. Has the calendar.xml changed format?
My old calendar.xml had entries like this:
code:

<event type="dj">
<dj archive="1">bacon</dj>
<calendar starttime="10:59:00" duration="02:00:00" repeat="1" />
</event>



The new testui shows "undefined" for each DJ in my calendar though.
Not that I know of.

Quote:

2. In the testui, I'm still not getting the VU Meter images. Just a broken image placeholder. What should I set the vuimagedirectory to?

You should probably used the absolute path to the directory with the images. AT sc_trans startup you will see either an error message about not finding the files, or an indication about the number of files loaded. Also, it could just be a browser compatibility issue. The vu image push uses an old continuous image push mechanism that may be deprecated in your browser. The vu.bin weblet command is a more reliable way to get VU information (see docs.txt)

Quote:

3. I'd like to set the streamed metadata for each track from my playlist to just "Artist - Song," but even after setting what I thought was right (%R - %N), no change on the stream.
Could you be more specific about what you set and what you are seeing.

--Neil
nradisch is offline  
Old 2nd June 2010, 16:45   #214
gurek
Junior Member
 
Join Date: Jan 2009
Location: Toruń [POLAND]
Posts: 16
Quote:
Originally Posted by SC_faisal View Post
Hi Neil. :-)

Gurek - Looking into it. Please send me PM with your Key.

f.
reply me!
gurek is offline  
Old 2nd June 2010, 18:42   #215
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
According to the docs.txt, the default metadata is %R[ - ]%A[ - ]%N, which translates to Artist - Album - Song. What I'd prefer is just Artist - Song, which SHOULD be %R[ - ]%N, and which I've set in sc_trans.conf. BUT, I still end up with Artist - Album - Song.

Using the weblet gives me a prompt to save a file called vu.bin. Is that normal?
cuddles71 is offline  
Old 2nd June 2010, 23:20   #216
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
Quote:
Originally Posted by nradisch View Post
Jenson,

The version you are running predates support for external application in the playlist. You need to update your sc_trans.

--Neil
I've downloaded the package again from

http://download.shoutcast.com/beta/s...6_02232010.zip

This is the sc_trans version i'm using ! Is there a newer one ?

Jenson
Jenson is offline  
Old 2nd June 2010, 23:22   #217
Jenson
Junior Member
 
Join Date: Feb 2010
Posts: 8
Neil where do i find the latest Version of SC_TRANS ? The version i use at the moment is the one from the url

http://download.shoutcast.com/beta/s...6_02232010.zip

and thats the one i posted the logfiles from here ... If you say that my sc_trans is not the latest Beta maybe the zip containts not the latest sctrans for linux ???
Jenson is offline  
Old 3rd June 2010, 21:56   #218
Webschiff
Junior Member
 
Join Date: Jun 2010
Posts: 1
sc_trans & calendar

Hallo together,

sorry for my english, I write in german.

Ich habe folgendes Problem:
In meiner Calendar.xml habe ich Playlisten eingetragen, die auch wunderbar gespielt werden...
Sobald es jedoch 2h am ist, schaltet sich die das Event ab, obwohl ich geschrieben habe bis 3h am.

Erster Versuch: Ich habe da schon einiges versucht, hat jedoch nicht hin gehauen... Hier mal die Daten:
starttime="11:00:00" duration="03:00:00" repeat="62"

Zweiter Versuch: und zum weiteren habe ich es so getestet, indem ich 2 events erstellt habe wegen 00 Uhr

starttime="11:00:00" duration="23:59:59" repeat="62"

starttime="00:00:01" duration="03:00:00" repeat="62"

jeweils mit den Entsprechend Tags. Ohne Erfolg...
Ich möchte, dass die Playlist(en) täglich von 11h morgens bis 03h nachts spielt, was mache ich da verkehrt?

Und gleich noch eine Frage hinterher:
Ich lese derzeit die DJ Daten aus dem AOL Namen in sc_serv2 aus, gibt es, abgesehen vom "Current Song" eine andere Möglichkeit, an diese Daten zu kommen, wenn sc_trans zwischengeschaltet ist (Möchte die DJ Daten haben, nicht die SC_trans Standarddaten)?

Danke schon mal im Voraus
Webschiff is offline  
Old 3rd June 2010, 23:06   #219
hackerdork
Forum King
 
hackerdork's Avatar
 
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
using URL in playlist ?

I have not found this to work, or if its possible.

in my playlist.lst I can not use a URL nor does it look like the relay option would work if the source is a mp3 or media file rather than a shoutcast source.

#
/home/music/somfilehere.mp3
#
http://domain.name.here/path/filename.mp3
#
/home/music/anotherfilehere.mp3
#end
#
I know with beta6 we can relay, which act like a client to a shoutcast stream but can this too support a absolute url to a mp3 file , or can it only support shoutcast format ?

The idea would be to have the ability for remote media files so you can bring a podcaster to your show without having them needing to run a shoutcast server or send you the mp3 files.

thanks for the time

~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough.
search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn.
hackerdork is offline  
Old 7th June 2010, 03:12   #220
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Ok, getting a VERY strange error now. This just started happening about 10 minutes ago:

Quote:
2010-06-06 22:59:18 msg:[shoutcastmetadata] Sending metadata
2010-06-06 23:03:55 msg:[titleupdate] receiving DJ metadata "Bunnie%27s%20Beats%20%7E%20The%20Rolling%20Stones%20%2D%20Ruby%20Tuesday"
2010-06-06 23:03:55 msg:[titleupdate] invalid DJ login or password
2010-06-06 23:07:06 msg:[titleupdate] receiving DJ metadata "Bunnie%27s%20Beats%20%7E%20Birds%20Of%20Tokyo%20%2D%20Train%20Wrecks"
2010-06-06 23:07:06 msg:[titleupdate] invalid DJ login or password
Obviously, the DJ's password is correct, or she couldn't broadcast. But it's not updating the metadata, instead giving that message.
cuddles71 is offline  
Old 7th June 2010, 08:23   #221
f3llony
Junior Member
 
Join Date: Jun 2010
Location: Riga, Latvia
Posts: 1
Why does SC developers do anything through ass? Isnt it obvious, you could just make a godamn gtk+ app interface for godamn sc_trans? A gui version? no?
Maybe you can provide godamn information how to do it, and i will do it for you? Huh...
f3llony is offline  
Old 7th June 2010, 15:42   #222
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Update to my issue of "msg:[titleupdate] invalid DJ login or password"...

It's ONLY happening to that one DJ (Bunnie), and changing her password did nothing whatsoever to help.
cuddles71 is offline  
Old 9th June 2010, 21:10   #223
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Could be a sc_trans version mismatch. There was a problem parsing DJ metadata and passwords that was recently fixed.

Quote:
Originally Posted by cuddles71 View Post
Update to my issue of "msg:[titleupdate] invalid DJ login or password"...

It's ONLY happening to that one DJ (Bunnie), and changing her password did nothing whatsoever to help.
nradisch is offline  
Old 9th June 2010, 23:36   #224
cuddles71
Senior Member
 
Join Date: Oct 2008
Posts: 104
Version mismatch? Okay...

Aside from that, and the metadata formatting, drop 6 is working fantastically here. Actual 30% decrease in system resource usage from drop 5. Great job!
cuddles71 is offline  
Old 9th June 2010, 23:59   #225
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
Just a guess. If you're using beta 6, you should make sure your DJ is using the same.

--Neil
nradisch is offline  
Old 12th June 2010, 11:54   #226
odonel
Junior Member
 
Join Date: Mar 2010
Posts: 6
Will there be another version soon? It is obvious beta 6 is not working as it should. I have my config set the same as Jenson. My calendar file like cuddles. It seems like the calendar file recreates itself everytime sc_trans is start. It deletes all the events and revert to the default dj2 entry.

I need to have 3 DJS and 1 playlist. The playlist will play 24hrs, but stop when a DJ is broadcasting. So far, it only works with DJ2, no matter how I modify the trans.conf or calendar.xml

How do I proceed?
odonel is offline  
Old 13th June 2010, 12:33   #227
elpotente
Junior Member
 
Join Date: Apr 2010
Posts: 30
You have to set calendarrewrite to 0... or configrewrite dont know tha exact name, but find about a config param "item"+"rewrite" and set it to zero. By default its set to one and when closing trans it rewrites calendar and config files.


Hope it helps!
elpotente is offline  
Old 13th June 2010, 13:06   #228
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
There's both. calendarrewrite controls the rewriting of the calendar file, and configrewrite controls the rewriting of the config file.

--Neil
nradisch is offline  
Old 24th June 2010, 18:30   #229
dgcurtis
Junior Member
 
Join Date: Jun 2010
Posts: 23
As an FYI, I just purchased a license and am getting the error "Unknown encoder type mp3". I've already pm'd SC_faisal about it.

--Doug
dgcurtis is offline  
Old 30th June 2010, 14:50   #230
dgcurtis
Junior Member
 
Join Date: Jun 2010
Posts: 23
I am still waiting to hear back about the license issue.

-- Doug
dgcurtis is offline  
Old 30th June 2010, 21:49   #231
ram130
Senior Member
 
Join Date: Sep 2009
Location: New York
Posts: 152
Send a message via AIM to ram130 Send a message via Yahoo to ram130
How is everyone's problems so far?

and for Webschiff above. Here's the translation.


Quote:
Originally Posted by Webschiff View Post
Hallo together,

sorry for my english, I write in german.

Ich habe folgendes Problem:
In meiner Calendar.xml habe ich Playlisten eingetragen, die auch wunderbar gespielt werden...
Sobald es jedoch 2h am ist, schaltet sich die das Event ab, obwohl ich geschrieben habe bis 3h am.

Erster Versuch: Ich habe da schon einiges versucht, hat jedoch nicht hin gehauen... Hier mal die Daten:
starttime="11:00:00" duration="03:00:00" repeat="62"

Zweiter Versuch: und zum weiteren habe ich es so getestet, indem ich 2 events erstellt habe wegen 00 Uhr

starttime="11:00:00" duration="23:59:59" repeat="62"

starttime="00:00:01" duration="03:00:00" repeat="62"

jeweils mit den Entsprechend Tags. Ohne Erfolg...
Ich möchte, dass die Playlist(en) täglich von 11h morgens bis 03h nachts spielt, was mache ich da verkehrt?

Und gleich noch eine Frage hinterher:
Ich lese derzeit die DJ Daten aus dem AOL Namen in sc_serv2 aus, gibt es, abgesehen vom "Current Song" eine andere Möglichkeit, an diese Daten zu kommen, wenn sc_trans zwischengeschaltet ist (Möchte die DJ Daten haben, nicht die SC_trans Standarddaten)?

Danke schon mal im Voraus


--

Quote:
Originally Posted by Webschiff View Post
Hallo together,

sorry for my english, I write in german.

I have the following problem:
In my calendar.xml I have registered playlists, which are also played wonderfully ...
Once there, however, is at 2h, turns off the the event, although I have written to 3h am

First try: I have already tried some, but has not carved out ... Here are the dates:
start time = "11:00:00" duration = "03:00:00" repeat = "62"

Second attempt: and further I have tested it so, as I have created two events for 00 clock

start time = "11:00:00" duration = "23:59:59" repeat = "62"

start time = "00:00:01" duration = "03:00:00" repeat = "62"

Accordingly, each with the tags. Without success ...
I want the playlist (s) daily from 11h am to 03h play at night, what I'm doing wrong?

And just a question afterwards:
I am reading now from the DJ data from the AOL name in sc_serv2, there are, apart from the "Current Song" is another way to get at this data, if sc_trans interposed (If you want the DJ data have not SC_trans standard data)?

Thank you in advance

Ramon
ram130 is offline  
Old 6th July 2010, 13:03   #232
DirtMcGirt
Member
 
Join Date: Jan 2009
Posts: 62
Let me get this straight:

1) Are we being forced to update to a Beta Release of YP2?

2) My radio stations to not show up in the directory like it used to. I used to just be able to put in my website and it would show up, now it shows nothing. Is that because of the new platform?
DirtMcGirt is offline  
Old 7th July 2010, 03:17   #233
magnum34r
Junior Member
 
Join Date: Jul 2010
Location: USA
Posts: 2
Send a message via AIM to magnum34r
i like the old shoutcast programs better, seemed simpler
magnum34r is offline  
Old 25th July 2010, 17:08   #234
RedSarah
Junior Member
 
RedSarah's Avatar
 
Join Date: Jul 2010
Posts: 7
Jensen, it's not your version of sc_trans, it's your sc_serv "DNAS" version. You stated earlier in the thread you were using version 1.9.8. I think maybe that is what Neil was referring to?

Dirt, testing out the beta is simply voluntary. Is there someone forcing you, like your webmaster or something?

Magnum I disagree. The new Shoutcast Server was a breeze. Much better and easier for me. I downloaded both the zips the other day. Today I unzipped them, uploaded them to the server. Made an sc_serv config file out of the doc.txt file. Only found one error where a partial word was spelled "exist" instead of exit. Removed the "s" and that fixed the one error, the new sc_serv runs fine now.

I then installed the sc_trans(what this thread is about and I'm most excited about), configured it's sample file, tested it and of course there were no errors barring getting the error "Unknown encoder type mp3", which I had expected from reading this thread, because I haven't purchased a $5.00 mp3 license yet. The trans testing will have to wait until I have more than $3.78 USD in my PayPal account, drat. I even tried "aac" instead of mp3, but no go, which I had figured would be the same. Maybe I can purchase it sometime later this week or next. Then wait for my key to work and then test it. Can't wait!

dgcurtis, can you update us on your status? Are you still waiting?
Should we assume it's working now if you don't update us?
Please let us know.

Thanks!
RedSarah is offline  
Old 25th July 2010, 17:41   #235
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
RedSarah,

You do not need a license for AAC encoding in sc_trans. If it didn't work then there was probably something wrong in your config file.

--Neil
nradisch is offline  
Old 26th July 2010, 20:40   #236
Jeeper One
Major Dude
 
Jeeper One's Avatar
 
Join Date: May 2003
Location: Denver, Colorado
Posts: 1,055
Quote:
Originally Posted by SC_faisal View Post
Hi All!
The SHOUTcast team is pleased to present you the latest Shoutcast Transcoder beta drop.
[Snip.....]
Quote:
NEW STUFF:

- A new type of event as been added to the calendaring system that allows you to relay other stations. (see calendarxml.txt for more information)

- You can now create your playlists dynamically in real time. A new playlist entry construct will allow the invocation of an external program to fetch the next playlist entry (see docs.txt section 10)

- You can change the way your metadata is displayed in clients (this comes with lots of caveats though). See the new displaymetadatapattern conf file option (docs.txt)

- In order to encode your stream in mp3, you need an MP3 license key. This is a legal requirement to comply with all broadcasting laws. You can grab the code and pay the $5 license fee here: http://shop.winamp.com/servlet/Promo...omoID.48873700
How would this affect someone who uses a host like Live365 which covers the broadcasting laws?

Better yet, how does one justify this expense if all they broadcast is either all original or public domain content?

Sorry if these questions have been answered before BUT.....

Cheers

Pat

Pat Cook
Englewood, CO
Jeeper One is offline  
Old 26th July 2010, 20:54   #237
Jeeper One
Major Dude
 
Jeeper One's Avatar
 
Join Date: May 2003
Location: Denver, Colorado
Posts: 1,055
Quote:
Originally Posted by LuckyLPR View Post
leute this is beta version you agree first-class software free of charge and stir more than 5$ on I cannot understand completely
and with everybody can fail sometimes a little bit
Then I might suggest they not charge ANYTHING for the key since SHOUTcast 2.0 is still Betaware. This will solve a lot of problems & reduce the grief right off the bat.

Cheers

Pat Cook
Englewood, CO
Jeeper One is offline  
Old 26th July 2010, 21:25   #238
RedSarah
Junior Member
 
RedSarah's Avatar
 
Join Date: Jul 2010
Posts: 7
Ah thanks Neil. You are correct! I did attempt a bit ago with the aac again. I found I had forgotten the "p" on the end of the config file parameter. I had "aac" instead of "aacp".
It actually played mp3 files encoding them into aacp. It sounded very strange of course lol. I then updated my play list by uploading some .m4a files(4) into a directory for testing the trans. Made a play list to those 4 files. Fired it up and received this basically at the end...

msg:[decode] Error. No decoder for /shoutcast/sc_trans_beta6/music/testsong - test title - test project.m4a, skipped
2010-07-26 17:17:05 E msg:[decode] Too many consecutive file errors, bailing out.
2010-07-26 17:17:05 I msg:[decode] Exiting decoder thread
2010-07-26 17:17:05 I msg:[AAC] Exiting encoder thread
2010-07-26 17:17:06 I msg:[rgCalc] thread exiting
2010-07-26 17:17:08 D msg:[calendarMgr] timeSlice
2010-07-26 17:17:08 I msg:[MAIN] Exiting loop
2010-07-26 17:17:08 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2010-07-26 17:17:08 I msg:[crossfader] in=0 out=0
2010-07-26 17:17:08 I msg:<***> Logger shutdown

I assume it doesn't know what or which "bitstreamformat" I am using or want to use to decode it?

I did try it as a parameter in the config file, but there was no effect.
Perhaps another configuration setting somewhere is off on my end.
If I do get the AAC to work, I think I'll simply convert all my mp3's to acc.
Thanks!
RedSarah is offline  
Old 26th July 2010, 23:21   #239
nradisch
Senior Member
 
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
RedSarah,

sc_trans cannot read m4a files. I no longer have access to the source, but I believe the legal input formats are

mp3
aacp
uncompressed wav
ogg
flac

--Neil
nradisch is offline  
Old 29th July 2010, 14:06   #240
RedSarah
Junior Member
 
RedSarah's Avatar
 
Join Date: Jul 2010
Posts: 7
Hi Neil,

I did get the AAC to work great, as long as it was 22kbs or less and the quality was quite amazing at the low bitrate, but any higher than 23kbs and above I started getting artifacts, 32 and up was very weird and digitally sounding if any sound at all.

So I proceeded and purchased the license key to unlock the mp3 encoder, I figured AAC was great for low bitrates, but maybe mp3 would be needed and better at higher bitrates plus more compatible with the common players out now, but the same problem, unable to do any legible quality above 22kbs worth streaming and the AAC sounded 10 times better than the mp3 at the low 22kbs, yet the mp3 wouldn't encode anything legible higher than 24kbs exactly like the AAC encoder.

The license key took about 5 minutes to attain, insert and use. Was another breeze!

I have a real old version of sc_trans running too, it's playing mp3 files off the same playlist as the sc_trans beta 6 in mp3 at 128 just fine except it is using about 1/3 more cpu. All the files are mp3's 128 44Khz. However this real old version of sc_trans I have the opposite problem and cannot get it to encode anything at a low bitrate. Opposite of the current sc_trans beta 6 I'm using.

I also noticed the sc_trans beta 6 AAC encoder (on my system) uses like half as much cpu as the sc_trans beta 6 mp3 encoder. Both were better than the real old version of sc_trans which used 3 times the cpu compared to the sc_trans beta 6 AAC encoder and 1/3 more compared to the sc_trans beta 6 mp3 encoder. However the real old sc_trans will play mp3's at 128kbs.

What do you suppose causes the real old version to encode only high bitrates and the new beta 6 to encode only low bitrate on the same server? Moi, the operator perhaps?
RedSarah is offline  
Closed Thread
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