Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: itunes daapd windows server (Read 12122 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

itunes daapd windows server

i have downloaded, installed and sucessfully configured windaapd
the share shows up in iTunes(4.7) but when i try to browse it, i just get kicked back to library. i have poked around on the net and discovered that 4.7 doesn't work with that version of WinDaapd. how do i recompile/rebuild a new set of windows binaries? or where do i get them from?
Fire always makes it better - the Offspring

itunes daapd windows server

Reply #1
Did you find anything new?
I'm having the same problem as you and I can't find any solution on Google or anything.
Is there another Windows port of the server?

itunes daapd windows server

Reply #2
You would need the daapd source code and a copy of cygwin to compile the latest source for Windows. I'd start by installing cygwin. Then see about getting the sources to compile. Should be reasonably straightforward.

itunes daapd windows server

Reply #3
Hi there,

I wanted to the the same thing and setup a w2k3 itunes daapd server so I can listen to my entire collection via itunes from any of my machines ( mac + win ).

After much mucking around I managed to succeed.

Here's what I had to do:

1). Goto the Rusty Dusty webpage and download the windaapd daapd.rar file . The windaapd program does NOT run under itunes 4.7 BUT the rendezvous.exe program DOES work ok - as Dusty explains cygwin does not support multicast traffic.

2). Install Cygwin on your machine. ENSURE you also include the zlib library and gcc (c++) compiler

3). Download libid3tag 0.15.1b. configure,make, make install it.

4). Get the Unix daapd source files - I used 0.2.4a. Unpack it.   

5). You need to edit the file db.cc change the lines:

#ifdef __sgi__
        #define TIMESTAMP st_mtim.tv_sec;
#elif defined(__linux__)
        #define TIMESTAMP st_mtime;
#elif defined(__sun__)
        #define TIMESTAMP st_mtime;
#else
        #define TIMESTAMP st_mtimespec.tv_sec;  <--- line to change
#endif

to

#ifdef __sgi__
        #define TIMESTAMP st_mtim.tv_sec;
#elif defined(__linux__)
        #define TIMESTAMP st_mtime;
#elif defined(__sun__)
        #define TIMESTAMP st_mtime;
#else
        #define TIMESTAMP st_mtime;  <--- changed line
#endif


6). You should now be able to build the daapd from the source.

7). Once built change the daapd.conf to suit your needs, e.g:

Port            3689
ServerName      Trellick
DBName          mydb
Password        mypassword
Root            /cygdrive/d/Music
Cache          /cygdrive/d/Music/daapd.cache
Timescan        2
Rescan          1

^-- I've yet to tweak this for optimal performance, the rescan being the biggest issue when you have thousands of tracks!!

8). From a DOS window you can start Rendezvous as instructed by RustyDusty:

Rendezvous -rs "Win iTunes Jukebox" "_daap._tcp" "local." 3689 "Win iTunes Jukebox"

and you get the output something like:

registering service "Win iTunes Jukebox._daap._tcp.local." port 3689 text "Win iTunes Jukebox"
name registered and active

9). At this point you will see the 'Win iTunes Jukebox" appear in your iTunes browser, but you won't be able to access anything.

10). From within a Cygwin window you can start daapd.  For myself I did:

daapd -v -C /usr/local/daapd/daapd.conf

Sit back and wait whilst daapd builds the cache file.....if you have as many tunes as I do...it WILL take quite some time. But at the end it will report something like:

Creating Cache file: No error
Saving 8993 song entries
Writing cache file: No error

And there you go. Hope this helps.


trellick

 

itunes daapd windows server

Reply #4
Oh, one other thing.

I would love to be able to automate the Rendezvouz and Cygwin daapd programs to startup at windows boot ( w2k3 ).

The Rendezvous windows program isn't an issue ( program scheduler ) but how do I do the same thing with a Cygwin program??

Any suggestions would be welcome.

regards


trellick

itunes daapd windows server

Reply #5
Quote
Oh, one other thing.

I would love to be able to automate the Rendezvouz and Cygwin daapd programs to startup at windows boot ( w2k3 ).

The Rendezvous windows program isn't an issue ( program scheduler ) but how do I do the same thing with a Cygwin program??

Any suggestions would be welcome.

regards


trellick
[a href="index.php?act=findpost&pid=280689"][{POST_SNAPBACK}][/a]


Hey dude,

You can use the cygrunsrv program to install your batch files to start rendezvous & daapd as services. Install cygrunsrv using the standard cygwin installer if you don't have it, then execute "cygrunsrv --help" to see how you do it.

Hope that helps )

itunes daapd windows server

Reply #6
Is there any new way to do a windows daap server?

I'm a little lost in all those explanation... I want to run the server on my windows XP Pro, i already have a web server installer (Apache, PHP, MySQL).

I have the same problem as the one mentionned in the first post : I get kick back in the library...

And, if i understand the way trellick do it, i'll be able to listen to music only 1 client at a time ?
It's because i would want to have more than 1, i want this server so the 10gig of mp3 of my girlfriend will be on the server, and not on 4 PC (exactly 3 windows and 1 mac).

I have basic knowledge in Linux and c++ programming (if i don't understand i google first ;-) ).


P.S. : yes, english is not my native language, don't be shy to point my mistake if you see some ^^


itunes daapd windows server

Reply #8
Try mt-daapd (now called Firefly).  It's supported on Windows, and actively developed:

http://www.fireflymediaserver.org  Use a nightly build -- 1586 possibly currently: http://nightlies.mt-daapd.org


I tried it, and here is a little review of what i have done :

1 : You need Bonjour for Windows to be installed :Get Bonjour for Windows

2 : I installed Bonjour... the installation is REALLY simple, just need to tell where to install it... ^^. After the installation, you do not have to configure something, juste go to the next step.

3 : I installed Firefly Server (as told by grommet) http://www.fireflymediaserver.org  I used a nightly build -- 1586 : http://nightlies.mt-daapd.org During the installation it will ask whre is the music you want to share, just make sure to give him the good place.

4 : It works. Just open Itunes on others computers and see ^^. I tried with my XBMC (Xbox Media Center) and for now it won't work... I'll try to configure it later... ^^


So, for those who want to do the same as me, just follow the really small guide to success ^^

BTW, thaks to grommet,who told me about the existence of this really helpful daap server ^^