Twonky on Raspberri PI for the Moment - a simple guide

14 replies

 

Hi All

This is quite a long thread, but I decided to try and get Twonky running on a Raspberry PI 3. The only thing it will be doing is serving the Moment with my CD's ripped via iTunes in Apple Lossless format.

Here is what I did.

1. Bought the Pi including a case and a 32GB micro SD card, and put it together.

2. Downloaded the Raspbian image with GUI from

https://www.raspberrypi.org/downloads/raspbian/

and followed the installation guide regarding writing the image here

https://www.raspberrypi.org/documentation/installation/installing-images/README.md

3. After that it was only a matter of connecting the PI to mouse/keyboard/monitor and inserting the SD Card, and power it up.

4. After it has started, I configured it to connect to my Wi-Fi, and enabled SSH to be able to transfer my music via SFTP later.

If you do not change the standard password for the PI user, then you will get a warning on every startup

 

 

5. Now it is time to install Twonky, so create a folder for Twonky and set the permissions so you can extract files to it later.

 

 

6. Download Twonky for Raspbian and extract the files to the newly created folder.

7. Twonky need to have the correct access to the files, so change that.

 

8. Try to start Twonky and see if it actually works. Check it by opening a browser on the PI and go to http://127.0.0.1/9000/webconfig

9. If all is well, configure Twonky to start automatically when PI starts up. Edit the file /etc/rc.local with the nano editor

To exit the editor and save the file press ctrl x, y, enter.

10. Reboot the PI and go to your Moment and verify that the DLNA server shows up on the Moment. After a while it will fish processing and find no content.

 

11. Configure Twonky to look for music in the pi users home library.

 

12. Connect to the PI via SFTP and transfer your music the the folder configured on Twonky.

 

13. Verify that the music is available on the Twonky server.

 

14. Give the Moment some time and see that your album now is ready to play :)

 

Now it is just a matter of copying the rest of the music the the PI and sit back and enjoy DLNA music from a small and energy efficient computer :)

/Jacob

Nice Howto,

Twonky for rasbian is free - is it?

Your /usr/local/Twonky still has 777, i would change this to 755 or chown.

Ralf

 

Ralf wrote:

Nice Howto,

Twonky for rasbian is free - is it?

Your /usr/local/Twonky still has 777, i would change this to 755 or chown.

Ralf

Nope, it still needs a license, at least for the 8.4 version, but a license comes with the Moment.

Yes, you are right, should have changed it to 755 :)

/Jacob

@Jacob

Great - thanks 🤒

MM

Location: Flensborg————Danmark

Weebyx wrote:
but a license comes with the Moment.

What does it mean?

Location: Brittany - France

My B&O Icons:

Beoremote-Beo4.png Beoremote-Beo4.png
Beotime.png Beotime.png
Beosound-Moment.png Beosound-Moment.png
Beoplay-P6.png Beoplay-P6.png
Beoplay-M5.png Beoplay-M5.png
Beoplay-M3.png Beoplay-M3.png
Beoplay-H3.png Beoplay-H3.png
Beoplay-Beosound1.png Beoplay-Beosound1.png
Beoplay-A6.png Beoplay-A6.png
Beoplay-A1.png Beoplay-A1.png
Beomaster.png Beomaster.png
Beolab-18.png Beolab-18.png
Beogram-400x.png Beogram-400x.png

mbolo01 wrote:

Weebyx wrote:
but a license comes with the Moment.

What does it mean?

You get a licence key for twonky when you buy a Moment.

/Weebyx

Thank you for that guide!

Thanks so much for this write-up!  I'm now happily running Twonky on a Raspberry Pi and my Moment is streaming nicely.  I love that the PI and its solid state memory require almost no power to run.  Fantastic!

My B&O Icons:

Beosound-Stage.png Beosound-Stage.png
Beosound-Moment.png Beosound-Moment.png
Beosound-Level.png Beosound-Level.png
Beosound-Essence.png Beosound-Essence.png
Beosound-Balance.png Beosound-Balance.png
Beosound-A5.png Beosound-A5.png
Beosound-2.png Beosound-2.png
Beoremote-Halo.png Beoremote-Halo.png
Beoplay-M5.png Beoplay-M5.png
Beoplay-Earset.png Beoplay-Earset.png
Beoplay-A6.png Beoplay-A6.png

this is a really thorough manual. I used a first generation raspberry pi more than 2 years ago as a Twonky-Server (called it TwonkyBerry) and pointed the Server to the Music on my Synology-Nas. I connected a external USB-drive including my music collection to the Pi. In the end, the Pi was to slow to serve 28 k of tracks to the BS-Moment. The connection was not stable enough, experienced time outs and the Moment could not access the content - thats why it trashed the idea. The USB 2 port was to slow too. I bought a macmini and it still drives me crazy, having such power consuming, expensive device just as a TwonkyServer for the Moment. It is great to know, that you are running a working setup. You have copied your music collection on the micro-sd. What version of the Pi are you using. How responsive is the pi now and how much time took it to harvest the content with the Moment. How many tracks the Pi is serving?

For the upcoming expert-mode, I would recommend to create a folder BEOARTISTS and put in square (600x600) photos from the missing Artist-tiles and set the Photo section of the TwonkyBerry too, then you will have all Artist tiles neat and clean.

Cheers Beroli

 

Thank you for this guide.

I have followed it with the latest version of Twonky and cannot get it to start. After running the twonkystarter I get

bash: usr/local/twonky/twonkystarter: cannot execute binary file: Exec format errro

any help greatfully received.

 

thanks

 

 

or
BeoWorld Gold Membership card
Join BeoWorld

Register to access the forums, reference material, and exclusive member benefits — including our monthly prize draw.

Become a Member

December 2026 Prize Draw

Gold Members Only

As a Gold member you're automatically entered into our exclusive prize draw — your chance to win iconic Bang & Olufsen products. A unique benefit of BeoWorld Gold membership, every draw brings a new opportunity to win something special.