1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
]>
<refentry id="mediadb">
<refmeta>
<refentrytitle>Media Database Implementation</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>Libdmapsharing</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Media Database Implementation</refname>
<refpurpose>
Implementing a media database
</refpurpose>
</refnamediv>
<refsect1>
<title>Media Database Implementation</title>
<para>
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.
</para>
<para>
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.
</para>
</refsect1>
</refentry>
|