iTunes Server or equivalent

Ask questions about Arch Linux ARM. Please search before making a new topic.

iTunes Server or equivalent

Postby hilikustue » Thu Nov 17, 2011 10:21 am

Hello,

I am running Archlinux on a Pogoplug Pro.

I have my iTunes Library on my Mac under iTunes' control obviously.
Now I plan on getting a WD Live TV which can handle the iTunes sharing I believe.
Since I don't want to have my Mac up and running every time I want to listen to music in the living room I was wondering if there is a way to put my iTunes Library on my Pogo and share that to a WD Live TV?
I was thinking I could run rsync once a week on my Mac to update the Library on the Pogo which would be very easy.

I am not sure if that is possible this easy because of the way iTunes organizes the music.

Maybe you guys could help me out on how to do this.

thanks.
hilikustue
 
Posts: 30
Joined: Thu Sep 22, 2011 10:51 am

Re: iTunes Server or equivalent

Postby WarheadsSE » Thu Nov 17, 2011 2:01 pm

Pretty in depth, you just have to adjust for it being non-debian based: http://www.maclife.com/article/howtos/b ... c?page=0,1

http://krook.net/archives/169

Hell, even a MAKE article: http://blog.makezine.com/archive/2007/0 ... erver.html

Essentially: AFP, Avahi & likely Firefly (mt-daap)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: iTunes Server or equivalent

Postby clockworx » Sun Apr 01, 2012 2:12 pm

I'm going through the same issue. mt-daapd/Firefly is the basis for the articles above, but has been abandoned years ago and is no longer compatible with current iTunes services.

It's successor, forked-daapd is available on yaourt but won't compile. (forked-daapd and forked-daapd-git are both available, with the former also being far out of date).

libdmapsharing looks like another possibility for the same purpose. There is a package for the library, but you need a server that implements the media library, with libdmapsharing doing the actual sharing. There's a reference server here:

http://www.flyn.org/projects/dmapd/index.html

which I was able to download and compile, but it dumps a few warnings/errors followed by a segfault. There are also apparently media players that work with libdmapsharing, but I don't have a GUI installed (yet) and most of them are GUI based from what I've seen.
clockworx
 
Posts: 4
Joined: Sun Apr 01, 2012 1:48 pm

Re: iTunes Server or equivalent

Postby WarheadsSE » Sun Apr 01, 2012 4:26 pm

If this is on an armv5te board, check the build flags, and you might need to switch the mach to armv5t from armv5te .. some packages don't compile nicely for aligned pages.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: iTunes Server or equivalent

Postby clockworx » Sun Apr 01, 2012 5:04 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f this is on an armv5te board, check the build flags, and you might need to switch the mach to armv5t from armv5te .. some packages don't compile nicely for aligned pages.



Oops, should have mentioned my platform, but it appears that it's already passing in armv5te.


$this->bbcode_second_pass_code('', '
configure:3215: checking whether we are cross compiling
configure:3223: clang -o conftest -march=armv5te -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -
D_FORTIFY_SOURCE=2 conftest.c >&5
clang: warning: argument unused during compilation: '--param ssp-buffer-size=4'
error: unknown target CPU 'arm1026ejs'
configure:3227: $? = 1
configure:3234: ./conftest
./configure: line 3236: ./conftest: No such file or directory
configure:3238: $? = 127
configure:3245: error: in `/var/abs/local/yaourtbuild/forked-daapd-git/src/forked-daapd-build':
configure:3247: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
')

uname shows

$this->bbcode_second_pass_code('', 'Linux alarm 3.1.10-6-ARCH #1 PREEMPT Wed Mar 21 03:41:04 UTC 2012 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux')

so I think it's matched up, but I wouldn't trust my knowledge as the final word :?
clockworx
 
Posts: 4
Joined: Sun Apr 01, 2012 1:48 pm

Re: iTunes Server or equivalent

Postby WarheadsSE » Sun Apr 01, 2012 6:09 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f this is on an armv5te board, check the build flags, and you might need to switch the mach to armv5t from armv5te .. some packages don't compile nicely for aligned pages.

also I've not heard of that either. arm926ejs, yeah.$this->bbcode_second_pass_code('', 'unknown target CPU 'arm1026ejs'')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: iTunes Server or equivalent

Postby clockworx » Sun Apr 01, 2012 6:25 pm

Googling turned this up:

http://opensource.apple.com/source/clan ... in.cpp?txt

$this->bbcode_second_pass_code('', '
/// getARMTargetCPU - Get the (LLVM) name of the ARM cpu we are targeting.
//
// FIXME: tblgen this.
static const char *getARMTargetCPU(const ArgList &Args,
const llvm::Triple &Triple) {
// FIXME: Warn on inconsistent use of -mcpu and -march.

// If we have -mcpu=, use that.
if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
return A->getValue(Args);

llvm::StringRef MArch;
if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
// Otherwise, if we have -march= choose the base CPU for that arch.
MArch = A->getValue(Args);
} else {
// Otherwise, use the Arch from the triple.
MArch = Triple.getArchName();
}

if (MArch == "armv2" || MArch == "armv2a")
return "arm2";

....

if (MArch == "armv5" || MArch == "armv5t")
return "arm10tdmi";
if (MArch == "armv5e" || MArch == "armv5te")
return "arm1026ejs";

.....
')

but I'm not sure how that can help in resolving the issue.
clockworx
 
Posts: 4
Joined: Sun Apr 01, 2012 1:48 pm

Re: iTunes Server or equivalent

Postby WarheadsSE » Sun Apr 01, 2012 11:41 pm

Well, that is the problem.. because they should read what I stated. Good news is that it properly accepts armv5te :)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: iTunes Server or equivalent

Postby dburnett » Tue Feb 26, 2013 9:43 pm

Hello Forum,
I too am trying to get an iTunes webserver up and running on my Pogoplug. I have investigated rhythmbox, mt-daapd/Firefly, and forked-daapd. According to many forums, these are now defunct-- incompatible with the most recent iteration of iTunes from Apple. Luckily, I came up with a workaround solution by setting up a samba server share that is accessible from iTunes. Nevertheless, it would be great to have a server share recognized by iTunes as a library available on my windows network [like the Apple Bonjour service]. Any suggestions would be very much appreciated. Thanks.
dburnett
 
Posts: 3
Joined: Mon Nov 19, 2012 5:10 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests