2011-04-09, 00:41
I am a little unclear as to the current state of DAAP support in XBMC.
I currently run XBMC installed via XBMC's stable PPA on Ubuntu 10.10 i686, there is no SVN revision in the sys info, it only says Built on Mar 9 2011 (Git:Unknown).
I am running the mt-daapd DAAP server, availalbe in the Ubuntu 10.10 repos. I am able to add it as a source by selecting: Add Source > Add network location and choosing iiTunes music share (DAAP) as the Protocol.
I can play files when not in library mode, but in library mode I get a playback error. To reproduce, simply add a DAAP server as a source, scan it to the library, browse the library and try to play a song. I only have MP3s, so I don't know if it happens to other codecs as well.
My debug log file from this is here if you are interested: http://www.prupert.co.uk/scripts/xbmc.log careful, it is 16,000 lines long and 1.5MB in size, though here is a snippet of the log when it fails to play:
It looks like there is no player capable of playing the DAAP protocol in library mode.
I was all set to post a bug report, when I did a few forum searches first.
I found these posts:
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
Showing this problem is impacting all platforms and it has got no response from the devs, though admitedly most of these error reports weren't even following the basic guidelines for error reporting.
I then came across this post:
http://forum.xbmc.org/showthread.php?tid...light=daap
Which seems to indicate that as far as the devs are concerned, DAAP is no longer supported.
If this is the case, why then is it still listed as a Network Location and why is there no mention on the DAAP XBMC wiki page (http://wiki.xbmc.org/index.php?title=ITunes_(DAAP)) that support has been fazed out?
I know it is great to continue to add support for new features and platforms, but if this means phasing out other features, it is important to document that as well.
It'd be great to get a final viewpoint on this, because if DAAP isn't supported, I'd love to know what people do to share one common music library across multiple devices with one common playcount record (as XBMC's shared SQL solution doesn't yet seem to support playcount and there is no way marry this solution to syncing with a portable device like an Android phone or iPod).
I currently run XBMC installed via XBMC's stable PPA on Ubuntu 10.10 i686, there is no SVN revision in the sys info, it only says Built on Mar 9 2011 (Git:Unknown).
I am running the mt-daapd DAAP server, availalbe in the Ubuntu 10.10 repos. I am able to add it as a source by selecting: Add Source > Add network location and choosing iiTunes music share (DAAP) as the Protocol.
I can play files when not in library mode, but in library mode I get a playback error. To reproduce, simply add a DAAP server as a source, scan it to the library, browse the library and try to play a song. I only have MP3s, so I don't know if it happens to other codecs as well.
My debug log file from this is here if you are interested: http://www.prupert.co.uk/scripts/xbmc.log careful, it is 16,000 lines long and 1.5MB in size, though here is a snippet of the log when it fails to play:
Code:
22:59:32 T:3021027200 M:2606047232 DEBUG: new file set audiostream:0
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers(musicdb://3/1410/33979.mp3?session-id=5)
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
22:59:32 T:3021027200 M:2606047232 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
22:59:32 T:3021027200 M:2606047232 ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://3/1410/33979.mp3?session-id=5
22:59:32 T:3021027200 M:2606047232 ERROR: Playlist Player: skipping unplayable item: 29, path [musicdb://3/1410/33979.mp3?session-id=5]
22:59:32 T:3021027200 M:2606047232 DEBUG: Playlist Player: one or more items failed to play... aborting playback
It looks like there is no player capable of playing the DAAP protocol in library mode.
I was all set to post a bug report, when I did a few forum searches first.
I found these posts:
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
http://forum.xbmc.org/showthread.php?tid...light=daap
Showing this problem is impacting all platforms and it has got no response from the devs, though admitedly most of these error reports weren't even following the basic guidelines for error reporting.
I then came across this post:
http://forum.xbmc.org/showthread.php?tid...light=daap
Which seems to indicate that as far as the devs are concerned, DAAP is no longer supported.
If this is the case, why then is it still listed as a Network Location and why is there no mention on the DAAP XBMC wiki page (http://wiki.xbmc.org/index.php?title=ITunes_(DAAP)) that support has been fazed out?
I know it is great to continue to add support for new features and platforms, but if this means phasing out other features, it is important to document that as well.
It'd be great to get a final viewpoint on this, because if DAAP isn't supported, I'd love to know what people do to share one common music library across multiple devices with one common playcount record (as XBMC's shared SQL solution doesn't yet seem to support playcount and there is no way marry this solution to syncing with a portable device like an Android phone or iPod).