No announcement yet.

SHOUTcast DSP Plug-in v2.3.2 for Winamp (11/06/2012)

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

  • SHOUTcast DSP Plug-in v2.3.2 for Winamp (11/06/2012)

    The updated version of the SHOUTcast DSP plug-in has now been released and is available from:

    (Direct download link -> here)

    Note: This updated version of the plug-in will only work on Winamp 5.5 and higher and requires Windows 2000 and higher to work (though the plug-in has only been actively tested on Windows 2000 / XP / Window 7). Additionally, this is a 32-bit dll like Winamp though should run fine on a 64-bit version of Windows.


    This is a recommended update for anyone using the DSP plug-in as it resolves a number of stability issues with the prior 2.x and 1.9x versions and also adds support for SHOUTcast 2 along with a number of other improvements to the experience of using the plug-in with a number of bug fixes as well.


    Changes from v2.3.1
    • Fixed all reproduceable issues when switching between Winamp and Soundcard mode as well as switching between the different soundcard input modes (should fix all reported crashes when switching between these modes)
    • Fixed soundcard input not being initialised correctly in all of the previous v2.3.x releases
    • Fixed the 'connect' button getting disabled when switching from the 'summary' to the 'output' tab
    • Fixed crash when playlist was cleared and Winamp was in a specific playback state leading to information could not be properly handled
    • Updated list of station names not allows for being listed in the Directory
    • Updated albumart support to get the raw playing artwork instead of the decoded artwork and having to re-encode to png when using Winamp v5.6+ (still happens on pre-5.6 or if there is an external artwork file due to the Winamp artwork api)

    Changes from v2.3.0
    • Added logging of the metadata and artwork details obtained from Winamp before sent to the server (if logging it enabled)
    • Fixed some connection stability issues when connecting to a remote server (typically happens when in-stream artwork is enabled)
    • Fixed large metadata updates (typically in-stream artwork but also could affect title updates) not sending all frames to the server
    • Fixed some rare lockups when sending metadata frames to the server
    • Fixed the 'kill' action not working or responding as expected in certain scenarios
    • Changed the 'Directory' tab to enable Name, Url and Genre options when using v2 mode and the stream is set to be public
    • Changed toggling of the in-stream artwork options to refresh the cached artwork copy when re-enabled
    • Changed log messages to filter out excessive "Cipher Response Received" messages and changed to show "Unable To Connect To The Server. Try enabling 'SHOUTcast v1 mode'." if stuck at that state
    • Removed the "Ignore 'Sent X bytes' status messages" option from the logging tab (should have been removed in v2.3.0)

    Changes from v2.2.3
    • Added a number of stream configuration details onto the summary view to see what each stream is configured for without having to go to the 'output' tab
    • Added clickable buttons on the summary listview to allow for quick control of the streams
    • Added toggling of the stream playing state in the summary listview view via the space key
    • Added support for saving the encoded stream output to a specified file to allow DJ's to keep a copy of their output
    • Added options for toggling between Winamp and Soundcard mode on the summary page
    • Added tooltips to the summary listview so any clipped text can be seen
    • Added peak level indication since the DSP was started for left and right
    • Added visual info on the artwork page if artwork will be sent or not
    • Added better checking of entered values to ensure only what is supported can be entered e.g. port range limit from 1-65535
    • Added better handling of NAK errors from the DNAS in v1 and v2 mode as well as required updates from v2 protocol changes e.g. for 'Bit Rate Error' and 'Stream Moved' responses
    • Added 'red' tab text to indicate the tab which has missing or invalid information which prevents a connection from starting
    • Added some details of the connection in the logs to make it easier to see the details
    • Added handling to remember custom titles between Winamp instances
    • Changed all of the known genres to support all changes made to the official genre list at the time of release including the adding of new genres (Decades -> 00s, Folk -> Old Time, International -> German) and changing some (Jewish to Hebrew or removing any dashes)
    • Changed some of the output sub-tab names to make things more consistent
    • Changed 'user id' to be able to accept the DJ name when used in v1 mode so it will automatically convert it to the 'name : password' format as used with v1 Transcoder DJ connections
    • Changed the title options to be on their own page with some layout changes
    • Changed a failed connection to now wait up to a second before trying again to prevent hammering the server
    • Changed '[xx:xx:xx] Sent xxx bytes' to now scale from bytes to KiB to MiB to GiB
    • Changed in-stream metadata (titles and artwork) to be included in the v2 stream bytes sent total shown
    • Changed paused / stopped silence filling to keep the output bitrate the same as playing now without the prior hacks
    • Changed the 'online documentation' link to open a local copy if available
    • Changed the GUID for the plug-in's language file to now be {88380E65-4068-49BA-8EA4-3F2AF12D0A4F} due to the large number of resource changes from the previous releases
    • Changed user-agent for v1 title updates to match with the v2 metadata's TENC field version (is now "SHOUTcast Source DSP x.x.xx Title Update (Mozilla)")
    • Changed to use Lame 3.99.5 (lame_enc.dll) or the most current version shipped with Winamp (makes it easier to update without a custom built lamedll.dll as previously used)
    • Changed the 'connect' button to show 'set password' or 'change name' or 'set encoder' or 'set server' when disabled to make it clearer why it's not enabled e.g. if 'unnamed server' or nothing is set for the station name or password fields
    • Changed default page to be the output page instead of summary on new installs
    • Changed encoder default to be AAC+ if possible (so it's one less thing to do on loading) and fixed MP3 to default to 96kbps stereo on clean installs
    • Changed how the dialog is loaded to resolve a part close / crash seen in a few rare cases
    • Changed the waveInReset(..) change from 2.1.3 back to the pre-2.1.3 behaviour to see if it resolves some of the crash issues reported since the change
    • Fixed a small audio loss / silence injection when a stream starts or when a title update happens
    • Fixed the title cache update to only send an update if there is an actual change (filters out quirks with streaming from another stream)
    • Fixed 'invalid password' scenarios not being correctly reported
    • Fixed stream artwork not being correctly updated after being set to an invalid / empty file
    • Fixed unusually large cipherkeys causing a crash when attempting to connect to the server
    • Fixed v2 mode doubling up the sent bytes total in some specific scenarios
    • Fixed memory leak when processing the playing album art due to not always removing the original image
    • Fixed a disconnect-connect or re-connect scenario incorrectly trying to re-send the stream artwork when not present / not enabled
    • Fixed metadata packet creation some times going over the 16384 byte limit (16371 byte payload limit)
    • Fixed artwork cleared updates being sent when not applicable
    • Fixed playing state not being correctly detected if Winamp was already playing when the DSP is loaded
    • Fixed issue causing sparodic injection of invalid data into the output buffer for encoding
    • Fixed artwork not being correctly sent after a disconnect in some scenarios
    • Fixed random crash when updating the next playing song information
    • Fixed excessive updating of the controls on the output page
    • Fixed MP3 encoder not showing all encoding options when in Winamp mode under some incorrectly inherited settings
    • Fixed v1 metadata updates potentially causing a one handle leak for each title update
    • Fixed manual titles not being sent in all cases
    • Fixed next titles being sent even if option is unchecked
    • Removed dsp_sc_enc.ini usage with all temporary encoder settings now stored in dsp_sc.ini
    • Removed default values for userid and password to force a valid value to be entered
    • Miscellaneous code tidyups, optimisations, removal of unwanted code, resource changes and other related changes to improve useability of the plug-in

    Reporting Issues

    If you do come across an issue with the plug-in, 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.

    Important Notes

    1) There are still a few issues regarding the soundcard control features on Vista / Windows 7 due to changes made in these OSes in the way it handles sound and how it can be obtained. This is being investigated though there is no eta on when a resolution will be found other than it is intended for there to be some attempt at a fix in v2.4.0

    2) By default on new installs of the plug-in, it will enable support for using the newer SHOUTcast 2 features. However, if you're using an older version of the DNAS (or an alternative which is not compatible with the SHOUTcast 2 protocol) then you will need to check the 'Use SHOUTcast v1 mode (for legacy servers)' on the Output Page -> Connection Tab.

    3) This version includes artwork support but requires a newer version of the SHOUTcast DNAS v2 in order to be able to use it. This will be released shortly once a number of other aspects have been completed with the DNAS's development.


    Cipher response received message - If this happens then you most likely are connecting in SHOUTcast 2 mode to a SHOUTcast 1 setup and so need check the 'Use SHOUTcast v1 mode (for legacy servers)' on the Output Page -> Connection Tab. The plug-in will give you a number of hints if this is what you need to do.

    Soundcard Mixer Control - On Vista / Windows 7 / Windows 8 there are issues with the use of the features with the selected device to act as the 'microphone' where it basically will not work in an expected manner which also affects the 'Push To Talk' (PTT) feature. This is being investigated though is not clear if there will be a solution for this.

    Soundcard Input Gives No Stream Audio - Streaming using the 'soundcard input' does not work correctly in all v2.3.x builds. This is being investigated and a fix will come in the next few weeks. If using this mode is all you use then you will have to install the older v2.2.3 release until the issue is resolved. This is fixed for the next public release due out the week commencing 5th November 2012.


    Big thanks goes to kind people who've helped out from trying new test builds to providing access to systems experiencing weird issues as well as those who reported issues with the DSP whilst trying to resolve the issues with connection stability and other things from the previous v2.x releases.

    Discussion about the previous version of the server including changelogs can be found in the following threads
    WACUP Project <‖> "Winamp Ramblings" - Indie Winamp Dev Blog

  • #2
    cool, massive development of the DSP.

    i read the post, but does any of it apply to being able to feed the DSP metadata info provided by an external source for a soundcard in feed? (like a txt file?)
    PENN STATE Radio or
    BUG #1 = Winamp skips short tracks
    Wish #1 = Multiple Column Sorting
    Wish #2 = Add TCMP/Compilation editing


    • #3
      nope, there has not been anything done towards that as need to find the time and also sort out the best way to handle the file (from how it's specified, etc as i think was covered in the previous release thread).

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


      • #4
        Originally Posted by DrO View Post
        nope, there has not been anything done towards that as need to find the time and also sort out the best way to handle the file (from how it's specified, etc as i think was covered in the previous release thread).

        np, just didn't know if i was unaware of any terminology. clearly this is a worthy release, heavy on bug crushing but not without useful new features.
        PENN STATE Radio or
        BUG #1 = Winamp skips short tracks
        Wish #1 = Multiple Column Sorting
        Wish #2 = Add TCMP/Compilation editing


        • #5
          we shall see with time if this release resolves things as it should
          and now to start updating the wiki versions of the documentation *joy*

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


          • #6
            Nailed it!
            | Opus Audio Codec plugins 2.0 | Embedded Album Art | DiskWrite |
            | Save your playlist first! | Live voice-over | X-Fade 2.5 |
            | AterKast (Source DSP) | More of my stuff... |


            • #7
              v2.3.1 will be coming early next week to resolve some further stability issues in v2 mode with in-stream artwork (or large metadata) updates being sent not working as expected or causing the connection to drop.

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


              • #8
                hey DrO,

                i had an idea, and it may very well be a terrible idea, so i leave that to you, but i thought it might be useful for troubleshooting.

                could a second status tab be added to the dsp, whose funtion would be to merely display the metadata currently being sent? so like the actual title, artist, AA, album name, and artwork, along with the specs of the artwork, namely resolution and filesize?

                something like that would at the very least show that the data is reaching the DSP, and if something isn't working, its AFTER the DSP. (like, for normal users trying to troubleshoot). for you, it would show you what exact art might be causing a problem.

                i think it would just be "cool" besides!

                just floating it out there, i know you got a full plate. (maybe thinktink would want to do it?? eh eh, nudge nudge)
                PENN STATE Radio or
                BUG #1 = Winamp skips short tracks
                Wish #1 = Multiple Column Sorting
                Wish #2 = Add TCMP/Compilation editing


                • #9
                  the DSP already shows if it's sending artwork or not and the effective file size of the artwork on the artwork tab (ignoring the bug in it not sending all of the frames).

                  i might consider adding logging of metadata updates to the log but i'm not sure it's really appropriate with the rest of the ui when Winamp is already showing or can be setup to show all of that.

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


                  • #10
                    I've updated to 2.3.0, and I noticed it have several issues.

                    for example I can't stream anymore with this version, when I click in "connect" button, it start sending bytes but really really slow.

                    other important issues are with the GUI, sometimes borders and boxes for texts are not visible, or disappear randomly.

                    or for example when you try to configure AAC encoding options, the config window is empty.

                    sadly I had to return to 2.2.3.


                    • #11
                      it is already mentioned a few posts up that there is a connection stability issue when using v2 mode.

                      Winamp version?
                      what protocol version?
                      Using a language pack?
                      any actually useful information about your setup (as per the first post) ?

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


                      • #12
                        Winamp version: Winamp 5.63
                        OS: Windows XP Professional SP3 (updated)
                        Protocol version: Shoutcast v2
                        Languaje pack: Winamp 5.63 in Spanish

                        My Setup...
                        CPU: AMD Sempron 2400+ Socket A (1.667ghz).
                        Video: Nvidia Geforce FX5200 AGPX 8x 256MB DDR 128bits.
                        Sound: Sound Blaster Audigy SE PCI.
                        Ram: 1.5GB DDR.


                        • #13
                          try Winamp under the English language pack for the UI issue to see if that persists

                          as for the slow sending of bytes, if it's only for the first few seconds (your description is not clear) then that is expected when in v2 mode when it's doing all of the handshaking needed and the previous version did the same thing.

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


                          • #14
                            confirmed, with English language the GUI is ok, and encoding options window is working fine again.

                            about "slow sending of bytes" seems the issue is something with the config, because now a made a clean install of the plugin, deleting the old config and now is ok.

                            so may be is some incompatibility that only happens when the config from 2.2.3 still exist.


                            • #15
                              do you still have a copy of the config file which exhibited the issue? if so can you pm me the contents of the file please.

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