Announcement

Collapse
No announcement yet.

SHOUTcast DNAS 2 Beta (Build 10) 12/14/2010

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SHOUTcast DNAS 2 Beta (Build 10) 12/14/2010

    Presenting the latest BETA drop of the SHOUTcast DNAS server for broadcasters, developers and testers. This build is our latest GM release candidate and introduces new features as listed in the “Changes” section below, as well as addresses bugs reported in the previous BETA builds.

    This BETA release is now available for the following platforms:
    • Windows (32-bit and 64-bit (*) versions) (Windows 2000 not currently supported - this may be permanent)
    • Linux
    • Mac OS X (Intel)
    • BSD 8.x (*)
    * These are newly supported versions of the DNAS v2 as of this release.


    Downloads

    You can download the updated version of the DNAS v2 from the direct downloads for the operating system version you require:

    Changes
    • Now ships in BSD 8.x and Windows 64-bit
    • Fixed locale issues preventing sc_trans from loading without changing the machine's locale (non-Windows issue)
    • Fully enabled SHOUTcast 2 (Ultravox 2.1) protocol support with server output (used with YP2=1 in config and a compatible connecting client e.g. Winamp 5.6+)
    • Massive documentation update with full configurations details, example configurations and getting started guide
    • Accessing any admin / info pages with no station id or a station id less than or equal to zero will show a summary of any available streams (if there are any)
    • Changed config handling to close sc_serv if not set / missing / invalid
    • Added 'next song' to the stream + admin pages
    • Added a disconnect message indicating the duration, number of bytes sent and agent of the connection being closed
    • Added a current and next song pages (/currenttrack?sid=# and /nextsong?sid=#) along with <NEXTSONG> in the xml report for consistency
    • Changed 'yp2' configuration setting default to 'on'
    • Fixed segfault issue when attempting to connect to YP2 (non-Windows versions)
    • On Windows 'Ctrl + Break' is now handled as a valid quit command instead of just having the running instance close immediately
    • Added description for the Windows service so it's clearer the service is ours
    • Minor log message changes to sort of standardise the message style
    • Upgraded libraries to use expat-2.0.1



    Getting Started

    If you already have a running instance of the DNAS v2 then there should not be any issues with replacing your current version with this new version.

    If this is a new install then make sure to read through the information in the 'docs' folder along with the example configuration files provided in this new version which should make it easier to get started.


    Reporting Issues

    If you do come across an issue with the DNAS v2, then please do post in this thread with as much information as possible about what you're doing at the time, the system you are using and anything else which will make it easier to understand what is or isn't going on with your install.


    Additional Information

    Windows versions of the DNAS v2 are built with a dependency against the Microsoft Visual C++ 2008 SP1 Redistributable Package. If sc_serv is unable to start due to a dependency issue then you will need to install the correct version of the package so it can run which depends on the version of sc_serv you are attempting to run:

    32-bit - http://www.microsoft.com/downloads/e...d-3802b2af5fc2
    64-bit - http://www.microsoft.com/downloads/e...4-157cfdffee4e


    This new version has been tested on a number of current Linux versions (Ubuntu, Fedora, CentOS) so should hopefully run on other versions as well and without any dependency or locale related issues (as affected prior versions).


    Discussion about the previous version of the transcoder can be found here -> SHOUTcast DNAS 2 Beta v0.1 (Build 7)

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

  • #2
    i might have to break out my perl UVOX 2.1 client and give it a whirl ... looks like some nice fixes and additions.

    BW
    Without open minds the world will die. Open yours and correct the mistakes you are making right now.

    Comment


    • #3
      Originally Posted by bored_womble View Post
      looks like some nice fixes and additions.
      i hope so and there are a few more things coming for the next drop once they're finished off (and should be a bit less time than the time between the last release).

      -----------------------------------------------------------------------

      at anyone trying out this new version, i'm really keen to hear about the views on the content of the documentation files and examples especially if it makes sense or if there are an obvious issues with the documentation, etc as it will otherwise be made into an online version over the next week or so.

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

      Comment


      • #4
        The Win2K incompatibility is still in effect with this version, even after installing the VC2008 redistributable package. Upon trying to start sc_serv.exe, a dialog appears with the same error message as before: "The procedure entry point AttachConsole could not be located in the dynamic link library KERNEL32.dll".

        If this incompatibility is intended to be permanent, please mention it in the release info so people who need to run sc_serv on Windows 2000 don't waste their time downloading it. Also please consider doing a check for the Windows version in the installer, if not the app itself. Thanks.

        Comment


        • #5
          mjbrown: i'd missed that post about it not running on Windows 2000. i guess i'll have to make a Windows 2000 VM and see if it can be resolved though with all of the UTF8 usage, i'm not sure if Windows 2000 supports it all (i've not personally used it as an OS since my real machine with it died ~3 years ago so i cannot remember half of what it could do).

          If this incompatibility is intended to be permanent, please mention it in the release info so people who need to run sc_serv on Windows 2000 don't waste their time downloading it. Also please consider doing a check for the Windows version in the installer, if not the app itself.
          noted, will add in some more information, etc as part of the next release and will edit the first post to include it as well (i'd expect sc_trans also has the same issue as well).

          thanks for pointing it out (and apologies for not seeing it earlier).

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

          Comment


          • #6
            The Trackname could not dispay an @

            And
            2010-12-14 20:57:21 I msg:[YP2] Connecting to yp.shoutcast.com
            2010-12-14 20:57:28 E msg:[YP2] /yp/resp/updatefreq missing

            Comment


            • #7
              Originally Posted by TiggaStyle View Post
              The Trackname could not dispay an @
              where are you viewing this and can you provide what is actually shown and what should be shown.

              Originally Posted by TiggaStyle View Post
              2010-12-14 20:57:21 I msg:[YP2] Connecting to yp.shoutcast.com
              2010-12-14 20:57:28 E msg:[YP2] /yp/resp/updatefreq missing
              this usually stems from an in ability to connect to the YP. enable the related YP debugging options to see what the other information is relating to the error.

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

              Comment


              • #8
                When i Write in DSP 210 Tracktitle Anything @ Internet, on Page is shown only Anything Internet. The @ sign would not shown.

                And YP :
                2010-12-15 21:14:58 I msg:[YP2] Connecting to yp.shoutcast.com
                2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]
                2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]
                2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]

                2010-12-15 21:17:47 D msg:[YP2] pvt_update add still pending for key=2 [3]
                2010-12-15 21:17:47 D msg:[YP2] pvt_update add still pending for key=2 [3]

                and so on and so on

                I Have 3 Streams with 3 Authkeys, but to test i connect only to sid 1.

                Comment


                • #9
                  I've noted the disappearance of non-ASCII characters, and even some ASCII characters like the at-sign and square brackets, in the DSP thread because I figured it was a problem with the sender (the source DSP), not the receiver (the DNAS). Could be either one, I guess. DrO says in a PM that he'll be looking into it in the next few days.

                  Comment


                  • #10
                    Originally Posted by TiggaStyle View Post
                    When i Write in DSP 210 Tracktitle Anything @ Internet, on Page is shown only Anything Internet. The @ sign would not shown.
                    i take it you're referring to the admin / status pages from index.html?

                    Originally Posted by TiggaStyle View Post
                    And YP :
                    2010-12-15 21:14:58 I msg:[YP2] Connecting to yp.shoutcast.com
                    2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]
                    2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]
                    2010-12-15 21:14:58 D msg:[YP2] pvt_update add still pending for key=2 [1]

                    2010-12-15 21:17:47 D msg:[YP2] pvt_update add still pending for key=2 [3]
                    2010-12-15 21:17:47 D msg:[YP2] pvt_update add still pending for key=2 [3]

                    and so on and so on

                    I Have 3 Streams with 3 Authkeys, but to test i connect only to sid 1.
                    that looks very much like an issue in connecting to the YP. have you made sure you've enabled yp2=1 and that the required ports are open. there should also be a response message showing the actual result from the YP add attempt just before those 'pvt_update' parts if using all of the debug logging options from sc_serv_debug.conf


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

                    Comment


                    • #11
                      Yes from index.html?sid=1

                      And Yes yp2=1 in my Config.
                      What Ports must be open? The Port 80 an the Streamports 8000 and 8001 are open.
                      ----
                      Edit : Okey all going back. After enable all debug Options i found it:
                      So my Root has 2 IPs, and i want to use die Second
                      And in my Config srcip= and dstip= is the Second IP. The Server Runs, but YP could not see the Streampath, but is it not the (src and dst) Second IP of my root it is die First, so YP brings the msg :
                      <yp version="2"><resp seq="1"><error><code>400</code><message>Cannot see your station/computer (URL: http://firstIP:8000/path) from the Internet, disable Internet Sharing/NAT/firewall$

                      But i would not run the Shoutcast on my First IP.

                      Comment


                      • #12
                        Originally Posted by TiggaStyle View Post
                        Yes from index.html?sid=1
                        just tried (needed to make sure i was looking at the correct location) and right you are though also looking at the log metadata coming from the dsp to sc_serv looks like it's the dsp at fault (will confirm either way in a few hours).

                        Originally Posted by TiggaStyle View Post
                        With Ports must be open? The Port 80 an the Streamports 8000 and 8001 are open.
                        should just need to be what is set for portbase and portbase+1 though would really be easier to work out with a full debug log from what sc_serv is trying to do / receiving as part of the connection process (if need be you can just pm me a copy if you don't want other people to see what is in it).

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

                        Comment


                        • #13
                          Sry DrO, i've edit my Post at same Time u Answer

                          Comment


                          • #14
                            Okey,

                            When i open the Stream in Winamp, the URL is shown and not Streamname and Track. so no metadata shown in Winamp?

                            Comment


                            • #15
                              Originally Posted by TiggaStyle View Post
                              So my Root has 2 IPs, and i want to use die Second
                              And in my Config srcip= and dstip= is the Second IP. The Server Runs, but YP could not see the Streampath, but is it not the (src and dst) Second IP of my root it is die First, so YP brings the msg :
                              <yp version="2"><resp seq="1"><error><code>400</code><message>Cannot see your station/computer (URL: http://firstIP:8000/path) from the Internet, disable Internet Sharing/NAT/firewall$
                              that would probably explain things. will see if there's something not being correctly passed in the server for the YP connection despite other parts working as you're seeing.

                              Originally Posted by TiggaStyle View Post
                              When i open the Stream in Winamp, the URL is shown and not Streamname and Track. so no metadata shown in Winamp?
                              you need to be using Winamp 5.601 for the stream information to show (all previous 5.5x versions can play true SC2 streams but could not cope with the new style metadata).

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

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎