mattstevens / dmap-parser

C parser for Digital Media Access Protocols (DMAP, DMCP, DAAP, and DACP)
MIT License
23 stars 7 forks source link

How did you get hold of ... #1

Closed jkiddo closed 11 years ago

jkiddo commented 11 years ago

Hi Matt

I have made an implementation of the DMAP protocol family like yourself but I wonder where you got some of the codes from listed in the blob/master/dmap_parser.c.

If I run the http call content-codes against my iTunes installation on a Windows box, I don't get all the codes that you have listed, so I was wondering if this method has been your only source of information in order for you to create the list of dmap types in dmap_parser

mattstevens commented 11 years ago

The entries not from content-codes were mapped from a couple sources:

jkiddo commented 11 years ago

Arh ... okay -

I've also used a couple of different sources and done sniffing through message exchanging. I never had the time to use the getProperty but always known it was a possibility.

Reading through the binary did not cross my mind until you said it - and of course that an obvious approach. If you wan't then have a look at my Jolivia implementation - I think I have some mappings that you don't.

mattstevens commented 11 years ago

Thanks, I didn't know about DPAP. I've added the codes from iPhoto's /content-codes endpoint plus a few others taken from iTunes.