Sign in   |  Join   |  Help
Untitled Page

ARCHIVED FORUM -- March 2012 to February 2022
READ ONLY FORUM

This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022

 

Twonky on Raspberri PI for the Moment - a simple guide

This post has 13 Replies | 3 Followers

Weebyx
Top 75 Contributor
Denmark
Posts 1,213
OFFLINE
Bronze Member
Weebyx Posted: Wed, Mar 8 2017 3:26 PM

 

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

Ralf
Top 500 Contributor
Hamburg Germany
Posts 189
OFFLINE
Bronze Member
Ralf replied on Wed, Mar 8 2017 3:42 PM

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

 

Weebyx
Top 75 Contributor
Denmark
Posts 1,213
OFFLINE
Bronze Member
Weebyx replied on Wed, Mar 8 2017 3:57 PM

Ralf:

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

Millemissen
Top 10 Contributor
Flensborg, Denmark
Posts 14,680
OFFLINE
Gold Member

@Jacob

Great - thanks Yes - thumbs up

MM

There is a tv - and there is a BV

mbolo01
Top 50 Contributor
Louannec - France
Posts 2,035
OFFLINE
Bronze Member
mbolo01 replied on Wed, Mar 8 2017 8:49 PM

Weebyx:
but a license comes with the Moment.

What does it mean?

BS Moment, BS Core, BG 4002, BC 4500, BS1, BL18, BL19, BL8000 + RCV1, A6, M5, M3, A1, P6 (tks Botty), H5, TR1

Weebyx
Top 75 Contributor
Denmark
Posts 1,213
OFFLINE
Bronze Member
Weebyx replied on Thu, Mar 9 2017 6:54 AM

mbolo01:

Weebyx:
but a license comes with the Moment.

What does it mean?

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

/Weebyx

TWG
Top 75 Contributor
Posts 1,672
OFFLINE
Gold Member
TWG replied on Thu, Mar 9 2017 8:01 AM

Thank you for that guide!

laseralex
Top 500 Contributor
Posts 240
OFFLINE
Bronze Member
laseralex replied on Mon, Feb 19 2018 9:03 PM

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!

Sources: 2x Beosound Moment • 4x Beosound Essence Mk II
Speakers: 3x Beolab 8000 • 2x Beolab 6000 • 2x Beolab 3 • 3x Beolab 2
Integrated:  1x Beosound 2 • 1x Beosound Level • 4x BeoPlay M5 • 1x BeoPlay A6
Control:  16x* Essence Remote  • 1x Beoremote Halo

* Yes, really! 🤦‍♂️

Beroli
Top 500 Contributor
Germany
Posts 316
OFFLINE
Bronze Member
Beroli replied on Mon, Feb 19 2018 11:01 PM

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

 

DB
Not Ranked
Posts 2
OFFLINE
Bronze Member
DB replied on Sun, Mar 31 2019 7:13 PM

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

 

 

kimhav
Top 500 Contributor
Malmo, Sweden
Posts 314
OFFLINE
Bronze Member
kimhav replied on Wed, Apr 3 2019 5:25 PM

One thing that should be considered is to avoid using SD cards when running with application which might be quite intense on using storage. You might very well have a corrupt SD-card in 6-12 month and there I would recommend making use of disk instead. Take an old SSD disk and attache it using a USB-SATA dongle and you'll avoid such issues including lower power consumption than a standard HDD.

Weebyx
Top 75 Contributor
Denmark
Posts 1,213
OFFLINE
Bronze Member
Weebyx replied on Wed, Apr 3 2019 7:10 PM

DB:

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

 

Hmm, are you running the correct Twonky for your Operating System ? 

I have sold my Moment, so I have not tried this in a very long time. Can you try and download an earlier version and see if that works ?

/Jacob

DB
Not Ranked
Posts 2
OFFLINE
Bronze Member
DB replied on Thu, Apr 4 2019 1:57 AM

Thank you, i replaced the version with the 8.4.1 instead on 8.5.1 and all works.

what are you using instead of twonky i you don’t mind me asking?

Thanks

Diccon

Weebyx
Top 75 Contributor
Denmark
Posts 1,213
OFFLINE
Bronze Member
Weebyx replied on Thu, Apr 4 2019 10:16 AM

DB:

Thank you, i replaced the version with the 8.4.1 instead on 8.5.1 and all works.

what are you using instead of twonky i you don’t mind me asking?

Thanks

Diccon

 

Nothing instead of Twonky :) I sold my Moment...

/Jacob

Page 1 of 1 (14 items) | RSS