iTunes server running "Home Sharing"


11 posts
by projectraspberrypi » Mon Mar 05, 2012 11:00 pm
My idea for a Project is to use the Raspberry Pi to run iTunes (or equivalent) so that it can stream media to an Apple TV. I have found that NAS units do not perform this function and therefore the only way to use "Home Sharing" is by running a Mac or PC with iTunes running.

It would be great if the Raspberry Pi could perform this, as this is a low cost/low power device. It would easily sit under your television and become the middleman between a NAS box (with music and video stored on it) and an Apple TV.

I realize that Windows doesn’t run on Arm yet but maybe there is a Linux alternative.

I'm not sure if this is possible but I have setup a blog tracking my progress. I would love to hear from anyone with any ideas to assist in my project.

http://projectraspberrypi.wordpress.com/
Posts: 5
Joined: Mon Mar 05, 2012 8:14 pm
by SN » Mon Mar 05, 2012 11:10 pm
mt-daapd

was your answer but I think its dead now - as usual Apple kept changing their standards to squeeze 3rd parties out of their nasty little closed world

I has this running on my nslu2 and all the pc's in the house could see it nicely

maybe the raspi will provoke someone to pick it up again
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by jmg123 » Tue Mar 06, 2012 10:08 pm
check out forked-daapd, it was forked from the last version of mt-daapd, I use it on my NAS box. It's available in the debian repositories
Posts: 21
Joined: Thu Sep 22, 2011 6:39 pm
by projectraspberrypi » Wed Mar 07, 2012 10:18 am
Thanks jmg123 I will give that a go once I have got my hands on a PI.
Posts: 5
Joined: Mon Mar 05, 2012 8:14 pm
by guyhayton » Wed Apr 18, 2012 9:14 pm
I definitely will be investigating forked-daapd when I get my raspi delivered.
I am thinking a nice little box containing raspi and a 1.5TB mobile usb drive with my ALAC based iTunes library.

Streaming all around the house, laptops, apple tv, ipads and ipods
Posts: 1
Joined: Sun Mar 04, 2012 9:06 pm
by theczar » Fri Jun 15, 2012 8:29 pm
I think the issue you're going to run into with forked-daap is that it, along with the other linux solutions I've found does not support "Home Sharing" and thus the Apple TV will not see it. You will be able to see it from other computers running iTunes, just not the Apple TV. Also, I'm pretty sure it only supports audio, no video.

Good luck on your endeavor though. If you are able to get it working, it would be an excellent use for one of these little guys.
Posts: 1
Joined: Fri Jun 15, 2012 8:27 pm
by jeremy_fritz » Wed Jul 25, 2012 5:59 pm
Hi guys,

I'm currently trying to make this "DAAP server" with mt-daapd or forked-daaped.

The pb is that I can't find any source to install it easily with apt-get and I think i'm still too novice to build it.

Does anyone has a solution?
Thanks!
Posts: 21
Joined: Tue Jul 17, 2012 7:04 pm
by nikemen » Wed Aug 29, 2012 5:44 am
Posts: 7
Joined: Wed Aug 29, 2012 5:42 am
by jeremy_fritz » Wed Aug 29, 2012 9:16 am
Thanks! I'm going to see it!
Posts: 21
Joined: Tue Jul 17, 2012 7:04 pm
by jeremy_fritz » Wed Aug 29, 2012 9:36 am
I have a problem at the beginnning, when I have to add new sources.

At the step "sudo apt-get update", I receive this message:

"
Code: Select all
Get:1 http://archive.raspberrypi.org wheezy InRelease [7,701 B]               
Get:2 http://mirrordirector.raspbian.org wheezy InRelease [12.5 kB]       
Get:3 http://backports.debian.org squeeze-backports InRelease [78.5 kB]       
Get:4 http://archive.raspberrypi.org wheezy/main armhf Packages [5,345 B]     
Get:5 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7,333 kB]
Ign http://backports.debian.org squeeze-backports InRelease                   
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB               
Ign http://archive.raspberrypi.org wheezy/main Translation-en                 
Err http://backports.debian.org squeeze-backports/main armhf Packages         
  404  Not Found [IP: 206.12.19.9 80]
Ign http://backports.debian.org squeeze-backports/main Translation-en_GB       
Ign http://backports.debian.org squeeze-backports/main Translation-en         
Get:6 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.3 kB]
Get:7 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [46.5 kB]
Get:8 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [14 B]     
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB       
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en           
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB           
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en             
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB       
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en         
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB           
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7,506 kB in 1min 8s (110 kB/s)           
W: GPG error: http://backports.debian.org squeeze-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/main/binary-armhf/Packages  404  Not Found [IP: 206.12.19.9 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.


It seems to fail with the source "deb http://backports.debian.org/debian-backports squeeze-backports main".

How can I do?

Thanks all
Posts: 21
Joined: Tue Jul 17, 2012 7:04 pm
by jphphotography » Wed Sep 04, 2013 3:34 am
I think the issue might be that there is only an armel branch and not an armhf branch in that repo. I'm still a bit of a linux newbie myself so I can't say for sure.

On the page that nikemen linked to there is a package for armhf
http://www.raspberrypi.org/phpBB3/viewtopic.php?p=387756#p387756
Package link http://gyfgafguf.dk/raspbian/armhf/

I hope that somebody gets this going though because it would be nice for my PiFi project (http://pi-fidelity.blogspot.com)

Best of luck!
Posts: 41
Joined: Mon Jun 18, 2012 7:47 am