[MPlayer-dev-eng] [PATCH] sub properties and metadata as properties

Alban Bedel albeu at free.fr
Fri May 18 20:39:15 CEST 2007


Hi all,

this is the beggining of my work to get rid of the current metadata API and
use the property API instead. IMHO having a separate API for metadata doesn't
make much sense when everything else can be queried via the properties.
Another thing is the limitation of the metadata API as it only allow to query
a subset of the possible metadata.

The first patch rework the property API to allow having sub properties
such as metadata/title, etc.

The second patch add the needed stuff to be able to query all info currently
available via the metadata API with properties.

After that (and some more work on the menu) it should be possible to remove
the whole metadata API. IMHO the related commands (MP_CMD_GET_META_*) should
then also be removed. However i'd like to hear what others thinks about
removing useless commands. On the plus side we would get rid of quiet some
code, on the minus side it would break some frontend.

	Albeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sub-properties.diff
Type: text/x-patch
Size: 17018 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070518/cc141bc5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata-property.diff
Type: text/x-patch
Size: 6392 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070518/cc141bc5/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list