Wednesday, August 1, 2012

Beta update: SoundCloud, radio, more cloud

Hi!

Yesterday I handed in my thesis report to my supervisor. So now I have finally found the time to wrap up all the changes and new stuff in the alpha channel and moved it into the beta channel for testing.

SoundCloud

This is quite a big change coming. First and foremost I've added support for SoundCloud streaming. It works just as you'd expect: there's a new SoundCloud item in the navigation tree and when you select it you get a list of the currently hottest videos. Type in a search in the search bar and you'll get the 50 most relevant results directly from SoundCloud. You can mix and match local files, YouTube videos and SoundCloud tracks in playlists and the queue.

Internet Radio

There's more streaming! I have also added Internet Radio to Stoffi. You can add radio stations by typing in the URL in the "Add URL" dialog. All radio stations will show up in the new Radio item in the navigation tree. Naturally, you can mix in radio stations in your playlists or queue. Note though that Internet Radio is eternal, so it will never reach the end. But that doesn't mean it's never a good idea to mix it in your queue or playlist. You can queue some local files, some YouTube videos and a pair of SoundCloud track, just to finish off with your favorite radio station at the end.

Playlist synchronization

The new cloud service that got started in a few months back is continuing. I have added playlist synchronization. So now you can setup Stoffi to synchronize all your playlists across computers. Stoffi will automatically add local files if they exist on two computers. For example if you have Bob Marley's One Love on your hard drive and add it to your Reggae playlist, it will show up on all other computers that also have the One Love file. Stoffi looks at the filename and length of the song. So even if the file is located in a different folder Stoffi will find it and add it to the playlist.

File and protocol associations

File associations have finally been properly taken care of in Stoffi. We previously used the built in stuff in Visual Studio's Setup project type. But the problem here was that if the file type was already "taken", Stoffi didn't get a hold of it. So if you had any other application registered for handling .mp3 files, then Stoffi could not associate itself with .mp3 files. Now, Stoffi will present a Windows 7 Task Dialog when you first start it and ask if you want to associate it with all supported file types. You can either accept, skip, or select which associations should be applied.

One of the coolest things with this new association code is that it will also associate Stoffi with some new URL protocols. This means Stoffi can now open some special links on the Internet. So on the website you can now see links to play songs or playlists in Stoffi. I will fully document how Stoffi expects these URLs to look so that other applications or websites can use them.

Plugins

Thanks to Carl Carenvall we have a new and awesome plugin system in Stoffi. This was part of the 2011 Hackathon during last fall but wasn't finished and stable enough until now. But it was worth the wait. We have two plugins already: a basic visualizer which will show a spectrum line, and a Kinect plugin (this was actually my thesis project) which will connect the volume to the amount of dance in the room, so the more you dance, the higher the volume.

The plugin system will be expanded even further in the future. More filter operations will be added, a distribution and upgrade system for plugins will be created, and more documentation will be added like tutorials and example code, so that anyone can get started building plugins.

So get ready for even more plugin goodness in coming updates.

...and even more

I have also fixed a few bugs, added some minor enhancements, and tweaked some stuff. You can now have Stoffi pause at the end of each song, open files in Windows Explorer, and the details pane will now show information when you select navigation items.

The website has also gotten a minor face lift. It has a gray background with white behind the content which should make it easier to focus on the text. The blue and gold has been refined. The gradients are gone and typography is used more around the design. I really like the new design and hope you will too.

I have also added more third party services. You can now login with Windows Live, Last.fm, Weibo, vKontakte, Yahoo, and MySpace.

Test it out

You can download the beta on the website. I have already started to deploy this upgrade to all people running the Stoffi beta so you may have gotten it already. Be sure to test it out, focus on the new stuff, and report all bugs you find as usual.

Thanks!