Posts Tagged WWWinamp
Let’s take a dive into XCode and Objective-C!
Posted by eric in Apple, General Programming, General Software, iPhone on August 6, 2008
So, I’m diving into the pool!
I recently purchased a MacBook Pro for the sole purpose of developing software for the Mac/iPhone platform. It’s completely unknown to me and currently the XCode IDE looks nothing if not completely confusing compared to the friently intuitive interface of Microsoft Visual Studio that I’m used to
What brought me to this point? Well, two things.
First, I’ve been wanting to dive into Objective-C for a little over a year now and started dabbling with it a while back on my old G4 Powerbook. I was impressed with the coolness of it, but being that I was developing on a G4 Powerbook, I was limited as by this time Apple had begun the mass migration to Intel based systems.
Second is that I want to develop applications for the iPhone. Not to make a mint or anything, more or less because I think I have some good ideas on programs people would use. Like how Apple provided the iTunes controller, well, hows about a WWWinamp controller for the iPhone? Perhaps one that lets you search your library locally on the iPhone without even connecting to WWWinamp?
I started down this path because there’s currently a program for sale on the iTunes App Store that lets you control your instance of WinAmp remotely… for $4.99!!! What the crap?! I was floored that the author would expect that kinda money for a program when there are PLENTY of other FREE alternatives out on the web (like WinAmp Remote, AjaxAmp or WWWinamp). I made it my mission to release a comparable program
It’s just going to take a month or so to ramp up on the new IDE and learn how to do SOAP calls and whatnot. Should be a fun adventure though! My wife begins the final semester of her Teaching Credential program in a couple weeks, so I’ll have four nights a week alone to myself to nerd out and gorge on Hot Pockets!
I have another version of WWWinamp in the works as well. This is basically some code modernization for sections that I wrote over a year ago. Updating things to use Generic Methods and whatnot. You know, fun .NET stuff
Cheers!
WWWinamp V4.2 Build 3109
UPDATED: Fixed the download link! Sorry I had the wrong URL in there
Well, as promised on this fantastic 4th of July weekend I’m delivering everyone a great new version of WWWinamp
Mostly a bug fixer with some improvements to make it easier for people creating their own scripts! There are several users active here on my blog who are creating AJAX enabled skins and it was confusing the rules as to which files were passed to the Scripting Engine and which files were just treated as is.
Well, the rule of thumb in previous versions was that if the file was consided to have a MIME type of “text/html”, it would be sent to the Scripting Engine. This pretty much meant only *.htm and *.html files. At users requests, I’ve added a new configuration key to the WWWinamp.config file (WWWinamp.HTTP.ScriptFiles) which allows users to list which files are actually passed to the Scripting Engine.
Also in this version, I fixed an issue in the WWWinamp.config file which would keep the WCF service from starting.
Because of these changes, I suggest everyone use the WWWinamp.config file packaged with this build and just set back up your default configurations.
If you don’t feel like updating your configuration file.. well.. your WCF service just won’t work and WWWinamp will default back to using “text/html” MIME typed files as scripts.
Here’s the full changelog:
- [HTTP] Better handling of malformed HTTP Requests
- Added more user friendly help to some of the most commonly reported errors
- Added ability to specify file extensions that are sent to the Scripting Engine
- Increased performance of the Scripting Engine
- Fixed issue with WCF endpoint being misconfigured in the WWWinamp.config file
Cheers!
WWWinamp v4.2 Build 3109 – Download (60k)
WWWinamp Ajax Skin v0.2 by dawolf
One of our WWWinamp users, dawolf, has created a rad skin for WWWinamp which has a great UI and is Ajax enabled! This is a great skin and everyone who’s looking to give WWWinamp a more modern look should take a look at his efforts!
You can simply make this skin your default skin by plating it in your Web Root folder or by placing it in a sub-directory in WWWinamp (such as /askin/)
Anyone who has issues with this skin can make bug reports to this post!
Just another great example of the flexibility of WWWinamp in letting people remote control their own copy of WinAmp without being stuck to a single interface design like Winamp Remote or AjaxAmp.
Thanks again to dawolf for all this hard work!
WWWinamp Ajax Skin v0.2 by dawolf – Download (55k)
Click here for the latest information on WWWinamp.
WWWinamp V4.2 Build 2991
We’ll call this the “foot in mouth” build when it comes to removing the “beta” tag, but live and learn!
Again, thanks to ‘dawolf’ for reporting several defects within WWWinamp that were included in the previous build (4990), but have been corrected. I suggest all users upgrade to this latest build to avoid any system performance issues
Changes in this version include:
- Fixed 100% CPU utilization issue in WinAmp Handle Update code
- Fixed issue when starting WWWinamp without an instance of WinAmp Running
- Minor Bug Fixes
I actually didn’t notice the 100% CPU bug when testing the previous version because the loop was in a single thread, and only my quad core rig it only showed up at 25% system utilization which didn’t strike me as odd for my system while developing. So my apologies for missing that!
WWWinamp v4.2 Build 2991 – Download (56k)
WWWinamp v4.2 Build 2990
Posted by eric in Apple, General Programming, General Software, Internet, WWWinamp, iPhone on March 9, 2008
Well, after about a week of off and on work the latest version of WWWinamp is ready!
I’ve taken the “beta” tag off of it as it seems the recode of the HTTP request processing seemed to work without issue and no bugs were reported (other than the ‘paging’ issue, which really was a defect in the script parser).
Changes for this version are:
- [HTTP] Daemon will now start if a WinAmp instance is not found
- [HTTP] Able to specify max number of HTTP threads to process (Default 25)
- [Script Parser] Fixed “Paging” issue when searching through the Libary
- [Script Parser] Script Files (*.wwa) will be run from the same folder as the file requesting them
- WinAmp Handles will be updated if a new instance is detected
Be sure to use the latest config file included with this release as it has a new key value, WWWinamp.HTTP.ListeningThreads, which tells the HTTP daemon how many threads to use max. This is set to 25 by default if no key is found, but it will throw an error. So if you don’t want to use the packaged configuration file because you’ve hacked together your own, you can manually add this key with any value you’d like.
This value isn’t a huge addition but it can help maintain system stability under heavy load. This way WWWinamp won’t spin up an infinite amount of threads if there’s heavy resource contention or there’s a problem that is causing threads to hang.
Also, the other ‘fixes’ were requests made by ‘dawolf’ here in my blog so I suggest more people get involved and we can make WWWinamp better!
In addition, if you’ve made your own skin and want to share it, please feel free to contact me and I can post it here to my blog for others to use.
As for future releases, they may be a little slow in the coming month. I’m going to be diving into the iPhone SDK and Objective-C programming using XCode on my Apple. I think a remote media interface would be totally awsome if I can have a native WWWinamp application on the iPhone talk to the WWWinamp server using WCF/SOAP. It’d be way easier than using the webkit crap and I could make it have a lot more functionality (perhaps tuning in to a shoutcast stream VIA the iPhone?). Anyways, just thought I’d give you guys a little bit of information on that.
Cheers!
WWWinamp v4.2 Build 2990 – Download (56k)
WWWinamp v4.2 Build 2953 (Beta) and an iPhone Compatible Skin!
Here you are as promised!
Along with a quick bug fix version of WWWinamp, I’m also releasing an iPhone compatible skin for WWWinamp! This skin will make controlling your copy of Winamp from an iPhone quick and easy! A big thanks to the guys over at Google and Joe Hewitt for providing such a great set of iPhone web functions in their iUI interface library for the iPhone. Made development very quick and easy so I suggest anyone interested in iPhone Web Development hop over and give this great collection of JavaScript and CSS functions a look!
Of course, controlling WWWinamp from a mobile device is nothing new as I’m sure most of you have been using the default skin through the iPhone/iPod Touch Web Browser anyways, but this will give your copy of WWWinamp a more ‘iPhone-ish’ feel
This of course is in addition to the already existing mobile skin which I developed for use with my Nokia 6682
The new build of WWWinamp is just a quick bug fix to handle some strange socket behavior caused by Safari trying to switch between Edge and a WiFi connection when trying to access a private IP (such as 10.0.0.1). Previously it would have caused an unhandled exception and WWWinamp would just bite the dust. This has now been fixed and it can gracefully handle Safari’s connectivity issues
Please keep in mind this is the first version of the iPhone skin and it’s still a work in progress. There are currently several features still missing (playlist re-order, and a few others). To use the iPhone skin you must set ALL commands usable by guest, as I haven’t incorporated admin login functionality yet. You can do this in your WWWINAMP.CONFIG file by setting all the commands under the WWWinamp.HTTP.Commands namespace to “true”. Be warned that this will open all functionality of your WWWinamp instance to all users, so be careful if you’re using this on a publicly visible instance of WWWinamp!
I’ve also added an icon so when you add it to your home screen using the new bookmarking functionality in iPhone firmware v1.1.3, it’ll display a cool little WWWinamp icon rather than a screen shot.
I look forward to your feedback!
WWWinamp v4.2 Build 2953 (Beta) – Download (56k)
WWWinamp iPhone Skin v1.0 – Download (39k)
WWWinamp iPhone Compatible Skin — COMING SOON!
Posted by eric in Apple, General Programming, WWWinamp, iPhone on February 1, 2008
Ever since the Apple iPhone was released last year, I was blown away by the multimedia and browser capabilities of it. I started wondering from the get-go about the actual usefulness of a software development kit that only allowed for development of applications in a mobile browser.
It was then announced that the official iPhone SDK which runs natively on the iPhone will be released later this month. So soon you’ll have a host of local applications which will most likely include 3rd party media players. It then dawned on me, if a user could use WWWinamp from the iPhone with an interface that interacted nicely on the iPhone, then someone’s iPhone could act as a remote control from ANYWHERE allowing them access to their home media library.
Well, this is just a heads up that I’m currently working on a skin for WWWinamp that will let it work on the iPhone (better)! Soon you all will be able to control your media center or home copy of WWWinamp from anywhere using your Apple iPhone!
I’m still working on the organizing the data on the screen in a manner that makes sense and is easy to use. All the functionality that comes with the default skin will be included in the iPhone version, including cover art and all the Winamp Playlist functions.
It’s actually pretty sweet controlling Winamp from an Apple iPhone and I hope I can polish this up and put out a beta version this weekend.
I’m still trying to fish up some resources on the WebKit API and the WebKit specific tags to make things integrate nicely.
Keep your browsers posted here for updates in the coming days!
WWWinamp v4.2 Build 2948 (Beta)
Posted by eric in Microsoft .NET 3.0 / WinFX, WWWinamp on January 27, 2008
The new version of WWWinamp has finally arrived!
This version of WWWinamp requires that you have the Microsoft .NET Framework 3.5 installed. You can get this from Microsoft.com by clicking here.
I’m calling it beta because a -lot- has changed behind the scenes and I did my best to test every feature but I might have missed a few bugs here and there. If you’re not comfortable running unstable version of software, then I suggest you install the previous release of WWWinamp v4.1 Build 2809. You can get it from here.
What’s new in this version of WWWinamp?
- [HTTP] Recoded processing of inbound HTTP Requests
- [HTTP] Fixed Defect #46: Processing HTTP Auth header even if one isn’t present
- [WCF] Small Optimizations
- Requires Microsoft .NET Framework 3.5
- Autoupdate Checks for new release on startup of WWWinamp (can be disabled in config)
- Minor UI Fixes
This version of WWWinamp is mostly a code cleanup and conversion to the .NET Framework 3.5. The source code now weighs in at a 300+ lines of code lighter than the previous version, while still maintaining the same functionality. I’m currently working on a Silverlight skin for WWWinamp which interfaces with the WCF endpoint for greater control and seamless use. Expect that to be out in the next month or so… well, perhaps longer
I’m not too good with graphics and UI stuff, so I’ll do the best I can.
I also took the time and added a lot of comments to the WWWinamp CONFIG file. This should help users figure out what each configuration option means and their different settings. Hopefully this should help lower the amount of e-Mail I get from people who are getting errors because WWWinamp isn’t configured properly
Again, this is a BETA version and might not work 100% properly… it could have some personality
But I believe it’s stable enough for release.
Share and enjoy!
WWWinamp v4.2 Build 2948 – Download (56k)
WWWinamp is being converted to .NET Framework v3.5!
Posted by eric in C# Programming, General Programming, WWWinamp on December 5, 2007
Yep, it's true!
I've spent the last week or so playing around with the .NET Framework v3.5 and I really like what I see. Microsoft has also put a lot of work into Team Foundation Server 2008 as well. I've setup a Virtual Machine using Virtual PC here running Team Foundation Server 2008 on Windows 2003 Server R2 and was able to get WWWinamp imported + converted without issue!
WWWinamp in Team Foundation Server 2008
You need to enable javascript to view the content.
Power Thumbnail Powered By CodeXpress.CN
One thing I have noticed is that TFS does take up quite a bit of resources. I had to kick my VM up to 2GB of RAM in order for it to handle and build WWWinamp without hitting the swap file. Something to keep in mind moving forward I suppose. I'd imagine a large installation of TFS would require something along the lines of a Quad Core CPU with at least 4GB RAM.
There are several features in .NET 3.5 that I plan on implementing in WWWinamp right off the bat:
- Object Initializers - This will really help clean up the already massive code base. It'll also speed things up a bit
- Embedded Manifest - A feature I'm surprised they didn't implement with the release of .NET 3.0. Now the .manifest file will be embedded into WWWinamp, so you won't have the extra file handing around if you run Windows Vista
- Extension Methods - Again, this will help clean up the code base and make things faster. I imagine it'll take up a little more memory, but these days RAM is abundant
Now, I see LinQ and I'm trying to figure out it's role in everything. I think it'll make DB communication easier but I'm not a fan of the anonymous data types and implicit local variables. I think it could lead to some sloppy coding methodology if not kept in check.
I think it's handy that you can now run a SQL like statement on a generic, but I'm wondering what sets this apart from the FindAll method that already exists in System.Collection.Generics. It does make it easier though to search through a Generic Collection for a developer who doesn't have a solid grasp on delegates.
So, all that said, things are moving along. I'll keep you all updated on the progress and please, send in those feature requests!
WWWinamp Feedback Requested
Posted by eric in C# Programming, WWWinamp on December 2, 2007
I started tapping away at the WWWinamp source the other night and was curious if there are any features you guys, the users, would like to see added? I've been trying to think up new ideas but I'm not sure if they'd even be helpful.
So basically, I'm asking help for what to put in the next version. If you could leave a comment with any of the following, that'd REALLY help out!
- What feature would you like to see added to WWWinamp?
- Is there any nagging bug or weird behavior you would like fixed?
I'm currently fiddling around with Visual Studio 2008 right now and am looking into the benefits C# 3.5 offers over 2.0, which the current release of WWWinamp is based upon.
Thanks for your feedback and support everyone! I look forward to your responses!






