Now I know that the atv can stream music and stuff shared from a windows/mac using iTunes and home sharing. The box containing the files is however running Linux.

I've tried to setup forked-daapd, which is recognized as a server by all iTunes instances in house, but not by the atv. I've read that this is due to forked-daapd supporting DAAP, but not home sharing.

I've also tried several other DAAP servers for Linux:

mt-daapd (the predecessor of forked-daapd), same story as with forked-daapd.

tangerine. Was recognized by iTunes, but didn't offer any media. Not sure whether the atv saw it, but I don't think so.

spydaap. This didn't work with the latest version of iTunes, which seems to be a known issue

I've also attempted to install the horror that is called iTunes on my pc running Linux, but that failed. It installed, gave a bunch of errors, starts, and does absolutely nothing. It's just a blank screen.

Now I know that normally such a setup would be possible by jailbreaking the atv, and installing XBMC on it. However, the atv3 is not yet jailbreakable, so unfortunately this is not an option for me.

Now my question is, what options do I have. Are there ways to make the atv recognize forked-daapd that I missed, or are there alternatives to forked-daapd that work with the atv? Is there an way to make iTunes run on my system? Is there any other way to stream the media on my Linux PC to the atv?

I've tried several, none of which worked. It's entirely possible there is one that does support home sharing (I hope so!), but I haven't found it yet. Hopefully someone will be able to point me in the right direction if one does exist. I updated the question to note this.
–
MaienMApr 17 '12 at 11:36

10 Answers
10

One clunky solution would be to use virtualbox to emulate a lightweight xp install which would host the itunes software. Create a samba share of your media files on the linux box and map that share to a network drive within the virtual pc, then add that mapped drive to the itunes library on the virtual machine. Its not an elegant solution but at least it would work, and the host machine would still be running linux.

Clunky, far from elegant... but better than nothing, I suppose. I though about this too but I was really hoping there was a better solution out there that I missed. Judging from the silence on that front so far, I might be wrong about that. Either way, thanks :)
–
MaienMApr 19 '12 at 11:57

Setup Apache on the Linux box to serve up the media files and links. (I probably went a bit overboard here and created a PHP app that serves files along with metadata, album art/DVD covers etc as a web page. You wouldn't need to do that to just prove the concept.)

Go to the new webpage on an iPad/iPhones(s) and browse and select music or movies.

When playing the media AirPlay it to the ATV3

One fairly significant point which might make this idea unworkable is that I also had to create a script to repack all my media into H264/AAC MPEG4's so that standard quicktime could deal with it. I had already found this was starting to be nessessary even with a jailbroken ATV/XBMC to take advantage of native video processing acceleration for high def video.

I 'm not sure this is what you're looking for but, the suggestion only works if you use an iDevice to access and control the media on your PC.

OK, I have my Linux Ubuntu PC and a Window 7 PC networked together,
and using my iPad2 or iDevices, I can access all media content over the network thru the media servers I have on both pc's.

These servers are Media Tomb, Serviio for linux and Airplay, iTunes for windows.
Using the apps I have, because each work differently, there maybe 10 ways to access the same files for playback either by airplay or airplay mirroring.
I can also create a playlist in iTunes on windows 7 from the videos on the linux PC, which plays on the ATV2 over the network, just drag and drop from linux to iTunes playist on windows!

Some options are, direct play over network, play thru media servers or playlist in iTunes over network for continuous playback of select videos.
It's a somewhat complex setup but it does work!

In your case, if you're just using a Linux PC, all you need is the Serviio media server for Linux and the Media Connect app for iPhone or iPad!

You should look into installing the plex backend and plexconnect (https://github.com/iBaa/PlexConnect) on your laptop. Once you've installed plex, you change your dns server to that of your laptop and it intercepts the trailers app to play any videos you have in plex.

Installing Hackintosh is often easy as an OS X install (depends on hardware) and for a headless server, the most trouble some drivers aren't important anyways. (sound, graphics). There's no other option for using Home Sharing without iTunes.