LinHES Forums
http://forum.linhes.org/

HowTo: Add support for iTunes, iPods, etc...
http://forum.linhes.org/viewtopic.php?f=3&t=17265
Page 1 of 1

Author:  nharris [ Fri Nov 16, 2007 12:55 pm ]
Post subject:  HowTo: Add support for iTunes, iPods, etc...

Add support for those of us with iTunes, iPods, iMacs and such.

Install Avahi to add Rendezvous support.

reference: http://avahi.org

Code:
apt-get update
apt-get install avahi-daemon
update-rc.d avahi-daemon defaults


Install Firefly Media Server (aka: mt-daapd) to serve your iTunes library.

reference: http://www.fireflymediaserver.org and http://wiki.mt-daapd.org/wiki/Quickstart_Debian

Code:
apt-get install libsqlite0
wget http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd_0.9-svn-1696_etch_i386.deb
dpkg --install mt-daapd_0.9-svn-1696_etch_i386.deb
update-rc.d mt-daapd defaults

edit /etc/mt-daapd.conf and modify this line:
Code:
mp3_dir = /myth/music


Get script to import iTunes XML library playlists into the MythTV music database.

reference: http://www.psicat.com/Nathan/KnoppMyth.html

Code:
cd /myth/music
wget http://www.psicat.com/Nathan/downloads/mythtv-itunes.pl


Your might want to rsync your entire iTunes directory to /myth/music (that's what I'm currently doing). Or, you could just move the whole iTunes directory there and use samba or NFS to mount it on your iMac/PC.

Author:  Too Many Secrets [ Fri Nov 16, 2007 1:59 pm ]
Post subject: 

This looks nice and detailed. Just wondering if you could expand on it usage? I looked at the links, but I'm missing the application. Currently I just samba share my music to a windows laptop which runs iTunes, to sync my iPod. Would the above eliminate the need for a win box?

Author:  nharris [ Fri Nov 16, 2007 3:22 pm ]
Post subject: 

Too Many Secrets wrote:
This looks nice and detailed. Just wondering if you could expand on it usage? I looked at the links, but I'm missing the application. Currently I just samba share my music to a windows laptop which runs iTunes, to sync my iPod. Would the above eliminate the need for a win box?


To answer your question, no this will not eliminate your win box. However, you may want to look at GtkPod (http://www.gtkpod.org), YamiPod (http://www.yamipod.com) and such if that is what you are looking for.

I have multiple KnoppMyth boxes around the house (1 backend, 2 frontends). My wife uses our iMac with her iPod and all our music is in iTunes (AAC format). I wanted to be able to play all the music via MythMusic in all rooms. That is what inspired the Perl script hacking. I found an old script that only worked on 0.19 and updated it and added some extras (so I can add the same playlists to all my MythTV hosts). Currently, I keep the master music library on the iMac and just rsync periodically to my backend. However, I may just NFS mount the backend from the iMac in the future and keep everything there. For now, it's nice having two copies of everything for a backup.

From there, I wanted to be able to share my music library on the backend so I can listen remotely and via WiFi (laptop, etc...). I tried SlimServer, but it does not handle AAC well. Firefly/mt-daapd works great. The web site claims the Roku SoundBridge is supported. I'm not sure if you could listen on an AppleTV, iPod Touch or iPhone via WiFi... if anyone has these devices it would be interesting to see. However, I would bet they don't support DAAP (just sync).

Author:  jigawho [ Wed Dec 05, 2007 10:54 pm ]
Post subject: 

On the topic of ipod/itunes integration, has anyone come across a program to allow a linux box to act as remote speakers for itunes? What I'm thinking of is sort of the reverse of mt-daap where the music is on my computer, but able to be played over my stereo speakers. A few months ago I looked into it and didn't find anything, just wondering if anyone had heard of a project of this kind.

Author:  coolpk [ Mon Dec 17, 2007 4:05 am ]
Post subject:  Re: HowTo: Add support for iTunes, iPods, etc...

nharris wrote:
Code:
wget http://nightlies.mt-daapd.org/dl.php?FILE=mt-daapd_0.9-svn-1696_etch_i386.deb
dpkg --install mt-daapd_0.9-svn-1696_etch_i386.deb
update-rc.d mt-daapd defaults



This is exactly what I have been looking for. However, while installing mt-daapd I got the following error:

Code:
Selecting previously deselected package mt-daapd.
(Reading database ... 85837 files and directories currently installed.)
Unpacking mt-daapd (from mt-daapd_0.9-svn-1696_etch_i386.deb) ...
dpkg: dependency problems prevent configuration of mt-daapd:
 mt-daapd depends on libsqlite0 (>= 2.8.17); however:
  Package libsqlite0 is not installed.
dpkg: error processing mt-daapd (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mt-daapd


Looks like libsqlite0 is needed. How does one go about getting it?

Thanks much for your wonderful work.

BTW, I am using R5F27.

Author:  nharris [ Mon Dec 17, 2007 7:36 am ]
Post subject:  Re: HowTo: Add support for iTunes, iPods, etc...

coolpk wrote:
Looks like libsqlite0 is needed. How does one go about getting it?

Thanks much for your wonderful work.

BTW, I am using R5F27.

Sorry about missing that step. You will need to do the following before you install mt-daapd.

Code:
apt-get update
apt-get install libsqlite0


Glad to hear someone else is using this kind of setup too.

Author:  nharris [ Fri Jan 18, 2008 10:14 am ]
Post subject: 

In case anyone is interested in sharing their iTunes library via UPnP, check out my HOWTO on updating FUPPES.

http://www.knoppmyth.net/phpBB2/viewtopic.php?p=105842

Author:  Ravenium [ Sat Jan 19, 2008 12:57 pm ]
Post subject: 

jigawho wrote:
On the topic of ipod/itunes integration, has anyone come across a program to allow a linux box to act as remote speakers for itunes? What I'm thinking of is sort of the reverse of mt-daap where the music is on my computer, but able to be played over my stereo speakers. A few months ago I looked into it and didn't find anything, just wondering if anyone had heard of a project of this kind.


I've been looking for the exact same thing. Sadly the only projects I've found (Pinhead, Fairtunes) seem to have disappeared.

Author:  coolpk [ Wed Jan 23, 2008 12:30 am ]
Post subject:  mythtv-itunes.pl

I downloaded mythtv-itunes.pl from your website. However it gives me errors on all the files saying "Could not map (is this mp4?): .... ". What am I doing wrong. I changed the $mythtv_playlist_host to "mythtv". Is this correct? When I check Myth Music, the playlists seem to be created but it can't find the actual songs. I think somehow I am not giving it the right pointer to the actual mp3 files referenced by the playlist. Any suggestions?

Thanks.

Author:  nharris [ Wed Jan 23, 2008 2:36 pm ]
Post subject:  Re: mythtv-itunes.pl

coolpk wrote:
I downloaded mythtv-itunes.pl from your website. However it gives me errors on all the files saying "Could not map (is this mp4?): .... ". What am I doing wrong. I changed the $mythtv_playlist_host to "mythtv". Is this correct? When I check Myth Music, the playlists seem to be created but it can't find the actual songs. I think somehow I am not giving it the right pointer to the actual mp3 files referenced by the playlist. Any suggestions?

Make sure you have the entire iTunes directory structure preserved. Once you have all the music under your /myth/music/iTunes subdirectory, you will need to scan for music from the MythTV frontend (under setup, I think). After this is done, try running the script again.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/