Posted in Computers on Friday 18th March 2005 at 9:38pm


A little while back, my first delve into C# code was to try to persuade Muine to output the currently playing song via a signal from the command line, for use in XChat "now playing" scripts and suchlike. I almost got things working how I wanted, but my haphazard approach was flawed and I've long since abandoned the attempt.

So I was extremely pleased to find muine-shell which achieves exactly what I wanted and more rather elegantly, via clever use of DBus. First project was to adapt a script to post the current song Muine was playing to my website. Obviously if I'm not playing anything, it won't appear, so here is a screenshot:

Example of 'Now Playing' display

Some rough edges to knock off here - replacing the cover image with a default when the album has no cover for example. Fun to play with for an afternoon, and even more pointless personal information now available via this site!

 


Lost::MikeGTN

I've had a home on the web for more years than I care to remember, and a few kind souls persuade me it's worth persisting with keeping it updated. This current incarnation of the site is centred around the blog posts which began back in 1999 as 'the daylog' and continued through my travels and tribulations during the following years.

I don't get out and about nearly as much these days, but I do try to record significant events and trips for posterity. You may also have arrived here by following the trail to my former music blog Songs Heard On Fast Trains. That content is preserved here too.

Link to Instagram MikeGTN's Twitter SHOFT Facebook Page Lost::MikeGTN RSS Feed

Navigate Lost::MikeGTN

Find articles by category
Find articles by date

Search Lost::MikeGTN