About Me · Send mail to the author(s) E-mail · Twitter

At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.

Feed Icon


Open Source Projects


Blogs of friends

Now playing [?]

Error retrieving information from external service.
Previous Page Page 2 of 2 in the Music category

Musik zur Arte-Reportage "Expedition ins Gehirn"

Posted in General | Music at Friday, 28 April 2006 18:55 W. Europe Daylight Time

Es gibt neben meiner Verwandschaft sicherlich weitere Menschen, die die Hintergrundmusik der dreiteiligen Arte-Reportage "Expedition ins Gehirn" toll finden. Marci und ich haben den Titel bereits beim Ansehen der Reportage als bekannt eingestuft. Heute haben wir im Schnelldurchgang die Musikkollektion von Tosca, Lemon Jelly über Lemongrass gescannt und sind schließlich bei Boozoo Bajou fündig geworden. Es handelt sich um Track 6 auf dem Album "Satta", er trägt den Namen "Down & out" (RealMedia-Hörbeispiel von Amazon).

Boozoo Bajou - Satta

Now playing: Boozoo Bajou - Satta - Down & out :-)

New music

Posted in Music at Saturday, 27 August 2005 16:21 W. Europe Daylight Time

Some artists/albums I discovered recently and I would like to share:

Audio Lotion - Advanced Skin Care
Audio Lotion - Advanced Skin Care
Esbjörn Svensson Trio - E.S.T. Live 95
Esbjörn Svensson Trio - E.S.T. Live 95
Kid Loco - A grand Love Story
Kid Loco - A grand Love Story

Now back to "learning by doing"... I've got two exams scheduled next week.

Now playing: Kid Loco - A grand Love Story - She woolf daydreaming

Now Playing 1.0

Posted in Music | Now Playing at Tuesday, 16 August 2005 23:25 W. Europe Daylight Time

I am a lazy person. As a (every?) developer I want to relieve users from cumbersome tasks that recur often enough to justify an automated solution.

So it is with the cumbersome assembly of the "Now Playing" line on the end of each post I introduced in my first blog entry. I want to let it consist of the following elements:

  • A prefix, "Now Playing: " in my case,
  • The artists of the currently playing track,
  • The album (if any) of the currently playing track,
  • The title of the currently playing track.

The artists fragment should be linked to Music-Map as this service shows a nice overview of artists/bands other people liked - a great way to figure out if you may like that kind of music. The album part should be linked to Amazon so you can dig into the details of the CD and listen to samples. Links should only be added if there's such information available, of course.

The three times I've put together the "Now Playing" line manually showed me that this is definitely such a recurring task. After two days Now Playing 1.0 is ready for take-off. It tells my favorite music player to get the aforementioned info of the currently playing item, queries Music-Map and Amazon's Web Services for the links and assembles the resulting HTML markup.

The application is entirely written in C#. For pulling the track info out of the music player there were little tricks needed: Winamp doesn't support giving the info to out-of-process components so a plugin would be the easiest way to retrieve the info and hand it over to another application through some IPC mechanism. In contrast to that, my goal was to create a solution that's not depended on plugins. After some research I found that VirtualAllocEx() is able to reserve memory in a foreign process. ReadProcessMemory() and WriteProcessMemory() are the functions to manipulate such a memory region. All I needed to do was to set up the query structure in such a way that it resides in Winamp's address space and send the query-track-info message to its main window. Winamp happily writes the desired results into "my" memory in its own address space. After reading them and freeing the block of memory I can go on with the web queries.

As always when working with Platform Invoke, and their VS.NET Add-In was a great help.

DownloadDownload the binaries. Have a look at the NowPlaying.exe.config file as you will need to enter you Amazon Developer Subscription ID (create one here). The string/HTML fragments are stored there too.

Here's the result of the first usage in production mode:

Now playing: Aimee Mann - Lost in space - Lost in space

Previous Page Page 2 of 2 in the Music category