![]() |
#121 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
While putting together sample config files, I discovered a serious infrastructure problem. It seems that YP2 does not exist yet. We have a version running in QA, but there is not one accessible from the outside.
Because of the new security model and data flow in YP2, any sc_serv that is configured as public and using YP2 will not serve up it's streams even if the configuration is correct. You can still use the new server in regular YP mode, just omit the "yp2=1" line from the config. This mode, however, has restrictions. 1) You cannot serve multiple streams from a single entity. Well, you can.... but the information in YP will be all confused 2) You cannot use the streampath keyword in your config. Again, this concept cannot be represented in YP. If you want to play with the new features for your own amusement, you still can, just set yp2=1 and publicserver=never, however your stuff won't show up under YP. Now, to answer the obvious followup question "when will the YP2 infrastructure be done", I can't answer that. It's not being done by anyone in my group, department, city or country. --Neil |
![]() |
![]() |
#122 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Thank you, Neil...
But, I think it´s more useful if a commercial call can return a block with three (or four, or five, anything defined by "integer") mp3 selecteds using random (without duplications) and the same for songs, creative blocks, mini shows (with header.mp3, show.mp3 and footer.mp3), etc. Other question is about time of mp3... If I have a mp3 with one or two seconds, with only "Name Of Radio" to put between two songs, it´s ok for sc_trans? receive only one second for play and can mix on previous song and next song ? (sorry again my english) Thank you very much Neil... Think about return more songs on command call... Marcelo Gomes |
![]() |
![]() |
#123 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
WebemSegundos -
Short tracks are fine. In fact sc_trans has an option "xfadethreshold" that allows you to control how file duration effects crossfading. Obviously if the track is very short you don't want to crossfade since you will lose most of your audio. The external call-out mechanism in the playlists was put in to enable people who want to control playlists completely outside of the existing sc_trans mechanisms. There had been some requests for that, and until time and resources become available to create a more polished interface, I thought this would be a reasonable interim solution. It was never meant to be something that would integrate in a complex manner with the existing playlist mechanism. --Neil |
![]() |
![]() |
#124 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Config file examples
Here are a few config file examples. Please keep in mind my previously posted caveat about the non-existence of yp2.
--Neil |
![]() |
![]() |
#125 |
Junior Member
|
Hey nradish,
I'm trying to run the new sc_serv 2 and sc_trans 2b6 since monday, but I couldn't. Could you check my configs and log to find out if it's my mistake or a bug in the script, please. Here is the error while I wonna try to connect with winamp. I'm using the following url: <myip>:<myport> or <myip>:<myport>/stream/128 or <myip>:<myport>/listen.pls For all I get the same result. Shoutcast or Shoutcast2 protocoll, the same problem. In Winamp I get this error: ICY 401 Service Unavailable The log:
Schoutcast config: PHP Code:
PHP Code:
meda |
![]() |
![]() |
#126 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Yes, this is what I was referring to in the post a few up from here
http://forums.winamp.com/showthread....45#post2640145 You are setting yp2=1. When you do that, the stream cannot be made available to the client until the server completes negotiations with yp2. Unfortunately yp2 is not yet online so this always fails and the stream never becomes available. Please read the referred post for more details. --Neil |
![]() |
![]() |
#127 |
Member
Join Date: Jan 2010
Posts: 50
|
i steped back to beta 5 due to that after installing beta 6 i lost alot listeners few could not rech my radio
![]() |
![]() |
![]() |
#128 |
Junior Member
|
Ok,
I set the yp2 to 0, removed strem url path, set the cache time to 1 second, I had 1000 seconds ![]() changed the transcoder protocol to shoutcast1 And voilÃ_ ... my stream is online. I hope the yp will coming soon online Thx |
![]() |
![]() |
#129 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Hi Neil,
Thanks. I will control all playlist by script, but using calendar to call right playlist... Thanks again! Marcelo Gomes |
![]() |
![]() |
#130 | |
Senior Member
|
Quote:
![]() Ramon |
|
![]() |
![]() |
#131 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Hello!!
One more request: There should be a configuration variable that allow as to decide if DJ's with same priority could kick each others or not. This was possible in the previous version but it was treated as a bug. However I found this very useful. Thanks. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#132 |
Junior Member
Join Date: Mar 2007
Posts: 2
|
libstdc++.so.6 problem
Can someone help?
Only on Debian 5 (amd64 bit) I got an error while try to start sc_trans 2 (tested with 5 or 6) “error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory” --> locate libstdc++.so.6 /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.0.10 |
![]() |
![]() |
#133 |
Junior Member
Join Date: Nov 2008
Posts: 4
|
|
![]() |
![]() |
#134 |
Junior Member
Join Date: Apr 2010
Posts: 2
|
how to set timetable?
I have 700 songs and playlists you need to set my schedule to take them all
and the second question I ask is that spots in 15 minutes what settings do? |
![]() |
![]() |
#135 |
Junior Member
Join Date: Apr 2010
Location: California, USA
Posts: 3
|
Is the final version expected to support multiple sources mixing to a single stream at the same time? I think I remember reading something about it a long time ago, but I'm having trouble finding anything on it now.
Thanks! |
![]() |
![]() |
#136 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
I had been living with something I think its a bug.
If you have a pls event every 30mins (a jingle for example) and a DJ show for a 2hour duration. The time the dj is connected the pls from the jingles are loaded but not played because the dj is connected. Once the dj disconnects, the station returns to the track that was playing, after the track comes all the jingles that couldnt play in time (if the dj show its 2h, they would be 4 jingles: half past, o clock, half past, oclock) and then the new track. What do you think? |
![]() |
![]() |
#137 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Do your jingle entries have explicit durations in the calendar file?
--Neil |
![]() |
![]() |
#138 | |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Hello!!
After using and debugging this new Transcoder version since it was released, I'm sure I've found a couple of bugs on this version. 1st) Periodic Playlist Events - If a DJ is ON AIR when a periodic event should take place or if the playlist playing has higher priority than the periodic playlist event, it's like the periodic event gets stuck. It will display as active, but never plays again, after the DJ disconnects or after the higher priority playlist stops paying, no matter what. The only solution is to manually abort the periodic playlist event, and after abort it automatically jumps to that event if the currently playlist has equal priority. 2nd) Filename Trouble - It seams that the Transcoder does not parse filenames with the following chars " ] " and " [ " (no quotes), it gives a warning and never plays that file. Quote:
<?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
|
![]() |
![]() |
#139 | |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Quote:
I also have a question, can periodic events be set to repeat? Like instead of 128, we could place diferent repeat values? I'm asking becouse I could not make that work, and I need a specifique playlist periodic event to take place only at weekends. Thanks in advance. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
|
![]() |
![]() |
#140 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Actually they are 2 pls with one mp3 for each pls, their duration are 7secs and 5secs (one at oclock and one at half past) . Dont understand what are you asking me exactly sorry, hope this helps.
|
![]() |
![]() |
#141 | |
Junior Member
Join Date: Apr 2010
Posts: 30
|
I tried to buy the mp3 license but always got the same error
Quote:
Thanks! |
|
![]() |
![]() |
#142 |
Junior Member
Join Date: Apr 2010
Posts: 30
|
Hi again, sorry for spam.
Have another bug. If you change the system time with shoutcast running the server crash (almost in centos). Edit: My cronjob tried to restart service but it couldnt because process were alive but no sound on station. I checked log and all seemed ok, dont know why but after a tail to the log and a "ps -e | grep trans" they started to sound again in the station... Its very rare, I think that commands may not be related to the problem, but everytime I had to adjust the server time the transcoders stop working. hope it helps |
![]() |
![]() |
#143 | ||
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Quote:
Quote:
<?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
||
![]() |
![]() |
#144 |
Junior Member
Join Date: Jul 2008
Location: London
Posts: 40
|
Sorry if this has been asked before...... Im using beta 5.........
Have 2 instances of trans (Linux)...... now, I've never used extra playlists before....... Added a new playlist via API to just to one instance....but it plays on the second instance too at the scheduled time for first instance? Even when there's no event listed for that instance......... Is this a known issue? Regards, DJ Pedster |
![]() |
![]() |
#145 | ||
Junior Member
Join Date: Apr 2010
Posts: 30
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
#146 | ||
Junior Member
Join Date: Apr 2010
Posts: 30
|
Quote:
Quote:
You mean I need to set a duration for every periodic event in order to fix this? This could be difficult in some cases... Dont know atm what cmd used to change it in the past (process were killed). Last time used plesk admin panel to set time sync by ip and the server got stuck but not killed, 10mins later it started playing again (maybe because the time was 10mins in the future and with the sync it corrected to 10mins back and started again when time was the time it was playing before?) |
||
![]() |
![]() |
#147 | |
Junior Member
Join Date: Apr 2010
Posts: 2
|
Hi there and congrats for this as it was missing for all thouse years.
Everything is fine but, does anybody have a quick example for the use of the API? Quote:
it asks me for user/pass and when I put them i get "Missing or unknown op parameter ()" Is the API working? -Yiannis |
|
![]() |
![]() |
#148 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
File names in the playlist go through shell expansion before they are used.
This allows you to put in entries like /home/music/*.mp3 The [ and ] characters have special expansion meaning to the unix shell. You'll need to escape them if you want to use them explicitly (\[ \]) Note that this expansion differs depending on the platform (win32 or unix) and, under unix, the kind of shell that is configured as the system wide default. It's usually just "sh" but I've seen others in unusual cases. --Neil |
![]() |
![]() |
#149 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Yes it should work, just combine all the necessary bitflags. For a time repeating event
that is limited to Saturday and Sunday you would use the value 193 (time=128, Saturday = 64, Sunday = 1 128+64+1=193) Quote:
|
|
![]() |
![]() |
#150 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Entries in the calendar file can have durations. This allows sc_trans to "expire" the
event. If you do not specify a duration the event remains active until all the elements in the event are played. --Neil |
![]() |
![]() |
#151 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
That doesn't surprise me. Both sc_trans and sc_serv do a lot of time sensitive operations and use the system time as a reference. Changing the system time while the applications are running can cause all sorts of problems. For example, if you move the clock backwards an hour, sc_trans will stop transmitting for an hour since the bitrate calculations will now indicate that no bits need to be transmitted (or negative bits, which results in the same behavior).
--Neil Quote:
|
|
![]() |
![]() |
#152 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Never heard of that one. Are they sharing config files or calendar files or maybe priority playlist directories?
--Neil Quote:
|
|
![]() |
![]() |
#153 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Yes it does work.
A few simplified examples were posted to the Beta 5 thread a while back. --Neil Quote:
|
|
![]() |
![]() |
#154 |
Junior Member
Join Date: Apr 2010
Posts: 2
|
Thanx Neil. I'll look them up.
|
![]() |
![]() |
#155 |
Junior Member
Join Date: Jul 2008
Location: London
Posts: 40
|
This was it.... Changed via API, will report back if any issues.
Regards, DJ Pedster |
![]() |
![]() |
#156 | ||
Junior Member
Join Date: Apr 2010
Posts: 30
|
Quote:
Quote:
Can you help me with the problem trying to buy mp3 license? Post #141 in this thread Thanks!! |
||
![]() |
![]() |
#157 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
I can't help you with the license purchase problem. Contact Faisal Sultan. (sc_faisal)
--Neil |
![]() |
![]() |
#158 | |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Quote:
Thank you! ![]() <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
|
![]() |
![]() |
#159 |
Junior Member
Join Date: Jan 2009
Posts: 11
|
hi all.
i need some clarification, regarding sc_trans and sc2, since i am starting some tests. using shoutcast protocol 2: with the same instance of sc_trans drop 6, i should be capable of: Reading a playlist file, and with that pl, create 4 streamids, (being the only diference, bitrate / and possibly if i want... the encode [aacp & mp3]) and connect them to my sc_server 2, where i do have configure all those streamids. simple putted: one playlist, at 128 aacp, and at 96 aacp, and at aacp, and another as 192 mp3. should be all good, ? and if i would like to have those streams...but each one with diferent playlists? what config flag are for that? can it be done ? For yp2, i'm using authhashes from the fellows at streamsolutions... but i'm having problems connection more then 2 streamids to they yp2 (altough we're debuging this situation) it might be some misconfiguration i might have.. in theory, sc_trans2 can create unlimited streamids , is that right ? thanks in advance! |
![]() |
![]() |
#160 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Everything you're saying here sounds correct. As you suspect, you cannot configure sc_trans to use different playlists for different bitrates.
--Neil Quote:
|
|
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|