Per Malmberg
Everything is possible, including the impossible. It just takes a little longer…
Everything is possible, including the impossible. It just takes a little longer…
Nov 23rd
Call me crazy if you want, but late evenings/nights are usually a very productive time for me; both kids in bed and the wife too – blissfully quiet
Earlier this evening I started to reinstall my wife’s old laptop to use it as a multimedia box with Spoitfy as the player. At first I was planning to control it though remote desktop, but then I thought “can Spotify be controlled remotely?” Unfortunately there is no API available (at least not a public one that I can find) – but it can be controlled using the keyboard locally, which means that it can be controlled from another application.
So I set out writing some test code, and 10 minutes later I am able to control Spotify from my test application. Nothing fancy, really. The fancy stuff will be the ability to control it from the 10″ touch display I’ve got in the hallway – one button to turn on the stereo and ‘press’ the Play-button in Spotify. Another key for stop, back, next etc.
Controlling other applications are not yet supported in MSure, but I do not see any reason it should not be possible to add. The only issue I see is that a Windows service (like MSure) normally cannot interact with a desktop – but I see three solutions to that problem:
Solutions two and three are my favourites, but if either one will work remains to be determined.
Now it’s just a matter of finding the time to do this.
Recent Comments