« PreviousNext »

WWWinamp V4.2 Build 3018

6 April 2008

Here it is as promised!

With this version of WWWinamp I really focused on implementing a lot of the IPC calls that are in the new 5.34 SDK of WWWinamp. Several of these required small changes to how I did things before. An example of this would be the Shuffle and Repeat commands where before you only only toggle them on or off, now you’re able to specify specifically to turn them on or off.

Also with this version of WWWinamp I tried to give you guys full control over Winamp including seek and EQ control! Now you can skip to any part of the song :) Of course, the default skin doesn’t support this but I highly suggest everyone check out dawolf’s AJAX enabled WWWinamp skin that he posted a preview of here.

I wasn’t able to get HTTP cache control built into WWWinamp just yet as I’m having issues with dynamic content such as album art which aren’t sent as static image files. I was able to add a couple extra tweaks to the HTTP daemon which should make life easier for people :)

Here is the full changelog for Build 3018:

As you can see in the changelog, I’ve also taken the liberty to updating (and including, OOPS!) the sdk.txt file which outlines all the allowed WWWinamp commands and script tags. This should help people working on their own skins a lot. Sorry I left it out! It got dropped somewhere in the migration from v4.1 :) This new version brings in about two years of updates and a bunch of information not in the previous version. I’ll do my best to keep this up to date with new releases of WWWinamp :)

Share and enjoy!

WWWinamp v4.2 Build 3018 - Download (59k)

Posted in WWWinamp | Trackback | del.icio.us | Top Of Page

    22 Responses to “WWWinamp V4.2 Build 3018”

  1. Rich Says:

    I’m trying to get your latest and greatest working, and I cannot get the web-control past “No Instance of WinAMP Found.” even though it says

    “[ 5/8/2008 8:42:55 PM ] Retrieving WinAMP Handles…
    [ 5/8/2008 8:42:55 PM ] Building Media Library…
    [ 5/8/2008 8:42:55 PM ] New instance of WinAmp found. Process Handles updated!
    [ 5/8/2008 8:42:57 PM ] Web Service Started at http://10.0.0.10:81
    [ 5/8/2008 8:42:57 PM ] Media Library Built! (17463 files scanned, 00:00:01.7187500 elapsed)”

    in the server application.

    I only installed Dot-net 3.5 framework, and the latest winamp realease (5.531).

    I’ve tried it with the ajax skin, winamp 5.03, and even moved it to it’s default directory. And used all the defaults.

    any ideas?

  2. eric Says:

    Make sure you’re using the classic skin. If you are, let me know and I can go through some more trouble shooting with you :)

  3. Rich Says:

    ok, that worked. I thought the default was the classic skin.

    the only problem with it, is that the ability to start/stop winamp from the website is broken.

    The program works pretty slick though! thanks!

  4. Rich Says:

    so, do you guys have a mailing list that’s linked with this product?

  5. eric Says:

    No mailing list… yet! That’s a fabulous idea that I hadn’t thought about. Wordpress (the blog software I use) does have a couple Mailing List plug-ins I could use, so I’ll look into it! :)
    For the time being, you could just keep an eye on the RSS feed for any updates :)
    Cheers!

  6. dawolf Says:

    Another thing i noticed while continuing my skinning work:
    When moving files up or down in the playlist, most of the |PLAYLIST| script tag gets populated with filenames instead of ID3 information, so the look of the playlist changes when re-ordering the list which is a bit irritating. When deleting files from the playlist everything stays fine. Reloading the whole page also fixes the problem.
    Here is an example before moving a song (id3 tags displayed):
    http://www.dawolf.com/dl/good.gif
    and after moving any song up or down (filenames displayed):
    http://www.dawolf.com/dl/bad.gif

    I have no idea what the problem could be here. Eric maybe you can take a look at the WWWinamp code thats handling the re-ordering.

  7. dawolf Says:

    ok, i just reproduced the problem when adding a full directory. the first songs display id3 info, the last songs just show up as filenames.

    I seems that wwwinamp adds the songs to winamp, which then reads the id3 tags, but in the meantime the |PLAYLIST| tag gets filled with an incomplete id3 list. hmmm

  8. dawolf Says:

    I’ve updated my WWWinamp Ajax Skin (to version 0.2!). Tested somehow ok with Firefox.

    IE7 seems to have a problem with caching ajax requests, so it misses updates to the playlist and playing now section sometimes.

    Download (55kb):
    http://www.dawolf.com/dl/askin.zip

    Feedback is always welcome.
    Features and installation instructions in my previous comment here: http://www.enusbaum.com/blog/2008/03/10/wwwinamp-v42-build-2991/#comment-2492

  9. Rich Says:

    4.2 build 3018 threw an exception when browsing a search. Thought you may want this.

    Exception Occurred:
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at ENusbaum.Applications.WWWinamp.Classes.Daemon.WebServer.ClientHTTPRequest_ProcessWWWinampCommand(WebRequest oRequest, Socket& mySocket)

    Extra Information:

    GET /www_right.html?LibraryCover&value=7251&height=150&width=150 HTTP/1.1
    Host: 10.0.0.10
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
    Accept: image/png,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://10.0.0.10/www_right.html?s=lina_music
    Authorization: Basic Og==

  10. pelle Says:

    i keep getting this error…

    Exception Occurred:
    System.Exception: The Winamp Playlist could not be located at “E:\Program\Winamp\”. Please verify the path in WWWinamp.config is correct for the setting “Winamp.PlaylistDirectory”

    Extra Information:

    This Information has been saved to ERROR.LOG in the WWWinamp program directory. Please email this file to WWWINAMP@ENUSBAUM.COM. Thanks!

  11. pelle Says:

    ok i solved it , but i got an problem i got an “ä” in my username

    E:\Documents and Settings\Kakaläsk\Application Data\Winamp

    is it possible to change the winamp playlist directory, ive been looking around but didnt find anything, and btw when i set E:\Documents and Settings\Kakaläsk\Application Data\Winamp as my Winamp.PlaylistDirectory i cant start the program =) so i guess the program isn’t supporting “åäö”

  12. DoubleD Says:

    I have an error I can’t seem to get past when trying to install WWWinamp:

    WWWinamp 4.2 Build 3018 6/4/2008 8:22:13 PM System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize —> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WWWinamp42_build3018\WWWinamp.exe.Config line 66)
    at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
    at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
    at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
    at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
    — End of inner exception stack trace —
    at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
    at System.Configuration.ConfigurationManager.GetSection(String sectionName)
    at System.Configuration.ConfigurationManager.get_AppSettings()
    at ENusbaum.Applications.WWWinamp.Classes.AppConfiguration.get_configWarnVista()
    at ENusbaum.Applications.WWWinamp.Forms.frmMain.Form1_Load(Object sender, EventArgs e)

    Any Ideas.

  13. eric Says:

    Please check out this blog entry to fix your issue :)
    http://www.enusbaum.com/blog/2007/10/12/getting-an-error-every-time-you-start-wwwinamp-v41/

  14. Ian Says:

    This is a pretty handy tool and exactly what I was looking for to let users control a playlist of a jukebox on a Ventrilo server.

    After some initial hiccups, I think I got it to the point where it works. The playlist formats all funky though, but it looks a bit better in Opera.

    Is there any way to disable display of images? I have a lot of music in my root music directory from a lot of different artists, and every page shows a pic from just one of them.
    I’ve also attempted to disable the download option from the admin console, but it doesn’t seem to want to work.
    Also, some of the features I see in the config for admin access don’t seem to show up anywhere.

    I might be interested in writing up some documention or an install script (if I take the time to learn how to make them) for this tool.

  15. Ian Says:

    Also, I’m running winamp and WWWinamp on a system on an internal network, and I’m having trouble patching the port through on my firewall so that outside users can queue things up. I’m using Win Server 2k3 for router and firewall, and I’ve successfully patch ports through before.
    Any ideas?

  16. eric Says:

    Re: Ian

    You can disable the display of Album Art in the UI by removing the LibraryCover Image from the library_folder.wwa file.

    If you would like to remove the Download link, you can remove it directly from the libary_file.wwa script file. Since these are static HTML files with script tags, any text editor (link Notepad) would be able to do the job :)
    I never thought of setting up an Install Script only because it was a very low overhead program (just unzip, config and run). I know programs like Nullsoft’s NSIS Installer is a free and commonly used installer.

    If you want to write up some documentation for WWWinamp I’d be happy to post it :) Let me know via e-Mail if you have any questions.

    The port issue might be a network issues outside of WWWinamp. Probably another networking issue outside of just the firewall.

    Thanks! :)

  17. Seth Says:

    Any chance wwwinamp could parse xml files?
    i’m trying out a bit of ajax for my wwwinamp skin, and having an xml file of info would be easier for me. (i’m just learning)

    for example:

    ::: data.xml :::

    |CURRENT_SONG_LENGTH|
    |CURRENT_SONG_ELAPSED|
    |CURRENT_SONG_TITLE|

  18. Seth Says:

    sorry, the xml format didn’t work, so the example doesn’t make any sense, but those wwwinamp tags would be in xml nodes.

  19. Seaniekaye Says:

    Hi - I am unable to get the play button to work remotely. Pause/Stop/FWD all work fine, along with searching the library and queuing tracks. I am using the classic skin and accessing it with firefox. Any ideas?

  20. eric Says:

    Re: Seth

    Technically, WWWinamp will process script tags in any file. So if you embed those tags within an XML file and that file is retrieved by the client browser through WWWinamp via HTTP, the script tags should be picked up and replaced properly.

    I’m working on a new version now which should speed things up a little bit because I’m setting a value in the config file on what should be parsed as a script, not just assume every file has script tags and pass it to the WWWinamp Scripting Engine.

    This should help performance :)

  21. Ikanus Says:

    I can’t see the playlist. ¿Why?

    I got everything to work correctly however when I access wwwinamp through my webrowser (IE o Firefox) it does not show the playlist. I can add songs to the playlist just fine and it plays them just doesn’t show them in the left window.

  22. eric Says:

    Ikanus: Verify that the configuration option for the Winamp Playlist Directory (in the WWWinamp.config) is set to the proper location. In Windows Vista and Windows 2008 Server, this differs from the installation directory of WinAmp (which you obviously have setup correctly).

    Scan your system from the file “winamp.m3u”, and that’ll let you know where the file is being generated from Winamp :)
    Cheers!

Leave a Reply


Powered by WP Hashcash