SHOUTcast Transcoder 2 Beta (Build 54) 10/07/2011

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Paderman
    Junior Member
    • Nov 2011
    • 9

    #31
    OK, but can you add the label tags in the code for fields and so?

    Example:
    <label for="GenerateMinimalCheckBox">Text</label>

    Is it possible that you can add a language interface?
    The default language is English and the user can switch in his language

    Thank you

    Comment

    • DrO
      • Sep 2003
      • 27868

      #32
      doing that then means essentially supporting localisation of the config builder and as things are with regards to supporting the tools, i really don't want to do that, sorry.

      that view may change (no guarantees) as i'm all for localistion (having done the Winamp system) but it's only best done once things with the config builder are stabilised which is not the case at the moment.

      -daz
      WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

      Comment

      • Paderman
        Junior Member
        • Nov 2011
        • 9

        #33
        It's ok

        Comment

        • DrO
          • Sep 2003
          • 27868

          #34
          Originally Posted by Rothgar View Post
          Do you know if streamtitle's are now multi in this release?
          As an update, i've just changed streamtitle to be a <multi> option for the next drop (no eta) so it'll act like before but if you do streamtitle_x (where x is the endpoint configuration) then it'll use that instead. note: streamtitle or streamtitle_1 will be used as the default title if there's not a streamtitle_x specified for the endpoint configuration.

          hopefully that makes sense as i've tried to do it so that existing configs will work without having to add another new / specific configuration entry to do things.

          -daz
          WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

          Comment

          • Rothgar
            Senior Member
            • Jun 2001
            • 124

            #35
            Originally Posted by DrO View Post
            As an update, i've just changed streamtitle to be a <multi> option for the next drop (no eta) so it'll act like before but if you do streamtitle_x (where x is the endpoint configuration) then it'll use that instead. note: streamtitle or streamtitle_1 will be used as the default title if there's not a streamtitle_x specified for the endpoint configuration.

            hopefully that makes sense as i've tried to do it so that existing configs will work without having to add another new / specific configuration entry to do things.

            -daz
            Excellent, thanks for the update DrO/daz

            By what it sounds it will be backward compatible using "streamtitle" however you can then over-ride this per encode using the multi streamtitle_0 streamtitle_1 etc matching with the encoder multi.

            This should mean I can in the future specify different titles per stream/encode/transcode which will allow me to specify the bitrate.

            What would be nice in the future daz might be to have variable substitutes such as {bitrate} or [bitrate] etc automatically input from the transcode settings? This would work well for when a DJ logs in etc.

            Thanks for adding this though.
            Dawgclan Network
            Genre: Rap/Hip-Hop
            http://www.dawgclan.net

            Comment

            • DrO
              • Sep 2003
              • 27868

              #36
              Originally Posted by Rothgar View Post
              Excellent, thanks for the update DrO/daz

              By what it sounds it will be backward compatible using "streamtitle" however you can then over-ride this per encode using the multi streamtitle_0 streamtitle_1 etc matching with the encoder multi.

              This should mean I can in the future specify different titles per stream/encode/transcode which will allow me to specify the bitrate.
              correct though you can only do from 'streamtitle_2' and up since the existing 'streamtitle' is the same as 'streamtitle_1' which shouldn't be a problem i hope (is the best way to keep existing configs working without having to mess around with new options, etc).

              -daz
              WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

              Comment

              • Matrix2000
                Junior Member
                • Sep 2011
                • 21

                #37
                sc_trans2

                hello,
                there is a function of the sc_trans2 not always play in between?
                when handing over to the other dj is always running about 5 sec. the sc_trans2.
                Unfortunately, the very disturbing.
                kurt, greets

                Comment

                • MADxHAWK
                  Senior Member
                  • Jan 2010
                  • 181

                  #38
                  Hi Matrix2000,

                  not yet.

                  If you always have the same times your DJs will broadcast,
                  example:
                  DJ A 18:00 - 20:00
                  DJ B 20:00 - 22:00
                  DJ C 22:00 - 00:00
                  you can try the folowing:

                  1. Create a playliste "silence" with a single mp3. the mp3 should have very low volume, best would be silence.

                  2. create a playlistevent
                  1th event using playlist silence, starts at 19:55 with a duration of 10 minutes
                  2nd event using playlist silence, starts at 21:55 with a duration of 10 minutes
                  both playlist with shuffle and loop disabled and a priotity higher than other playlists.

                  3. create a cronjob to force sc_trans to skip current track
                  1st cron:
                  code:

                  55 19 * * * killall -SIGWINCH sc_trans >/dev/null 2>&1

                  2nd cron:
                  code:

                  55 21 * * * killall -SIGWINCH sc_trans >/dev/null 2>&1

                  Sending a signal SIGWINCH to sc_trans will force sc_trans to skip to the next track

                  sc_trans will load the silence playlist at 19:55 and 21:55 but wil not start to play it as long as a DJ is connected. The Cronjob simply makes sure that that the current track that would be played by sc_trans will be skipped and the silence playlist will be next when the DJ disconnects. So if DJ A hands over to DJ B between 19:55 and 20:05 the silence playlist will be played. Same for handover from DJ B to DJ C.

                  Maybe the dev-team will add a skiptrack function triggered by a dj connection to one of the next builds of sc_trans, and maybe they add a option to trigger a special playlist to be played when the dj disconnect. Would be a great feature

                  -MAD

                  Comment

                  • Matrix2000
                    Junior Member
                    • Sep 2011
                    • 21

                    #39
                    oh ok mad! thx!
                    i think i wait to another release
                    i have a empty mp3 file for this problem in the playlist.

                    it only works if I restart it daily.
                    because the next day he ignores the simple and plays from the default playlist. I once the priority set to 3. let's see

                    <event type="playlist">
                    <playlist loopatend="1" shuffle="1" priority="3"> leerfile </ playlist>
                    <calendar starttime="15:50:00" endtime="23:00:00" repeat="128" />
                    </ event>
                    <event type="playlist">
                    <playlist loopatend="0" shuffle="1" priority="2"> standard </ playlist>
                    <calendar starttime="23:00:00" endtime="15:50:00" repeat="128" />
                    </ event>
                    <EventList />

                    The next problem we have is to catch Sat & Sun by 10 clock to.
                    greets, Kurt

                    Comment

                    • MADxHAWK
                      Senior Member
                      • Jan 2010
                      • 181

                      #40
                      Hi Kurt,

                      try this:
                      code:

                      <event type="playlist">
                      <playlist loopatend="1" shuffle="1" priority="3"> leerfile </ playlist>
                      <calendar starttime="15:50:00" duration="07:10:00" repeat="128" />
                      </ event>
                      <event type="playlist">
                      <playlist loopatend="0" shuffle="1" priority="2"> standard </ playlist>
                      <calendar starttime="23:00:00" duration="16:50:00" repeat="128" />
                      </ event>

                      Using duration instead of endtime may help.

                      Greetz
                      -MAD

                      Comment

                      • Matrix2000
                        Junior Member
                        • Sep 2011
                        • 21

                        #41
                        ok thx, i try this
                        greets, kurt

                        Comment

                        • killerwake
                          Junior Member
                          • May 2009
                          • 3

                          #42
                          hi Dro, when streamtitle will be available as a MULTI option?

                          greets, JP

                          Comment

                          • DrO
                            • Sep 2003
                            • 27868

                            #43
                            when it's included in a newer sc_trans release is all i can say as i've no eta on when a newer sc_trans will be released.

                            -daz
                            WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                            Comment

                            • blade-mscl
                              Junior Member
                              • Dec 2011
                              • 2

                              #44
                              Hi guys!
                              I have 2 questions about sc_trans:
                              1. can i use that scheme to work?
                              mp3 -> sc_trans -> icecast2 -> aac+ -> client
                              2. i have php script for provide mp3 filename to play
                              can sc_trans get path to file from php?
                              php returns 1 file name into STDOUT and ends

                              my env:
                              debian linux
                              icecast2

                              thanks

                              Comment

                              • DrO
                                • Sep 2003
                                • 27868

                                #45
                                #1: yes that will most likely work (though is not a supported configuration as we do not support icecast connections).

                                #2: http://wiki.winamp.com/wiki/SHOUTcas...e_Applications is what is supported for alternative playlist access so may work with what you're wanting to do.

                                -daz
                                WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

                                Comment

                                Working...
                                X