![]() |
#81 | |
Junior Member
Join Date: Feb 2010
Posts: 15
|
Quote:
|
|
![]() |
![]() |
#82 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Let's see the config, and also EXACTLY what you are doing when you say "pull the url"
--Neil |
![]() |
![]() |
#83 |
Junior Member
Join Date: Feb 2010
Posts: 15
|
Pertinent section from my sc_serv conf:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
![]() |
![]() |
#84 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
At a quick glance that looks okay, but here's something. Try "pulling" www.mysite.com:8200/bitrate/128 instead of www.mysite.com:8200/bitrate/128/ (note the lack of trailing slash).
--Neil |
![]() |
![]() |
#85 |
Junior Member
Join Date: Feb 2010
Posts: 15
|
yup, tried that, also tried adding the trailing slash to the conf, no dice.
It would help if you guys could post a working conf setup using uvox2 from your test setups. I think that not having a clear example is really making this a trial and error affair ![]() |
![]() |
![]() |
#86 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Pulling is cool!
![]() Oh the agony! Beta versions can be such a pain... I'm also having a serious fight, but with the new ShoutCast server... Agrr Hope you sort it out octatone! Good luck. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#87 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
"If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
#88 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Nope I'm wrong. I should have read the docs instead of looking at the code. The cipher key is a one way thing that is simply used to obfuscate some information. It's not used for authentication purposes.
--Neil |
![]() |
![]() |
#89 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Everyone:
I'm sensing a growing frustration with the new software. While there are probably bugs in there I don't think the problems you are all having are bug related. I really think they are config related. I tried to make the new software backward compatible as best as possible given the large number of new features. Perhaps I failed in that regard. I will be putting together sample configs for a few different scenarios and will post them early next week. --Neil |
![]() |
![]() |
#90 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Hi!
Here is something I found to be really useful: When we call the 'listevents' API command, it should also return a node indicating if that event is currently streaming. I mean, it already has the <active> parameter, but as you know more than one event can be active. At the time I need to make two requests for a specific functionality I'm working on, so I have to call 'listevents' and than 'getstatus' to see what event is really ON AIR. Thanks in advance an keep up the good work. By the way, the new web command 'writeconfig' is a must! Really useful, thanks! <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> |
![]() |
![]() |
#91 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
is there any intention to implement cross site http requests - https://developer.mozilla.org/En/HTTP_access_control also known as cross origin resource sharing - http://www.w3.org/TR/cors/ in a similar manner that "flash crossdomain policies" have been?
It would make creating a web ui in firefox easier without the potentially risky elevation of privileges - eg netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite"); It would also allow a web UI to be written for google chrome, not sure about other browsers like opera etc - the example testui currently only works for firefox and IE "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#92 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Hi,
On playlist, I´m using a command to run a php page and return 2 songs. This songs are returned like it: echo "/home/onlinefm/mp3a/song1.mp3\n"; echo "/home/onlinefm/mp3a/song2.mp3\n"; But, only first song was played. The second song was ignored. Why? How can I do it? Thanks! Marcelo Gomes |
![]() |
![]() |
#93 |
Member
Join Date: Jan 2010
Posts: 50
|
hallo neil.
i noticed that the trans_sc plays the same songs daily and schuffelns the same songs daily although there are 10000 songs in my playlist. Has this been changed in this new beta vesion? i mean that the trans-sc plays only one song for example for one day 24 hours like that? |
![]() |
![]() |
#94 |
Senior Member
Join Date: Jan 2010
Location: My Place
Posts: 109
|
Here are two more important requests for me, that I really like you to consider implementing them.
1st request A new Event option, like a custom tag. We could use this custom tag for internal reference. Example: code: This custom tag would also be available in "listevents" command. 2nd request Is there any way to make an event ID never change? I mean, when we restart the transcoder, event ID's may change and I need a permanent ID associated with each event. Please consider. Thank you. <?php echo str_rot13("FUBHGpnfg QANF Ehyrf!"); ?> Last edited by BornKillaz; 7th March 2010 at 17:09. |
![]() |
![]() |
#95 |
Junior Member
Join Date: Feb 2010
Location: Hessen, Germany
Posts: 11
|
hallo leute
I have problem if DJ 1 onAir to DJ 2 hands over we hear always briefly autoDJ for approx. one sec. how can I change this??? Lucky |
![]() |
![]() |
#96 |
Member
Join Date: Jan 2010
Posts: 50
|
lucky was meinst du verstehe nicht..... sag auf deutsch ich übersetze es
![]() |
![]() |
![]() |
#97 |
Senior Member
|
Nice drop. I hope things work better in this one.
Ramon |
![]() |
![]() |
#98 |
Junior Member
Join Date: Feb 2010
Location: Hessen, Germany
Posts: 11
|
hallo djarjun877
also mein Problem: DJ 1 ist auf dem Stream und übergibt an DJ 2 obwohl die Übergabe sauber klappt hört man immer ganz kurz für ca. 1 sekunde den auto DJ auf dem stream (also zwischen den beiden DJ´s) gibt es da eine einstellung das das nicht der fall ist und danke schon mal |
![]() |
![]() |
#99 | |
Member
Join Date: Jan 2010
Posts: 50
|
Quote:
well he wants to say that: when dj1 is streaming and when he has finsiched his show then when he gives the stream to another dj2...the auto dj plays between them for about 1 min. if there is anyway to stop this? ---- also du kannst dagegen nichts machen leider...ist immer so entwerder muss du deine stream ausschalten .... |
|
![]() |
![]() |
#100 |
Junior Member
Join Date: Feb 2010
Location: Hessen, Germany
Posts: 11
|
@ djarjun877
es muss doch eine möglichkeit geben die Reaktionszeit des autoDJ einzustellen. Hört sich immer sehr blöd an wenn zwischen den beiden DJ mal kurz ein anderes leid gespielt wird. |
![]() |
![]() |
#101 |
Member
Join Date: Jan 2010
Posts: 50
|
hey may i know,
what does creating playlist dynamically means? is that so, when i create a new playlist i dont need to restart the sc_trans so that the new playlist gets played? |
![]() |
![]() |
#102 |
Junior Member
Join Date: Nov 2008
Posts: 4
|
I was wondering if the crossfade issue I was really anxious to have restored is in this new version? That would be the one about allowing us to set the crossfade levels to 100/100 which existed in the old sc_trans but was dropped in the betas.
The new stuff is great, but I was eagerly awaiting the restoration of this feature too. |
![]() |
![]() |
#103 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Hi, (again, nobody answer me...)
On playlist, I´m using a command to run a php page and return 2 songs. This songs are returned like it: echo "/home/onlinefm/mp3a/song1.mp3\n"; echo "/home/onlinefm/mp3a/song2.mp3\n"; But, only first song was played. The second song was ignored. Why? How can I do it? On docs.txt have a very short explanation about an integer to pass, but how can I pass this integer? Some examples? Thanks! Marcelo Gomes |
![]() |
![]() |
#104 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
which integer gets passed where for what purpose? "If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
#105 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
jaromanda... if you don´t know about this, please, don´t answer.
Let neil, faisal or anybody who really know the answer, answer me. But, if you don´t know (or don´t read it), the sc_trans can run external programs to get the next song. Did you understood now? |
![]() |
![]() |
#106 | |
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
1. what you are trying to pass isn't an integer, it is a string. An Integer is a numeric value. 2. you are only passing through a linefeed but not a carryage return 3. there is no empty line at the end try this: echo "/path/to/song/song1.mp3\r\n"; echo "/path/to/song/song2.mp3\r\n"; echo "\r\n"; if this still doesn't work you can try a small workaround like this $songlist = "": $songlist .= "/path/to/song/song_1.mp3\r\n"; $songlist .= "/path/to/song/song_2.mp3\r\n"; //add as much as needed lines like this $songlist .= "/path/to/song/song_xy.mp3\r\n"; $songlist .= "\r\n"; $fp = fopen("/path/to/playlist.lst", "w"); fputs($fp, $songlinst); fclose($fp); and include /path/to/playlist.lst in your sc_trans.conf file the file playlist.lst need filepermission 0777 or rwxrwxrwx and php need permissions to write to the outputdir. Quote:
|
|
![]() |
![]() |
#107 |
Senior Member
Join Date: Jan 2010
Posts: 181
|
A qestion to the development team.
you say, we need to buy a key for legal reasons to stream in mp3 format. I still wonder what are those legal reasons. There are many free encoders out there, for eg. lame. Don't get me wrong, i don't care about the 5 US$ for the key, but im wondering. - You need about a whole year to get from beta5 to beta6. - There have been some featurerequest you don't even answer to. - this version is still beta not a release canidate or a final - you want us to act as betatester for your software - without a vailid key i can't test all features (mp3 streaming) - if i buy a key and it doesnt work as aspected/promised i lost my money I'm also a coder (php) and i know what it means to develop a piece of software and what it means to test it. I repeat, i dont't think 5$ are to expensive and i would love to pay it, if works. But i don't like to pay for a beta version where i don't know when the next release would be. So where are those legal reasons? Please explain. Maybe i (we) will understand why i (we) have to pay for testing. cheers MAD |
![]() |
![]() |
#108 | |
Senior Member
|
Quote:
Ramon |
|
![]() |
![]() |
#109 |
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
another point of dissapointment. Lot of people asks to include icy metadata update from broadcaster like icy-genre, icy-aim, icy-irc, icy-name and so on. Would be nice if dj's could submit their aim/icq name or change station name from Stationname to something like Stationname DJ xyz Im missing this feature badly And another point. introfile and backupfile are a nice features of sc_serv2 but the should be included in sc_trans. I think it would make more Sense. So you can play a short intro/outro if a dj connect. This would also solve the problem that the autodj will continue playling the last song when on dj hands over to another. Cheers MAD |
![]() |
![]() |
#110 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
I imagine the number passed to your php script would be a command line parameter accessible through teh $args variable PHP Code:
so, drop the 'tude, dude - at least I TRIED to help "If you don't like DNAS, write your own damn system" So I did Last edited by jaromanda; 9th March 2010 at 22:53. |
|
![]() |
![]() |
#111 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
"If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
#112 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
sc_trans uses a codec from Fraunhoffer to do mp3 encoding and decoding.
This is my understanding, regarding the $5 licensing fee. This is in no way an official legal statement from Aol, and merely represents my understanding of the issue. Mp3 encoding is not free. If you encode in mp3 you owe MPEG-LA (or something entity like that) a licensing fee. It's common knowledge that many people download and use the Lame encoder without sending a check to MPEG-LA. This is technically a licensing violation, but since it's impractical for MPEG-LA to go after individuals, the practice is tolerated. It is NOT, however, impractical for MPEG-LA to go after large corporations like Aol. So we have to charge to avoid legal problems. Another option would be to leave mp3 encoding out, and force you to download install and configure your own compatible encoder (like lame), but we felt that the added complication to the user was not worth it. AACP has a similar issues, but the MPEG-LA licensing terms for this technology is different, allowing Aol to pay a reasonable yearly fee so our user base does not have to pay. I believe the reason the fee was only imposed recently was that SHOUTcast was an unstaffed project that was so far "under the radar" no one at Aol ever noticed it. It has a somewhat higher profile these days, and during a recently company wide technology review by the legal department, the licensing issues became apparent. --Neil |
![]() |
![]() |
#113 | |
Junior Member
Join Date: Mar 2010
Posts: 1
|
german question
Hallo,
ich habe folgenden sich ständig wiederholenden Fehler im Logfile: Quote:
Kann das daran liegen, dass ich sc_serv 1.9.8 verwende und nicht die neue Beta? Weiterhin würde ich gerne wissen, wie man den DJ-Namen mit übergeben kann. Es wird immer nur angezeigt, was ich bei sc_trans als "streamtitle=" angegeben habe. "%s" funktioniert hier leider nicht. Wenn jedoch ein DJ connected sollten seine Daten mit übergeben werden. Es wäre schön, wenn jemand meine Fragen beantworten könnte, auch wenn ich "nur" deutsch schreibe. |
|
![]() |
![]() |
#114 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Hi,
Thanks for try, but not work. The script with: 1:song.mp3\n 2:song.mp3\n Don´t worked! Was ignored by sc_trans... Hey Neil, Faisal.. please.. give us a light of your brain!!! How can I send a block of 5 songs by script? Thanks (and waiting...) Marcelo Gomes Last edited by WebemSegundos; 10th March 2010 at 13:43. |
![]() |
![]() |
#115 | |
SHOUTcast (Alumni)
Join Date: Sep 2008
Posts: 162
|
Quote:
f. |
|
![]() |
![]() |
#116 |
Senior Member
Join Date: Jan 2010
Posts: 181
|
thx for explaining nradisch
would be nice to know if you plan to add sugested features like introfile and backupfile to sc_trans. If a dj connects to sc_trans the automatic played song will be stopped. this results in 2 problems. 1. if the dj stop streaming, the stopped song will continue playing at the position where it was stopped. My sugestion, skip current playing song if a dj connect and start a new one if dj is finnished. 2. add ability to add intro and/or backupfile to sc_trans config. So you will be able to let sc_trans play a short intro / outro. This could prevent the autodj from playing a song when one dj hands over to another. cheers MAD |
![]() |
![]() |
#117 |
Winamp's Womble
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
|
Is it possible to add the following feature to sc_trans ?
Instead of re-encoding an MP3 is it possible to just send the data as it is from the file/source ? Reasons are as follows i) My MP3 files are encoded at the rate I need them to be so re-encoding them from 128k to 128k seems a little daft and a waste of CPU ii) I only have 1 Shoutcast server for audio so my DJs connect at the correct rate so again re-encoding the bitrate is a waste .... Any chance ? BW ps. I can not see any config item to disable encoding ? is there one ? Without open minds the world will die. Open yours and correct the mistakes you are making right now. |
![]() |
![]() |
#118 |
Junior Member
Join Date: Feb 2010
Location: Brasil
Posts: 10
|
Hi SC_faisal,
Tks for answer. I will show my config of playlist: playlist.lst: /home/onlinefm/vinhetas/VM.mp3 #!php /home/onlinefm/public_html/qualeamusica.php /home/onlinefm/mp3a/song4.mp3 /home/onlinefm/vinhetas/VM.mp3 qualeamusica.php: <? echo "/home/onlinefm/mp3a/song1.mp3\n"; echo "/home/onlinefm/mp3a/song2.mp3\n"; echo "/home/onlinefm/mp3a/song3.mp3\n"; ?> With these configs, I listen this: /home/onlinefm/vinhetas/VM.mp3 /home/onlinefm/mp3a/song1.mp3 /home/onlinefm/mp3a/song4.mp3 /home/onlinefm/vinhetas/VM.mp3 Song2 and Song3 are ignored! I need to know how I can pass "that integer" to tell how many songs will be returned... (sorry for english).. Thanks again! (waiting Neil ... or other good soul to solve this problem) Marcelo Gomes |
![]() |
![]() |
#119 |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
WebemSegundos - You are misunderstanding how the mechanism works. Each call to a #! external only supplies a single track to sc_trans. Returning more than one track only allows sc_trans to fill in various "comming soon" data that will make searching Shoutcast.com a bit more useful.
Each call to a #! will get internally replace by A SINGLE TRACK determined by the #! call. The intended usage scenarios would be stuff like this: 1) Completely externally driven playlist #!php call whatever If this list is configured as looping, then the php script will be called every time a track is needed 2) Perhaps alternating with something else #!php call track script #!php call commercial script Here the system would alternately call the two scripts, one offering up a track name, then the next offering up some sort of advertising track. --Neil |
![]() |
![]() |
#120 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Quote:
|
|
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|