## Media Database Implementation

Media Database Implementation — Implementing a media database

## Media Database Implementation

A media database is a collection of records which describe the media a program can share or access; for example, connecting to a DAAP server will populate a media database with DmapAvRecords which correspond to the media the server provides.

Creating a media database is a matter of implementing the DmapDb and DmapAvRecord (or DmapImageRecord) interfaces. For an example of this, see libdmapsharing's test-dmap-db.c and test-dmap-av-record.c. If your application already has a media database interface, then these new definitions will simply adapt your existing interface.