![]() |
#321 |
Senior Member
Join Date: Oct 2008
Posts: 104
|
Ok, logging question. We just had to ban a DJ (gasp!), and he keeps trying to reconnect, LONG after he's been told that he's no longer welcome on our streams. Is there any way the sc_trans can log his IP address so we can do an IP ban?
|
![]() |
![]() |
#322 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
I just tried using sc_trans in windows 7 and am dismayed to find that capturedevice is broken
I set it as follows capturedevice=Recording Mixer (kX 10k2 Audio (3550) - Generic) as that is the name of the capture device I want to use log shows code: so I tried to set capturedevice=Recording Mixer (kX 10k2 Audio still doesn't work ... because the last character in the device name that sc_trans gets from windows is a space ... no matter how I enter the name in the config file, the trailing space is ignored from the config, therefore, no match This SHOULD be an easy fix ... if you're only getting 31 characters from windows for the device name, try to match at most 31 characters from the capturedevice entry I can successfully capture from the 1st, 3rd and 5th device you see in the log by using the 31 characters as shown in the log ... because no trailing space in the device name "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#323 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
I see
so the sound card capture function of sc_trans 2 is obviously an afterthought, and the fact that it is entirely broken seems to be unimportant c'est la vie "If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#324 | |
Forum King
|
Quote:
|
|
![]() |
![]() |
#325 |
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
I came to an understanding some time ago.
Playlist based stations are very popular in the usa. here in europe for example there appear to be more "Live" broadcasts. If the staff creating software have stations that are playlist based, robust live capture would be a low priority and would be left until last on the todo list. Let's face it,they had a lot of hard work to do. I remember talk of sc_trans replacing the dsp plugin at one point which could within the context of what I have just said,make perfect sense.Thankfully for now these decisions appear to have been reversed. Someone will at some point fix any remaining issues users have with sc_trans.There are not that many things to fix thankfully.[neil rocks] So Long, and Thanks for All the Fish. ![]() ![]() |
![]() |
![]() |
#326 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
Quote:
option 2: add one or two lines of code to a program I dunno ... while option one looks tempting, Mr Gates hasn't responded to my request either ![]() "If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
#327 |
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
option 3:
Buy a new card. option 4: (recommended) Use linux. So Long, and Thanks for All the Fish. ![]() ![]() |
![]() |
![]() |
#328 | |||
Senior Member
Join Date: Jan 2010
Posts: 181
|
Hi,
i have 2 little problems with the beta 6 maybe someone could help. First of all i tryed to use the new Playlistfeature to call an external programm to get a song. My external php file only pick a random jingle from the jinglefolder. So far that works. php file: PHP Code:
PHP Code:
PHP Code:
Quote:
Quote:
Quote:
Another question: I have tried shoutcast2 (protocol 3) with 2 streamid's, a 192kbps and a 48kbps stream, and that worked fine so far. my problem here is, iv i use the Shoutcast2 protocol Shoutcast2 shows only the songname but not the artist on statuspage, songhistory and xml-stats. For example Nothing Else Matters. Winamp shows Metallica - Nothing Elses Matters. This happens if sc_trans is playing a playlist. If a DJ connects shoutcast also shows songs in Interpret - Title format. so i think it should be a problem on how sc-trans submit the metatag data to shoutcast2 using shoutcast2 protocol. I have tryed uvoxradiometadata=0 uvoxnewmetadata=1 and uvoxradiometadata=1 uvoxnewmetadata=0 but there have been no changes. Thanks ofor your answers. |
|||
![]() |
![]() |
#329 | |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
what's your metadataPattern=?
looks like it's */%TIT2.* which isn't valid Quote:
"If you don't like DNAS, write your own damn system" So I did |
|
![]() |
![]() |
#330 | |||
Senior Member
Join Date: Jan 2010
Posts: 181
|
Here are my metadata pattern:
Quote:
Quote:
There is no otion in my config using */%TIT2.* as value. I guess its a problem with the data returned from the random script cause it only returns 1 filename, but Docu say: Quote:
I have searched for information on how to return the song and the integer but didnt found any informations about it. |
|||
![]() |
![]() |
#331 |
Junior Member
Join Date: Oct 2010
Posts: 23
|
Sc_trans does not support to export what Track and what minut/second of track is playing. Will it be?
|
![]() |
![]() |
#332 |
Senior Member
Join Date: Jan 2010
Posts: 181
|
no it won't, your only option is to get the currently played track from the sc_trans api but it only return the filename of the currently played track and the filename of the next track that will be played.
|
![]() |
![]() |
#333 | ||
Junior Member
Join Date: Oct 2010
Posts: 14
|
Playlist entry * generated no entries
Hello,
I seem to be having problems playing certain items in my playlist using sc_trans 2.0 beta 6 for linux. The pattern I've noticed is that sc_trans complains when there are square brackets in the file path. I know the file paths are correct because they are generated using a bash script that prints the output of the find command (e.g., `find . -name 'mp3*'). Is there something about square brackets sc_trans doesn't like? excerpt of playlist file: Quote:
Quote:
![]() |
||
![]() |
![]() |
#334 | |
Join Date: Sep 2003
Posts: 27,873
|
Quote:
-daz |
|
![]() |
![]() |
#335 | |
Junior Member
Join Date: Apr 2009
Posts: 21
|
Quote:
|
|
![]() |
![]() |
#336 |
Forum King
Join Date: Jun 2007
Location: Under the bridge
Posts: 2,289
|
that is odd - I get ~30sec delay @ 64kbit by directly connecting DSP to DNAS ... so, yeah, no idea why your delay is so low
"If you don't like DNAS, write your own damn system" So I did |
![]() |
![]() |
#337 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
Does this allow to play one large mp3 and provide the user with metadata which i define in a external file like xml ? Is it possible to call a script once a metadata point (playback position) is reached ?
|
![]() |
![]() |
#338 |
Join Date: Sep 2003
Posts: 27,873
|
shanaio: sc_trans has no support to do that as it treats each playlist entry as a new item but isn't able to play from specific points in the file as you'd need for what you're trying to achieve.
Costinio: i think the issue is down to the length of the buffering in sc_trans which i believe is noticeable larger than a direct connection due to maintain the additional processing it does. would be nice if there was some control over that in a future version (unless i've missed an option to do that). -daz |
![]() |
![]() |
#339 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
>shanaio: sc_trans has no support to do that as it treats each playlist entry as a new item but >isn't able to play from specific points in the file as you'd need for what you're trying to >achieve.
I dont need that ? I just need to invoke an action on a playback position. For example one the playback position 01:30 is reached a script is called which push data to the clients. |
![]() |
![]() |
#340 |
Forum King
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
|
Like the vu meter functionality,where a 0x5a synced byte stream is available to the user to parse,surely it would not be hard to provide similar functionality for song position in secs ??
^@DrO So Long, and Thanks for All the Fish. ![]() ![]() |
![]() |
![]() |
#341 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
Ok and how to do this ? I am a flex / php developer only.
Anyone like to help me please ? |
![]() |
![]() |
#342 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
Probably there is even a simpler way, basically I just need a source client which can call a script once a track change, or call a script on playback start.
Or a source client which can process cuesheets, xml etc. I havent found any usefull, or working, yet. |
![]() |
![]() |
#343 |
Join Date: Sep 2003
Posts: 27,873
|
this fascination with a script firing at a time isn't a great idea i think for what you're wanting. the best scenario would be for sc_trans to properly support cue files rather than bodging in something else to the design (with the cue support being treated effectively as a sub-playlist of the main playlist / event being actioned at the time which keeps things cleaner and would make it easier to implement for whoever if it were to happen).
as for the "I havent found any useful" comment, have you actually tried to use the suggestions i made of a media player with cue support as a source or just not bothered (as i'm not going to mess around with testing such things if you're not going to do anything on your side). -daz |
![]() |
![]() |
#344 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
Thank you for the answer, but fireing a script would allow to PUSH data to Flex cleints rather than the need to poll the Metadata from the server.
But yeh a cue player would also work somehow. |
![]() |
![]() |
#345 |
Junior Member
Join Date: Nov 2010
Posts: 19
|
I actually have looked for a player with cue support but I havent found a solution for Winamp.
For Foobar I found a Cuesheet generator only. So yes I have botherd with your suggestion. |
![]() |
![]() |
#346 | |
Junior Member
Join Date: Apr 2009
Posts: 21
|
Quote:
|
|
![]() |
![]() |
#347 |
Join Date: Sep 2003
Posts: 27,873
|
new version released can be found in http://forums.winamp.com/showthread.php?t=324841
locking this thread so issues, etc (if still present) can be posted against the new supported version. -daz |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|