Henrik Carlsson's Blog

All things me.

posted this note on and tagged it with snapshots

Okay, let’s give this a try then!

Replies and comments

posted this note on

Den som förespråkar liberal frihet förväntas ofta visa att detta resulterar i att människor väljer klokt och resultatet blir gott. Men människor måste också vara fria att fatta svåra beslut och ta risker.

Mattias Svensson: Friheten är allt annat än enkel – DN.SE

posted this note on and tagged it with The Kid's Music Player ΠiFi Music Player

I made a slight mistake in a previous post. There needs to be two lines in the terminal to play from Spotify:

And yes, things are progressing nicely now.

posted this note on and tagged it with snapshots The Kid's Music Player ΠiFi Music Player

Right now is my favorite time of the year.

The kids are asleep after a long day of playing in the sun and I’m sitting on the deck, programming and blogging.

posted this note on and tagged it with The Kid's Music Player ΠiFi Music Player

Apparently it’s more or less impossible to install additional software on an instance of Pi MusicBox, so I’ll try to get Mopidy working on a ”vanilla” Raspian Lite instead.

posted this note on and tagged it with snapshots The Kid's Music Player ΠiFi Music Player

My somewhat ridiculous setup for listening to music outdoors today; a Raspberry Pi running PiMusicBox and Spotify Connect connected to an external speaker and being powered by a power bank.

posted this note on and tagged it with Mario Maker 2

I’ve just uploaded my first Mario Maker 2 course. Feel free to check it out at 2DR-HVB-FRF!

posted this note on

↪️ Reply to: Eating Alone

Replies and comments

posted this note on

Cortex #16: Structural Trust – Relay FM

This made me literally laugh out loud!

More progress on the music player for the kids

posted this note on and tagged it with The Kid's Music Player ΠiFi Music Player

Slightly simplified the music player for the kids has two jobs:

  1. Scan for QR codes using the camera and identify the ones that contains a Spotify URI (using zbarcam) and
  2. send that URI to the MPD that plays the music from Spotify.

At the moment I am able to set up separate tests for the two jobs and both works, on there own. The problem is that I’m currently not able to set up MPD with Spotify and the zbar tools at the same time. It seems to have something to do with different operating systems and/or other kinds of conflicting requirements that I need to lock into.

For the tests right now, I use standard Raspbian plus zbar for bullet point number one and Pi MusicBox for point number two.

For my own memories sake, this is the very simple (and probably quite brittle) shell script that I’m using for bullet point 1:

Replies and comments