![]() |
#201 |
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 |
![]() |
![]() |
#202 | ||||
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Quote:
sc_serv does not support. Don't worry about it. Quote:
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:
Quote:
--Neil |
||||
![]() |
![]() |
#203 |
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: 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 |
![]() |
![]() |
#204 | |
Junior Member
Join Date: Jan 2009
Location: Toruń [POLAND]
Posts: 16
|
Quote:
|
|
![]() |
![]() |
#205 | |
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:
|
|
![]() |
![]() |
#206 |
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 |
![]() |
![]() |
#208 |
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.
|
![]() |
![]() |
#209 | |
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Quote:
--Neil |
|
![]() |
![]() |
#210 | |
Junior Member
Join Date: Feb 2010
Posts: 8
|
Quote:
code: The first two lines are totally ignored by sc_trans. this is a part of the log (startup of sc_trans): code: 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: Any Help is appreciated ... Jenson Last edited by Jenson; 2nd June 2010 at 07:43. Reason: adding the conf |
|
![]() |
![]() |
#211 |
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 |
![]() |
![]() |
#212 |
Senior Member
Join Date: Oct 2008
Posts: 104
|
Thanks for the reply Neil. But what about questions 1, 2, and 3?
|
![]() |
![]() |
#213 | |||
Senior Member
Join Date: Jun 2008
Location: Weston, CT
Posts: 250
|
Quote:
Quote:
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:
--Neil |
|||
![]() |
![]() |
#214 |
Junior Member
Join Date: Jan 2009
Location: Toruń [POLAND]
Posts: 16
|
|
![]() |
![]() |
#215 |
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? |
![]() |
![]() |
#216 | |
Junior Member
Join Date: Feb 2010
Posts: 8
|
Quote:
http://download.shoutcast.com/beta/s...6_02232010.zip This is the sc_trans version i'm using ! Is there a newer one ? Jenson |
|
![]() |
![]() |
#217 |
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 ??? |
![]() |
![]() |
#218 |
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 |
![]() |
![]() |
#219 |
Forum King
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. |
![]() |
![]() |
#220 | |
Senior Member
Join Date: Oct 2008
Posts: 104
|
Ok, getting a VERY strange error now. This just started happening about 10 minutes ago:
Quote:
|
|
![]() |
![]() |
#221 |
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... |
![]() |
![]() |
#222 |
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. |
![]() |
![]() |
#223 |
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.
|
![]() |
![]() |
#224 |
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! |
![]() |
![]() |
#225 |
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 |
![]() |
![]() |
#226 |
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? |
![]() |
![]() |
#227 |
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! |
![]() |
![]() |
#228 |
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 |
![]() |
![]() |
#229 |
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 |
![]() |
![]() |
#230 |
Junior Member
Join Date: Jun 2010
Posts: 23
|
I am still waiting to hear back about the license issue.
-- Doug |
![]() |
![]() |
#231 | ||
Senior Member
|
How is everyone's problems so far?
and for Webschiff above. Here's the translation. Quote:
-- Quote:
Ramon |
||
![]() |
![]() |
#232 |
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? |
![]() |
![]() |
#233 |
Junior Member
|
i like the old shoutcast programs better, seemed simpler
|
![]() |
![]() |
#234 |
Junior Member
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! |
![]() |
![]() |
#235 |
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 |
![]() |
![]() |
#236 | ||
Major Dude
Join Date: May 2003
Location: Denver, Colorado
Posts: 1,055
|
Quote:
Quote:
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 |
||
![]() |
![]() |
#237 | |
Major Dude
Join Date: May 2003
Location: Denver, Colorado
Posts: 1,055
|
Quote:
Cheers ![]() Pat Cook Englewood, CO |
|
![]() |
![]() |
#238 |
Junior Member
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! |
![]() |
![]() |
#239 |
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 |
![]() |
![]() |
#240 |
Junior Member
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? |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|