View Single Post
Old 4th August 2010, 23:33   #263
Rothgar
Senior Member
 
Join Date: Jun 2001
Location: Victoria, B.C. Canada
Posts: 124
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar
Quote:
Originally Posted by Jkey View Post
How strange I thought I had read sc relay transcoding was already implemented.
Just looked again through the docs and its not.

Of course with slight adjustment to your setup you could give sc_trans your main 128k mp3 stream feed from your current encoder/source client and let sc_trans feed your dnas for both streams.


edit:
In the calendarxml docs
"url - url for source relay" <- this is where I read it.
I thought it was implemented:

- 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)

- In adding the relay feature it was necessary to rewrite a large portion of the metadata handling. Hopefully the metadata will now change more reliably when switching between scheduled sources.


So it looked to me like it was implemented, however as mentioned both relaying and trying to stream to the sc_trans both seem to fail for me.

It connects to my DNAS v1 but does not play any music.

I am using the following config:

Quote:
;; Logging
log = 1
logfile = /home/Rothgar/sc_trans_drop_02_22_2010/linux/sc_$
screenlog = 1
;shuffledebug = 0
;shoutcastdebug = 1
;uvoxdebug = 0
;gaindebug = 0
;playlistdebug = 0
;mp3encdebug = 0
;mp3decdebug = 0
;resamplerdebug = 0
;rgcalcdebug = 0
;apidebug = 0
;calendardebug = 0
;capturedebug = 0
;djdebug = 1
;flashpolicyserverdebug = 0
;fileconverterdebug = 0
;sourcerelaydebug = 1
;sourceandendpointmanagerdebug = 1

;; Flash Security
;flashpolicyfile = crossdomain.xml
;flashpolicyserverport = Default = 0 (use 843 if you want to turn it on)

;; Metadata Control
streamtitle = Dawgclan Network Radio
streamurl = http://www.dawgclan.net
genre = Rap,Hip-Hip
aim = RothgarMaulrur
;irc = irc://dawgclan.street-creed.com:6667/dawgclan
icq = 48569749
public = 1
;usemetadata = 1
;metadatapattern = Default = *\%N.* or */%N.*
;displaymetadatapattern = Default = %R[ - ]%A[ - ]%N

;; Playlist Control
;playlistfile
;shuffle = 1
;xfade = 1
;xfadethreshold = 10
;playlists = Default = c:\playlist\ or /export/home/friends/p$
;archive = Default = c:\playlist\archived\ or /export/home/$

;; Calendar Events
calendarfile = /home/Rothgar/sc_trans_drop_02_22_2010/linux/cal$
calendarrewrite = 0

;; Live Capture
capture = 0
;capturedevice
;captureinput
;capturesamplerate = 44100
;capturechannels = 2


;; DJ Support
djport_0 = 9000
;djport2 = 9010
;djcipher = XXX
autodumpsourcetime = 30
;djbroadcasts = Default = c:\recorded\ or /home/hdc/uploads/reco$
djcapture = 0
;djfilepattern = "_%Y_%m_%d_%H_%M_%S."

;; DJ Defines (Multi):

djpassword_0 = XXX
djlogin_0 = XXX
djpriority_0 = 1

;; Mp3 Encoding Unlock
unlockkeyname = XXX
unlockkeycode = XXX

;; Encoder Options (Multi)
encoder_0 = aacp
bitrate_0 = 128000
samplerate_0 = 44100
channels_0 = 2
; 0 - ADTS 1 - ADIF 2 - LATM 3 - LOAS 4 - RAW 5 - ADTS_MP4
aacpbitstreamformat_0 = 0

;; Network Options (Multi)
;endpointname = - names the endpoint
outprotocol_0 = 1
serverip_0 = XXX.XXX.XXX.XXX
serverport_0 = 8010
password_0 = XXX
;uvoxstreamid = 1
;uvoxuserid =
;uvoxauth =
;uvoxradiometadata = - send old AOL radio style metadata $
;uvoxnewmetadata = 1
;uvoxmetadatafudgefactor = 0.0
;shoutcastmetadatafudgefactor = 0.0


;; Replay Gain Control
applyreplaygain = 0
;defaultreplaygain = 0.0
;djreplaygain = 0.0
;capturereplaygain = 0.0
calculatereplaygain = 0
;replaygaintmpdir = Default = (windows = %TMP% Linux = ????)
;replaygainrunahead = 2
;replaygaindontwrite = 0
;enhancereplaygain = 6.0

;; Other
adminport = 9999
adminuser = XXX
adminpassword = XXX
;vuimagedirectory = ""
;vuimagesuffix = jpg
;vuimagemimetype = image/jpeg
;configrewrite = 0
;serverbackupfile =
;serverintrofile =
Don't mind the $ that just means it went outside the screen I was copying from.

Now I may have things wrong as I am finding small issues as I go, like if you do not specify a "calendar.xml" DJ's can not log on it just says Invalid login... When I pointed it to a "calendar.xml" it allowed the login.

But I can't figure out why it connects to my SHOUTcast DNAS v1 but does not stream anything to it?

Dawgclan Network
Genre: Rap/Hip-Hop
http://www.dawgclan.net
Rothgar is offline