volumio on raspberry pi 2 with album art

I have received a hifiberry daughterboard for the great raspberry pi 2 which makes it put out really nice audio. Now MPD is not featuring local cover art unless you run a webserver to tell it where to look for it.

Now here is how to tell the built in webserver to add a subdirectory that finds cover art (if you follow convention to sort your albums.

This information was compiled by Rowar from the RaspiFy forums before it was called volumio
but it works fine here with mpdroid and mPod

thank you, Dude! :)

Continue reading

Android round three

so the phone decided to erase and reinstall itself after it could not decrypt its flash storage.
While awesome from a security point if view I would really have liked to know what exactly caused this.

but then again, the amount of tinkering possible with this phone (Android 5.0.2 + cyanogenmod) is stunning and keeps amazing me.

conclusion: Not suitable for business (immature/confusing) but wonderful and confusing and time-consuming (just like every Linux distribution ever)

Android round two

I got myself a onePlus one Android Phablet and while totally in love I must say I will go back to iPhone because:
– Ads. Seriously.. I HATE ads. I will pay you to make ads disappear
– CalDAV/CardDAV support by Apple since iOS 7
– integration of owncloud now, too
– bugs, irregularities, crashes.
– lack of integration of apps into the system

so the only thing left is the tinkering – which is lovely. Cyanogenmod is wonderful!

but I want to get things done and not be busy all day adjusting and tweaking and it’s been three weeks now and I am still not at a level where I can say “this is good”

raspberry pi ftp server (vsftpd)

assuming raspbian
– apt-get install vsftpd
By default vsftpd is configured for anonymous access with read-only permissions. We’re going to change things so that it requires you to authenticate with a local user. Let’s open the configuration file.

sudo nano /etc/vsftpd.conf

We want to change or uncomment the following values.

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=YES
user_sub_token=$USER
local_root=/home/$USER/ftp

After that restart the vsftpd service. Now we need to create a couple folders in your local user’s home folder. The ftp folder will be the root when you connect. The way vsftpd works, the root is not allowed to have write permissions on it, so we’ll create a sub-folder inside the root called files which our local user will be allowed to write to. This is where you’d upload/download files from with an FTP client.

mkdir /home/andreas/ftp
mkdir /home/andreas/ftp/files
chmod a-w /home/andreas/ftp

Now you should be able to connect to your from any FTP client and start uploading/downloading files.