Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Closed Thread
Thread Tools Search this Thread Display Modes
Old 3rd February 2011, 17:04   #121
DrO
 
Join Date: Sep 2003
Posts: 27,873
mixfeever: had a feeling that was the case. unfortunately there's unlikely to be true 64-bit version of sc_trans due to some of the libraries used not having 64-bit linux versions provided (a bit annoying as i'd have liked to see a full 64-bit stack like is available with the Windows versions).

-daz
DrO is offline  
Old 3rd February 2011, 21:04   #122
tripper54
Junior Member
 
Join Date: Aug 2010
Posts: 1
processing delay message - win32 server encoding live audio

Hi there,

My stream stops after a couple of hours - the logs show this message:

[CAPTUREWIN32] Processing delay. Audio lost 88200 bytes

I'm encoding live audio on a win2k3 server.

Any ideas what's up with that?

Cheers
tripper54 is offline  
Old 3rd February 2011, 21:42   #123
DrO
 
Join Date: Sep 2003
Posts: 27,873
tripper54: can you attach a bit more of the log please (or pm me a link to copy) as there might be some more information before that error to get a better idea of what might be happening. from a quick check of the source code, that error happens if the capture device (when acting like a DJ connection) deactivates (possibly from a calendar event removing it's access though i'm not 100% without properly looking at things after i've had some sleep).

-daz
DrO is offline  
Old 8th February 2011, 15:17   #124
templarrush
Junior Member
 
Join Date: May 2009
Posts: 13
I bought a mp3 licensekey but when i change the encoder to mp3
it returns unknown encoder type mp3
templarrush is offline  
Old 8th February 2011, 20:47   #125
nwgator
Member
 
Join Date: Oct 2008
Location: Jacksonville, FL
Posts: 72
sc_trans crash

These are the last logs in the log file, and there are multiple instances of
PHP Code:
2011-02-08 06:35:45    E    msg:virtual void 
AOL_logger
::consoleLogger_element::log(const AOL_logger::message&) Error writing to console 
before this
PHP Code:
2011-02-08 06:35:45    E    msg:[DJPROTOCOLSHOUTCASTData arriving too fastSome has been lost
2011
-02-08 06:35:45    E    msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2011
-02-08 06:36:16    E    msg:[DJPROTOCOLSHOUTCASTAuto dump timeout receiving stream
2011
-02-08 06:36:16    E    msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2011
-02-08 06:36:16    I    msg:[DJMGRDJ MtnDewLiveWire is done.
2011-02-08 06:36:16    E    msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console 
Not sure why this happened :S

EDIT:

Apparently the process was still running, using the ports, but not sending anything to my shoutcast.... See the logs below:
PHP Code:
2011-02-08 15:56:22    E    msg:[MAINError opening port 9005 because Could not bind to :9005 because Address already in use
2011-02-08 15:56:22    E    msg:API server startup errorCould not bind to :5558 because Address already in use
2011-02-08 15:56:22    I    msg:[AACExiting encoder thread
2011
-02-08 15:56:22    I    msg:[MP3ENC1031500522/44100/2/128000 Exiting encoder thread
2011
-02-08 15:56:22    I    msg:[ID3V2version 2.0 tagsize=2137 unsync=0 xheader=0
2011
-02-08 15:56:22    E    msg:[ID3V2version 2 not supported
2011
-02-08 15:56:22    I    msg:[DECODEIf You Think This Song Is About Yo.mp3::6012400::150.31
2011
-02-08 15:56:22    I    msg:[ID3V2version 2.0 tagsize=2137 unsync=0 xheader=0
2011
-02-08 15:56:22    E    msg:[ID3V2version 2 not supported
2011
-02-08 15:56:23    I    msg:[RGCALCThread exiting
2011
-02-08 15:56:23    I    msg:[ID3V2version 3.0 tagsize=2117 unsync=0 xheader=0
2011
-02-08 15:56:24    I    msg:[ID3V2version 3.0 tagsize=2404 unsync=0 xheader=0
2011
-02-08 15:56:24    I    msg:[ID3V2version 3.0 tagsize=2038 unsync=0 xheader=0
2011
-02-08 15:56:24    I    msg:[ID3V2version 3.0 tagsize=2117 unsync=0 xheader=0
2011
-02-08 15:56:24    E    msg:Failure converting filename to metadata Premature end of data (*/%TPE1_)
2011-02-08 15:56:24    I    msg:[DECODEExiting decoder thread
2011
-02-08 15:56:24    I    msg:[resamplertIn=0 tOut=0 bIn=0 bOut=0
2011
-02-08 15:56:24    I    msg:[crossfaderin=0 out=0
2011
-02-08 15:56:24    I    msg:[resamplertIn=0 tOut=0 bIn=0 bOut=0
2011
-02-08 15:56:24    I    msg:[crossfaderin=0 out=0
2011
-02-08 15:56:24    I    msg:<***>    Logger shutdown 
when I killall -9 sc_trans and start the process again, it's fine.

This isn't the first time it's crashed either.
nwgator is offline  
Old 8th February 2011, 21:19   #126
DrO
 
Join Date: Sep 2003
Posts: 27,873
templarrush: have you made sure that unlockkeyname and unlockkeycode have been put in the configuration file and exactly match what you received. as well have you changed or set the encoder for the encoder group to be 'mp3' ?

nwgator: no idea why that's happening though i'd presume it's all related to the connection failure issue from the other posts in this thread. with the logger failure, have you made sure that the path set for the logfile in the configuration file exists and can be written to.

-daz
DrO is offline  
Old 9th February 2011, 00:42   #127
nwgator
Member
 
Join Date: Oct 2008
Location: Jacksonville, FL
Posts: 72
DrO: Yes, the log file locations are specified in the config.
nwgator is offline  
Old 11th February 2011, 04:00   #128
audioprobe
Junior Member
 
Join Date: Oct 2010
Posts: 16
Quote:
Originally Posted by nwgator View Post
DrO: Yes, the log file locations are specified in the config.
Disabling screenlog will take care of "Error writing to console."
code:
screenlog=0


As for "data arriving too fast", make sure the network connection between sc_trans and any applicable sc_serv instances isn't dropping out or experiencing packet loss.
audioprobe is offline  
Old 11th February 2011, 07:48   #129
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by audioprobe View Post
Disabling screenlog will take care of "Error writing to console."
code:
screenlog=0
that's not really a solution for something which shouldn't be doing that issue.

from what i've seen, if there's a problem accessing the file such as the file is being blocked from being written too then it can do that or it could be a legit issue in the transcoder possibly from something else failing and corrupting things though i've currently not seen that happen.

-daz
DrO is offline  
Old 11th February 2011, 11:26   #130
audioprobe
Junior Member
 
Join Date: Oct 2010
Posts: 16
Quote:
Originally Posted by DrO View Post
that's not really a solution for something which shouldn't be doing that issue.

from what i've seen, if there's a problem accessing the file such as the file is being blocked from being written too then it can do that or it could be a legit issue in the transcoder possibly from something else failing and corrupting things though i've currently not seen that happen.

-daz
In my experience, it will give that message if sc_trans isn't being run from the console (if it's not being run in the console, there's no console to write to...hence the error). I would assume that the message for being unable to write to the log file is different, and most likely is unrelated to this.
audioprobe is offline  
Old 11th February 2011, 20:06   #131
dawsonit
Junior Member
 
Join Date: Feb 2011
Posts: 2
capture source for ubuntu 10.10 server

Ok, this might be a bit obtuse, but I can't seem to figure out what to put in as my capturedevice and captureinput.
Since Ubuntu 10.10 obsoleted /dev/dsp, my old solution died (liveice-sn + icecast), and this seems like it will do the same thing, if only I can figure out what capture device to point sc_trans at.

Should also mention that I tried setting capturedebug=1 and left those others blank, and it didn't give me anything device names at all.
dawsonit is offline  
Old 13th February 2011, 03:36   #132
smq
Junior Member
 
Join Date: Feb 2011
Posts: 8
Hi,

Can I add dj without rebooting sc_trans2?

Thanks
Lukasz Lelek

Sorry for the poor command of English
smq is offline  
Old 13th February 2011, 21:49   #133
DrO
 
Join Date: Sep 2003
Posts: 27,873
dawsonit: not sure tbh as i've not actually used the capture support on non-Windows versions so unless anyone else has, might take me a while to find out.

smq: if you do it via the ajax api then yes, otherwise a restart is the only way if you're editing the files manually.

-daz
DrO is offline  
Old 17th February 2011, 06:23   #134
djspyman
Junior Member
 
Join Date: Feb 2011
Posts: 2
Hey guys, i love The new version, but I can't archive my djstreams as I could in beta 5.

I have "djcapture set to 1" and my calendar.xml says <dj archive="1"....
The recorded folder does exist as I recorded streams in older beta version using SCprotocol 1. but now, using SCv2 it does not record my stream. Is it a beta 39 (does not work either),40 issue or a SCv2 issue?
Any suggestions?
djspyman is offline  
Old 17th February 2011, 16:21   #135
dawsonit
Junior Member
 
Join Date: Feb 2011
Posts: 2
capture source for ubuntu 10.10 server

Ok, I'll just do capture on windows then, since I don't know what to use besides /dev/dsp, and they killed that...
dawsonit is offline  
Old 18th February 2011, 08:20   #136
djspyman
Junior Member
 
Join Date: Feb 2011
Posts: 2
Hey Guys,

got an update on the recording post ...

I CAN record my stream if i use the legacy mode of the DSP Plugin...

this also solves the error on an TitleUpdate ...

Although i still want to use ultravox 2.1
djspyman is offline  
Old 18th February 2011, 09:21   #137
DrO
 
Join Date: Sep 2003
Posts: 27,873
djspyman: until i start working on sc_trans again i cannot really comment on what is or isn't working with things though from what you've said, my gut feeling is that non-v1 sources aren't supported with the archiving feature (which is possible as true ultravox 2.1 wasn't added until the same time build 40 was released and not all aspects were tested).

-daz
DrO is offline  
Old 18th February 2011, 19:09   #138
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
Quote:
Originally Posted by DrO View Post
mixfeever: had a feeling that was the case. unfortunately there's unlikely to be true 64-bit version of sc_trans due to some of the libraries used not having 64-bit linux versions provided (a bit annoying as i'd have liked to see a full 64-bit stack like is available with the Windows versions).

-daz
the 64bit linux libraries should be around somewhere, let me dig around and see what i can find.
Benski is offline  
Old 19th February 2011, 13:50   #139
axwell
Junior Member
 
Join Date: Feb 2011
Posts: 1
listen ip

How is it possible to make sc_trans to listen to specific IP, because i have multiple IP's on my linux machine and i don't want to listen to all ?
axwell is offline  
Old 21st February 2011, 08:49   #140
DrO
 
Join Date: Sep 2003
Posts: 27,873
axwell: you cannot with how sc_trans currently works. i'll log it to look into it but no promses.

-daz
DrO is offline  
Old 21st February 2011, 16:07   #141
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi,

Just installed the latest versions of sc_trans and shoutcast trying to use outprotocol 3 (shoutcast 2).

I mention that there is only the Name of the song transmited to shoutcast, for example
Nothing else matters and not like in shoutcast 1 protocol interpret and title like Metallica - Nothing else matters.

Another problem is the new feature with displaying the next song comming up on shoutcast 2 protocol.
Here in Germany we have a very strict law about inet-radio broadcasting. So we are not allowed to give a preview of the songs that will be played. If i would use sc_trans for a german inet-radio i would act against the broadcast law using shoutcast2 protocol with the next song preview feature. German authorities made this law to make it harder for streamrippers to get the desired song.

It would be nice if you could add a switsh in the config file allowing to disable the next song preview feature. Otherwise German stations may not be able to ever use the new protocols and their features (

greetings
MAD
MADxHAWK is offline  
Old 21st February 2011, 17:02   #142
DrO
 
Join Date: Sep 2003
Posts: 27,873
Quote:
Originally Posted by MADxHAWK View Post
I mention that there is only the Name of the song transmited to shoutcast, for example
Nothing else matters and not like in shoutcast 1 protocol interpret and title like Metallica - Nothing else matters.
sounds like you're not using Build 17 of the v2 DNAS which was displaying just 'title' instead of 'artist - title' on the DNAS summary pages (which is the only place where the information could be displayed as just 'title' since the Radio Directory doesn't use it like that).

Quote:
Originally Posted by MADxHAWK View Post
Here in Germany we have a very strict law about inet-radio broadcasting. So we are not allowed to give a preview of the songs that will be played. If i would use sc_trans for a german inet-radio i would act against the broadcast law using shoutcast2 protocol with the next song preview feature. German authorities made this law to make it harder for streamrippers to get the desired song.
well i guess it makes sense (though couldn't find where it's explicitly set down in writing to indicate that) but can look to get it changed for the next drop. will also have to look into changing the DSP plug-in as well to not output the next song information to the server (ironically as that's something i've improved for the next version of the DSP).

though as it's only used by the Radio Directory i find it hard to see how it'd have any effect on a stream ripper unless they explicitly queried the /nextsong admin action (but then again none of the ones i know off have been updated to do anything against the v2 tools so far...).

[edit]
the next sc_trans version will support 'nextlookahead' which allows for nextlookahead=0 to be set inorder to disable any /nextsong support.

-daz
DrO is offline  
Old 21st February 2011, 18:05   #143
smq
Junior Member
 
Join Date: Feb 2011
Posts: 8
Problem

Hi,

Adds a DJ using the API and can not connect, what can I do wrong?

sc trans2 Screen Log:
--------------------------------------------
2011-02-21 18:55:15 I msg:[djmgr] Adding DJ 4:asdf(5)
2011-02-21 18:56:04 W msg:[djProtocolShoutcast] Login denied from 4:asdf
--------------------------------------------
API list dj:
--------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<response seq="45">
<data>
<djlist>
<dj>
<name>4</name>
<password>asdf</password>
<priority>5</priority>
<enabled>0</enabled>
</dj>
</djlist>
</data>
</response>
--------------------------------------------

calender.xml
--------------------------------------------
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="1">4</dj>
<calendar starttime="00:00:00" />
</event>
</eventlist>
--------------------------------------------

sc_trans2.conf
--------------------------------------------
adminport=8870
adminuser=admin
adminpassword=***
log=1
logfile=/home/uslugi_v2/3-8866/pilot/pilot.log
screenlog=0
shuffledebug=0
shoutcastdebug=0
uvoxdebug=0
gaindebug=0
playlistdebug=0
mp3encdebug=0
mp3decdebug=0
resamplerdebug=0
rgcalcdebug=0
apidebug=0
calendardebug=0
capturedebug=0
djdebug=0
fileconverterdebug=0
sourceandendpointmanagerdebug=0
streamtitle=Radio TwojaNazwa, Audycje Prowadzi: %s
streamurl=hhttp://TwojaNazwa.pl
genre=p
aim=
irc=
icq=
public=0
usemetadata=0
metadatapattern=*\%N.*
displaymetadatapattern=%R[ - ]%A[ - ]%N
playlistfile=/home/uslugi_v2/3-8866/pilot/playlist.pls
shuffle=1
xfade=10
xfadethreshold=2
playlists=playlist
archive=arhive/
calendarfile=/home/uslugi_v2/3-8866/pilot/calendar.xml
calendarrewrite=1
unlockkeyname=***
unlockkeycode=***
djport=8868
djport2=8855
djcipher=foobar
autodumpsourcetime=30
djbroadcasts=/home/uslugi_v2/3-8866/mp3/nagrania/
djcapture=0
djfilepattern=_%Y_%m_%d_%H_%M_%S.
endpointname_0=endpoint0
encoder_0=mp3
bitrate_0=128000
samplerate_0=44100
outprotocol_0=3
serverip_0=localhost
serverport_0=8866
uvoxauth_0=***
uvoxnewmetadata_0=1
uvoxradiometadata_0=0
uvoxstreamid_0=1
uvoxuserid_0=1
endpointname_1=endpoint1
encoder_1=aacp
bitrate_1=48000
samplerate_1=44100
outprotocol_1=3
serverip_1=localhost
serverport_1=8866
uvoxauth_1=***
uvoxnewmetadata_1=1
uvoxradiometadata_1=0
uvoxstreamid_1=2
uvoxuserid_1=2

--------------------------------------------


Thanks!
smq is offline  
Old 22nd February 2011, 10:46   #144
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi DrO;

Quote:
sounds like you're not using Build 17 of the v2 DNAS which was displaying just 'title' instead of 'artist - title' on the DNAS summary pages (which is the only place where the information could be displayed as just 'title' since the Radio Directory doesn't use it like that).
well im currently using SHOUTcast Server Version 0.2.0.0 0.0.10.0/posix(linux), so i will take a look where to get build 17.

Quote:
he next sc_trans version will support 'nextlookahead' which allows for nextlookahead=0 to be set inorder to disable any /nextsong support.
Sounds great, thanks a lot )

Greetz
Martin
MADxHAWK is offline  
Old 22nd February 2011, 10:51   #145
DrO
 
Join Date: Sep 2003
Posts: 27,873
definitely upgrading from build 10 should happen as it easy to crash build 10 with certain types of client connecting to it.

-daz
DrO is offline  
Old 22nd February 2011, 11:58   #146
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi again,

now im also running into a realy weird problem with the [Main] No config file passed issue.

I have setup sc_trans with the basic conf file (sc_trans_basic_conf).
The only things i changed have been the encodertype set to mp3, added the mp3 licence and set the passwords to connect to sc_serv.
I also added the parameter configrewrite=1 to make sure the config will be saved if sc_trans would be shut down. Im using my own php api for sc_trans.

I have started sc_trans with the command:
Quote:
/home/stream/jukebox/sc_trans /home/stream/jukebox/sc_trans_basic.conf
and sc_trans started up fine broadcasting the specified playlist to sc_serv.

after a few minutes i stopped sc_trans by pressing cntr+c, sc_trans shut down an rewrote the config.
When i now try to start sc_trans again with the command
Quote:
/home/stream/jukebox/sc_trans /home/stream/jukebox/sc_trans_basic.conf
i get the following error:
Quote:
2011-02-22 13:43:59 I msg:<***> Logger startup
2011-02-22 13:43:59 I msg:<***> version 0.2.0.0 build 0.0.40.0
2011-02-22 13:43:59 D msg:<***>
2011-02-22 13:43:59 W msg:[CONFIG] Could not find `' - loading will be aborted
2011-02-22 13:43:59 I msg:*******************************************************************************
2011-02-22 13:43:59 I msg:** TRANScast Distributed Network Audio Content Provider
2011-02-22 13:43:59 I msg:** Copyright (C) 2000-2010 Nullsoft, Inc. All Rights Reserved.
2011-02-22 13:43:59 I msg:** Use "sc_trans filename.conf" to specify a config file.
2011-02-22 13:43:59 I msg:*******************************************************************************
2011-02-22 13:43:59 I msg:[TRANSCast] DNAS/posix(linux) v 0.2.0.0 b 0.0.40.0 (Dec 12 2010) starting up...
2011-02-22 13:43:59 I msg:[MAIN] PID: 28228
2011-02-22 13:43:59 I msg:TimeMultiplier = 1 TimeShift = 0
2011-02-22 13:43:59 I msg:[VUPUSH] 101 VU images loaded
2011-02-22 13:43:59 I msg:[VUPUSH] 101 VU images loaded
2011-02-22 13:43:59 I msg:[PLAYLISTMGR] Playlist load from file /home/stream/jukebox/playlists/standard_aktive.lst
2011-02-22 13:43:59 I msg:[PLAYLISTMGR] Caching playlist /home/stream/jukebox/playlists/standard_aktive.lst
2011-02-22 13:43:59 I msg:[PLAYLISTMGR] Load complete
2011-02-22 13:43:59 I msg:[SOURCERELAY] Thread starting
2011-02-22 13:43:59 E msg:[MAIN] No config file passed
2011-02-22 13:44:00 I msg:<***> Logger shutdown
MADxHAWK is offline  
Old 22nd February 2011, 20:24   #147
DrO
 
Join Date: Sep 2003
Posts: 27,873
it's a two-fold problem with how the include statement is handled which on re-write shouldn't be set and that the checks for the config file are being based on the last included file. both issues are fixed in the internal development version of sc_trans (as it also affected sc_serv2 but that has already been released with the required fix in it).

basically for the moment you'll need to manually remove the include= line from your config file and it should then work.

-daz
DrO is offline  
Old 22nd February 2011, 22:48   #148
smq
Junior Member
 
Join Date: Feb 2011
Posts: 8
problem control DJ

Hi,
why after the "writeconfig" calendar.xml content has been cleared?

Adds api using your DJ then performs "writeconfig" and still can not connect as a DJ, can someone help me?
smq is offline  
Old 23rd February 2011, 11:18   #149
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
@smq

Did you add the dj to your conf and calendar?
what does the sc_trans logfile say? bad password or something else. Without further informations no one realy coud help you

@DrO,

i have a featurerequest for future releases of sc_trans that imho would improve usage of sc_trans

here my sugestions:

1. When a dj connects to the stream sc_trans stops the currently track. Now when the dj disconnect the stopped track would continue playing at the position it previously was stopped. This doesnt sound very well. Maybe you could add a "skip"function. So the currently played track would be skipped when a dj connect and an new track will be played when the dj disconnect.

2. When one dj hands over to another you always will hear the last intercepted song for a short time (see point point 1) maybe you can add config variable to define a track that will be played when a dj disconnect. So you can add a jingle or a short mp3 with silence. So you wont have a buffer on the stream and the handover to another dj would sound much better.

Sorry for my english im german, hope you understand what i mean.

Greetings
Martin
MADxHAWK is offline  
Old 23rd February 2011, 11:28   #150
DrO
 
Join Date: Sep 2003
Posts: 27,873
MADxHAWK:
#1 - that seems reasonable.

#2 - something like that was suggested though i think it was more that instant dj switching wouldn't play the existing playlist i.e. dj -> playlist (or a few seconds) -> dj2 but just do dj -> dj2 but will log what you've suggested as something to consider (or for me to check out if there's already a naive way for it).

-daz
DrO is offline  
Old 23rd February 2011, 11:54   #151
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi DrO,

thanks for thinking about it.

#2 i thought about how to prevent streambuffers and the handover like this
dj 1 -> few sec. playlist -> dj 2
Thats why i sugested to add a file played when the source dj disconnect.
But maybe it will already solve the problem if you add feature #1, cause when the song doesnt continue at the interrupted position and a new song would be faded in, you may have enough time for dj2 to connect without hearing the playlist for a second or to


greetings
Martin
MADxHAWK is offline  
Old 24th February 2011, 03:55   #152
smq
Junior Member
 
Join Date: Feb 2011
Posts: 8
problem

@ MADxHAWK:

Account Adds DJ (API)

Sc_trans Logs show:
-------------------------------------------------- -----------------------------------
2011-02-21 6:55:15 p.m. and msg: [djmgr] Adding DJ 4: asdf (5)
-------------------------------------------------- -----------------------------------

Unfortunately, with your DJ can not connect, sc_trans logs show:
-------------------------------------------------- -----------------------------------
2011-02-21 6:56:04 p.m. The msg: [djProtocolShoutcast] Login denied from 4: asdf
-------------------------------------------------- -----------------------------------

Do you add the account in addition to the API, you need to do something?
smq is offline  
Old 24th February 2011, 04:56   #153
smq
Junior Member
 
Join Date: Feb 2011
Posts: 8
My problem after several hours of tests had been resolved

Currently, he writes to the control panel software shoutcast2.0 and sc_trans2.0

if someone was interested in buying?
smq is offline  
Old 24th February 2011, 06:31   #154
jaromanda
Forum King
 
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
buying?

Is it just me or are shoutcast users getting dumber?
jaromanda is offline  
Old 24th February 2011, 10:02   #155
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
@smq

check your config and calendar file they must look something like that:

sc_trans.conf
Quote:
[...]
djlogin_0=asdf
djpassword_0=guesswhat
djpriority_0=5
[...]
the next dj would be djlogin_1=dj_name, djpassword_1=dj_pass, djpriority_1=dj_prio and so on

calendar.xml
Quote:
<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
[...]
<event type="dj">
<dj archive="inherit">asdf</dj>
<calendar starttime="00:00:00" />
</event>
[...]
</eventlist>
the name between <dj archive="**"> and </dj> must match the name from sc_trans.conf djlogin_*=

if you use sam to broadcast you have to enter the streampassword in format
name:password so in that case the streampassword have to be set to

Quote:
asdf:guesswhat
MADxHAWK is offline  
Old 2nd March 2011, 10:06   #156
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi,

found something i dont realy understand in my sc_trans Logfile.

Quote:
2011-03-02 11:30:00 I msg:[playlistMgr] playlist load from file /path/to/random_jingle.lst
2011-03-02 11:30:00 I msg:[playlistMgr] load complete
2011-03-02 11:32:51 I msg:[mp3 decode] 1284308062 eof
2011-03-02 11:32:51 I msg:[decode] next file is /path/to/Radio-******-Jingles1.mp3
2011-03-02 11:32:51 I msg:[ID3V2] version 3.0 tagsize=2278 unsync=0 xheader=0
2011-03-02 11:32:51 I msg:[decode] Radio-*******-Jingles1.mp3::335118::20.9449
2011-03-02 11:32:51 I msg:[ID3V2] version 3.0 tagsize=2278 unsync=0 xheader=0
2011-03-02 11:32:51 E msg:Failure converting filename to metadata Premature end of data (*/%TIT2.*)
2011-03-02 11:32:51 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
2011-03-02 11:33:02 I msg:[shoutcastmetadata] metadata string [Radio ***** - Deine Rock und Metal Giganten]
2011-03-02 11:33:02 I msg:[shoutcastmetadata] Sending metadata
2011-03-02 11:33:09 I msg:[shoutcastmetadata] metadata string [Radio ***** - Deine Rock und Metal Giganten]
2011-03-02 11:33:09 I msg:[shoutcastmetadata] Sending metadata
2011-03-02 11:33:11 I msg:[mp3 decode] 1387767368 eof
2011-03-02 11:33:12 I msg:[playlistMgr] deactivating playlist jingles id=2
2011-03-02 11:33:12 I msg:[decode] next file is /path/to/Mando_Diao_-_Dance_With_Somebody.mp3
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=4342 unsync=0 xheader=0
2011-03-02 11:33:12 I msg:[decode] Mando_Diao_-_Dance_With_Somebody.mp3::9604090::240.102
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=4342 unsync=0 xheader=0
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=322 unsync=0 xheader=0
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=52508 unsync=0 xheader=0
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=325 unsync=0 xheader=0
2011-03-02 11:33:12 I msg:[ID3V2] version 3.0 tagsize=322 unsync=0 xheader=0
2011-03-02 11:33:13 I msg:[playlistMgr] Could not deactivate playlist with calendar id 2. It was not found.
This is the log of a timeperiodic event (every 30 minutes). sc_trans load a php script that returns a random jingle and will play it, but i got an error on the id3tag
Quote:
2011-03-02 11:32:51 E msg:Failure converting filename to metadata Premature end of data (*/%TIT2.*)
2011-03-02 11:32:51 E msg:virtual void AOL_logger::consoleLogger_element::log(const AOL_logger::message&) Error writing to console
Evenn the file is tagged properly and the tag is shown on Winamp. I have no idea, why sc_trans try to get the metatag from filename.

another thing is the folowing:
Quote:
2011-03-02 11:33:12 I msg:[playlistMgr] deactivating playlist jingles id=2
[... continue playing standard playlist...]
2011-03-02 11:33:13 I msg:[playlistMgr] Could not deactivate playlist with calendar id 2. It was not found.
sc_trans try to deactivate the timeperiodic playlist once again, even it already deactivated it.

Its nothing realy importend cause everything works fine and as it should. Just wondering about the logentries

-MAD
MADxHAWK is offline  
Old 2nd March 2011, 10:13   #157
DrO
 
Join Date: Sep 2003
Posts: 27,873
from what i've been seeing off late with at least my windows builds of sc_trans, there's some issues with the tag reading which can cause things to either lockup or force it to attempt to work from the filename instead. might be useful if you can provide a simple example of the jingle file which shows the issue so i can test against (if possible).

not sure about the second issue with the deactivation though it's possible that if you're doing things dynamically then it's just getting a bit confused about what is or isn't still there.

-daz
DrO is offline  
Old 2nd March 2011, 11:54   #158
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Hi Daz,

thanks for your explanation, will send you a PM with a downloadlink for one of the jingles, hope it will help


- MAD
MADxHAWK is offline  
Old 7th March 2011, 18:51   #159
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 181
Once again me.

2 issues i found.

1. sc_trans calendar docu says:
Quote:
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="2" >jingles</playlist>
<calendar starttime="00:00:00" timeoffset="00:20:00" repeat="128" />
</event>
to add a timeperiodic event that occures 20 min past every full hour

When i add it to my calendar (on Debian lenny x64) the usage of the cpu raise to 100%. sc_trans doesnt react on any command send via the api and i also couldnt shutdown sc_trans the normal way sending a kill -SIGQUIT<pid>. I have to kill it the "hard" way using killall -9 sc_trans.

When i use this:
Quote:
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="2" >jingles</playlist>
<calendar starttime="00:20:00" timeoffset="01:00:00" repeat="128" />
</event>
or
Quote:
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="2" >jingles</playlist>
<calendar starttime="01:00:00" timeoffset="00:20:00" repeat="128" />
</event>
format it works normaly.
it works like expected.

2. Not realy a problem:
As long as the autodj runs, my timeperiodic events are played every 30 minutes (full and half hour) If now a dj connects, lets say for example from 18:00 to 20:00 o'clock the events wont be played. At 20:00 sc_trans start streaming again and will send all passed events during the time between 18:00 and 20:00, which means, it will play the events from 18:00, 18:30, 19:00, 19:30 and 20:00 right one after the other, befor start playing the current active playlist again.

I have tried this calendar-entry:
Quote:
<event type="playlist">
<playlist loopatend="0" shuffle="0" priority="2" >jingles</playlist>
<calendar starttime="01:00:00" timeoffset="00:20:00" duration="00:10:00" repeat="128" />
</event>
And it looks like that solved the problem. Maybe you could add this to the documentation )

Greetz
Martin
MADxHAWK is offline  
Old 16th March 2011, 15:16   #160
audioprobe
Junior Member
 
Join Date: Oct 2010
Posts: 16
What are the chances of the "Data arriving too fast" problem being addressed in the next release? Looks like this bug has been around for at least a year: http://forums.winamp.com/showthread.php?t=319547 I suppose that's not a good sign. I wouldn't care so much if this wasn't killing my streams several times a day.

On another note, the documentation on DJ priorities isn't very clear. The way it works seems a bit backward, actually. For one DJ to override another, the overriding DJ's priority must be lower. In this example, secondary takes priority over main. I think I see the reason behind this (I suppose it cuts back on having to change around numbers when more DJs are added), but most people will probably get it reversed unless given an example in the documentation.
code:
djlogin_0=main
djpriority_0=1

djlogin_1=secondary
djpriority_1=2

audioprobe 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