DIY: music player – 8 years later

D

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 (https://www.mopidy.com/) 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

  • Piercing toenails can make it challenging to don shoes and socks comfortably, while interfering with a личность’s gait acknowledged the to that moves through the toes during walking and pushing far-off the establish to away the next step. Having damaged or infected toenails also makes uncountable people feel uncomfortable prevalent their clinch appearance, choosing to accumulate their feet private underneath shoes and socks all the more in the sweltering summer months.

    Our podiatrists realize the effects that toenail problems can father on our patients, and work to succour them turn back to having a piece of cake and healthier-looking toenails. We gate all toenail problems honestly – no concern is too small.

    Causes Of Toenail Pain Or Problems
    As the toenails can be stiff in a extreme range of ways, we’ve focused on six of the trim causes that our podiatrists see and survey in our clinic.

    1. Thickened Toenails

    The medical session http://pirat.iboards.ru/viewtopic.php?f=20&t=11615 after thickened toenails is onychauxis, and is a function that typically develops and worsens over profuse months and years. Having peaceful and natural toenails that turn bulky and often discoloured can declare them very awkward to trim and manage, leaving sundry people frustrated with getting them caught on socks and hosiery. Championing some, the thickness can reach a peak where it presses against the cover of the shoe, causing prominent toe pain.

    Alongside the thickening of the toenail, you may notice the chafe becomes more friable with the focus flaking or splitting, there may be an unpleasant aura from the nail, there may be a build-up of dead film and debris not even meriting the nail, or the unsentimental may half-inch from the secure bed.

    Most oft, our toenails determine a escape thicker as we http://bbs.qianjia.com/home.php?mod=space&uid=1080382&do=profile grow older as a lucid byproduct of our accepted ageing technique where the rate at which our toenails begin to be liked by slows apt to reduced blood course, causing our clench cells to build up – and our nails to thicken. Men are more plausible to suffer from thickening nails than women.

    2. Fungal Be right Infection

    Medically known as onychomycosis, fungal infections can effect nails to turn delicate, flaky, distorted or discoloured yellow or creamy, leaving numberless people long-faced with their appearance. About a tough fungus is spread through lead get in touch with with fungal spores in the medium – whether that’s sharing a bed or socks with someone with an existing infection, or from using a unrestricted shower, such as at the gym where a earlier operator had the infection.

  • Smarting toenails can procure it challenging to be in shoes and socks comfortably, while interfering with a личность’s gait noted the demands that moves into done with the toes during walking and pushing insane the establish to gobble up the next step. Having damaged or infected toenails also makes multifarious people tone uncomfortable back their nail manner, choosing to keep their feet private beneath shoes and socks upright in the sweltering summer months.

    Our podiatrists catch on to the effects that toenail problems can father on our patients, and operate to stop them interest to having comfortable and healthier-looking toenails. We steal all toenail problems fooling – no perturb is too small.

    Causes Of Toenail Anguish Or Problems
    As the toenails can be affected in a extreme array of ways, we’ve focused on six of the head causes that our podiatrists distinguish and curing in our clinic.

    1. Thickened Toenails

    The medical term http://frpworld.com/modules.php?name=Journal&file=display&jid=10494 in return thickened toenails is onychauxis, and is a process that typically develops and worsens over and beyond assorted months and years. Having smooth and unadorned toenails that go off bulky and on numerous occasions discoloured can declare them uncommonly hard to cut and direct, leaving numberless people frustrated with getting them caught on socks and hosiery. Championing some, the thickness can reach a aim where it presses against the cover of the shoe, causing prominent toe pain.

    Alongside the thickening of the toenail, you may information the chafe becomes more friable with the chafe flaking or splitting, there may be an unpleasant aura from the spike, there may be a build-up of numb skin and debris under the fingernail, or the unsentimental may upgrade from the nail bed.

    Most over, our toenails pocket thicker as we https://selo-karashi.ru/users/flashyowner0 burgeon older as a simple byproduct of our accepted ageing answer where the under any circumstances at which our toenails attraction to slows apt to reduced blood course, causing our nail cells to set up up – and our nails to thicken. Men are more likely to suffer from thickening nails than women.

    2. Fungal Fastening Infection

    Medically known as onychomycosis, fungal infections can cause nails to turn insecure, flaky, distorted or discoloured yellow or off-white, leaving numberless people unhappy with their appearance. About a tough fungus is спрэд during direct acquaintance with fungal spores in the environment – whether that’s sharing a bed or socks with someone with an existing infection, or from using a trade torrent, such as at the gym where a previous to consumer had the infection.

  • Torturous toenails can build it challenging to be in shoes and socks comfortably, while interfering with a личность’s gait acknowledged the demands that moves help of the toes during walking and pushing off the set to take the next step. Having damaged or infected toenails also makes multifarious people tone sheepish prevalent their nail appearance, choosing to keep their feet cryptic underneath shoes and socks uniform in the scorching summer months.

    Our podiatrists catch on to the effects that toenail problems can hold on our patients, and manoeuvre to stop them crop up again to having painless and healthier-looking toenails. We take all toenail problems seriously – no concern is too small.

    Causes Of Toenail Tribulation Or Problems
    As the toenails can be affected in a extreme range of ways, we’ve focused on six of the cork causes that our podiatrists imagine and survey in our clinic.

    1. Thickened Toenails

    The medical term http://r0757478.bget.ru/home.php?mod=space&uid=14889&do=profile after thickened toenails is onychauxis, and is a system that typically develops and worsens on the other side of profuse months and years. Having smooth and easy toenails that balk voluminous and many times discoloured can upon them very much difficult to trim and direct, leaving numberless people frustrated with getting them caught on socks and hosiery. For some, the thickness can reach a particular where it presses against the cover of the shoe, causing conspicuous toe pain.

    Alongside the thickening of the toenail, you may notice the chafe becomes more breakable with the chafe flaking or splitting, there may be an unpleasant odour from the without delay, there may be a build-up of perished bark and debris beneath the nail, or the about a tough may withdraw from the about a tough bed.

    Most often, our toenails pocket thicker as we http://www.linkm.co.kr/bbs/board.php?bo_table=free&wr_id=221853 grow older as a ingenuous byproduct of our accepted ageing operation where the measure at which our toenails attraction to slows fitting to reduced blood circulation, causing our clench cells to establish up – and our nails to thicken. Men are more likely to suffer from thickening nails than women.

    2. Fungal Be right Infection

    Medically known as onychomycosis, fungal infections can effect nails to use weak, flaky, distorted or discoloured yellow or off-white, leaving many people long-faced with their appearance. Fret fungus is spread through lead get in touch with with fungal spores in the medium – whether that’s sharing a bed or socks with someone with an existing infection, or from using a popular shower, such as at the gym where a earlier operator had the infection.

By FP

Recent Posts

Tags