DIY: music player – 8 years later


I like music. Few years ago around (2010) I wanted something to play music from the big speakers in the living room. Using a cord was an option but it was also something that I wanted to avoid. So I did some quick and dirty solution which was a Windows Media Player DLNA streaming to Xbox 360. I proudly demonstrated this to a friend. He commented something along the lines:
“So in order to listen to music wirelessly, you need to power on your 100W computer and 150W Xbox? I’ll stick to radio”
I was trying to defend my approach but in fact he was right, it was a clumsy and very energy consuming solution. I needed something more elegant.

First approach

At the time I was fiddling with OpenWrt router to share printer and disk locally. I already got a router with USB port and linux installed on it.
So the idea was quite simple: router + USB audio card  + some linux music player software (MPD). This time it was energy efficient, router was drawing 5W at most and I could control it remotely.
But still I was not completely satisfied, the CPU and RAM resources were too limited on a router, because of this the MPC client was slow in response and I wanted this solution to be more versatile, so not only you could play a music from a NAS HDD, but also using DLNA media player if you wish. Another problem was some audio specific packages for OpenrWrt were not functional, at least on my router. Probably they were not built for this particular CPU architecture or had some other inner dependencies. It was already taking too much time to dig into the details. Some radio streams were already taking too much resources of a router (sound was choppy) + the UI was quite unresponsive. It was clear that this functionality has to be moved to separate hardware. So…

Second approach

I wanted to use something that I already had at my disposal. Luckily I had a Samsung Galaxy S smartphone with a broken GSM module. Resource wise it was more than I needed. CPU was a proper 1Ghz ARM + 512MB of RAM and a lot of disk space (the router had like 480Mhz CPU + 128MB of RAM). To make it “easier” I chrooted into ubuntu on a phone. It basically means that alongside Android full linux distro was running (using the same kernel which is underneath).

I enabled ssh on it, and from then on I could move forward with my project.
I used mopidy ( for web ui frontend. Now I was able to use Spotify (among others services like Google Music or Soundcloud)
all the radio streaming were working without a hiccup. It had a proper web UI client. Also I managed to play music through DLNA (although it needed some debugging and a pull request to mopidy code base).

Third approach

Although the solution was working, but it still had this beta feeling. Mopidy had it’s own little problems here and there.
From time to time I had to ssh and restart services manually. Some of my problems could be because of funky chroot approach. I didn’t had time or will to polish it to last detail.
I was really thinking about buying some ready made solution which started to show up on the internet at reasonable prices. I was so close to buy ROCKI, but thankfully I didn’t (it’s already dead) because Chromecast Audio was announced. It was a ready made solution with a promise of long support. Not to expensive and it had support for a lot of services.
I bought it the same day it became available in Germany.
After more than 4 years, we still use it every day (mainly for Spotify or TuneIn). It’s a fire-and-forget type of solution which is not causing too much problems, also it looks like googles cast idea is supported by more and more services.
At the beginning of 2019 we also bought Google Home Mini which made the experience even better.

The retrospective

Back then (2010ish) a lot of us were still very tied to a locally stored mp3 collection and did not understand the need for anything else. If you wanted to play some music on big speakers you just plugged in your computer or mp3 player and that was all you needed.

What initially was a small DIY project became something used on daily basis. As other flat mates started to use this solution it also became a burden to maintain it.
Almost 5 years passed between first approach and buying a chromecast. I probably spent more man-hours on this project than it would cost me to buy a ready made solution back in 2010. On the other hand, sometime around 2012 I had a chance to play with some full-blown (Bose?) solution which – in my opinion – also didn’t felt right (user experience wise, sound was great).
Maybe it was because music listening medium was changing and nobody knew exactly which horse will win so they were betting on all of them (local mp3 files/DLNA/radio streaming/early streaming services) making the experience more or less bad.

Was it worth it?
As with every DIY project: it should be fun + you will learn along the road anyway + there is small chance of making money out of it.
From sentence above everything beside money was met. I don’t regret it.

About the author

Add comment

  • We instanter premonish you: in this article we talk about the hellish side of the Internet. It is subfusc because people there finger honesty and impunity and therefore incline to confine crimes. It is shameful to allocate crimes, but a thief should be in prison.

    But to the point.

    It is principally accepted that there are three types of the Internet:

    unmistakeable internet. We revile here every day. These are ordinary sites: societal networks, search engines, forums and the website of the Traditions magazine. All of them are in the partition of the visible Internet. Any life-and-death message can be found sooner than keywords, because bordering on all sites are indexed through search robots.

    Absorbed Internet. These are the sites whose import is not included in the search results: this is a huge excellent of sites in behalf of employees, closed databases and other benefit pages. Technically, they can be accessed via the Internet, but in return this you need to have knowledge of the username and password. There is nothing illegal in them, but you cannot sick with there without unorthodox access.

    Darknet. A hidden network within the internet that is not clear via accustomed means. It works on the unchanging principles as the TOR network, you can at best get into it through TOR. This network was exclusively created covert and anonymous so that no one could back up censorship or restrict the activities of participants.

    The crux of the sinister интернет is anonymity, but the network itself does not automatically stand behind anonymity. To conform with it, using TOR solitarily is not enough. A person can fly some data about himself on the forum, which can over his genuine identity, or download a Trojan that on follow him. In this regard, the darknet is completely the same as the regular Internet – the more evidence you delivery all round yourself, the easier it is to physique you out.

    How it works
    This is most commonly accessed through the Tor browser, so most sites on the doleful web are located in the .onion pseudo-domain. Pseudo-domain means that in happening there is no such territory on the Internet, but they can be accessed contents the black web.

    In behalf of standard, if you begin the talk to in a customary browser, you will seize an typographical error because the DNS servers don’t be informed how to hold this domain. And if you enter the still and all address into the Tor browser, the HiddenWiki window will occur – Wikipedia for the dark web. There is nothing forbidden in it, it valid tells you where to decamp if you are on the dark web in favour of the maiden days t45t66


Recent Posts