Ticket #240 (new enhancement)

Opened 3 years ago

Last modified 2 years ago

DAAP Backend?

Reported by: flows Assigned to:
Priority: major Milestone:
Component: Feature Requests Version:
Keywords: Cc:

Description

On the ArchitecturalOverview page it says a backend translating from DAAP to UPnP AV could be created - is there already such a thing? I personally feel this would be quite an interesting thing to work on. Although I am not really able to write python (which I would have to learn then, have some experience with other languages), I'd like to have a try and work on it.

Are there any good starting points for this like documentation or good example implementations? I have already looked at the existing sources, but there seem to be not that many comments.

Would appreciate any help :)

Attachments

daap_storage.py (8.6 kB) - added by flows on 11.07.2009 15:25:35.
First release of a backend supporting DAAP

Change History

05.07.2009 15:39:01 changed by flows

Well, Python seems quite simple to me, this works fine. Have also found the lolcats example and some API docs, but still I do not understand the concept of BackendItems?, those IDs (e.g. get_by_id and such stuff) and how it is generally meant to work. Could someone please enlighten me?

11.07.2009 15:06:35 changed by flows

I've finished so far, the backend works fine. However, there are still some points to work on:

- MIME types: currently, there are only two supported ones: audio/mpeg3 and audio/ogg. its not that easy to do because DAAP does only serve some sort of strange string (of which I don't know how it works) that has to be translated to a MIME type. Still, I have contacted the author of mt-daapd to get at least some information on how DAAP presents the type of a file.

- cleanup: is there a way to know when coherence shuts down? actually, there is the need to logout from the DAAP server

- playlists: according to gupnp-universal-cp, they should work, but totem (GNOME's media player using coherence) does recognize them but can't use them and I don't know any other possibility to test this.

11.07.2009 15:25:35 changed by flows

  • attachment daap_storage.py added.

First release of a backend supporting DAAP

31.07.2009 09:28:42 changed by jmsizun

Took a look at it beginning of the week.

No success so far as I do not seem to be able to compile a proper version of the python-daap library.

Any chance you've got a working version of this library for Windows?

31.07.2009 13:52:58 changed by flows

Admittedly, I do not know.

Anyway, I must have a look at the backend again next week because there is also a problem with a mt-daapd server distributing a large number of files (~ 15,000) - until now the plugin is working.. and working.. and working with 50% CPU load of both, the mt-daapd and the Coherence process.

When doing this, I'll also test this in my Windows virtual machine. Expect some new information on Tuesday or Wednesday (4th/5th August)

16.09.2009 13:47:51 changed by jmsizun

Hi, any feedback from your tests on Windows?

04.10.2009 17:15:48 changed by philn

I tested this on jaunty and have few things to say:

- could be nice to use avahi to detect all the DAAP shares on the LAN and export each as a MS - with the rhythmbox share i tried, all the tracks were put at the root level of the MS. could be nice to at least have a by artist/album hierarchy - the ID of the tracks appear to be wrong (when displayed with the inspector)

24.11.2009 14:21:10 changed by jmsizun

  • component changed from Coherence - across the board to MediaServer Server.

27.12.2009 13:59:25 changed by jmsizun

  • owner deleted.
  • component changed from MediaServer Server to Feature Requests.