[PATCH 0/5] Plugin changes to use the new metadata key system



This is the set of patches to work with the new metadata key system.

As it can be seen, minor changes are required to work with the new system:

- Get rid of POINTER_TO_GRLKEYID / GRLKEYID_TO_POINTER macros: keys can be
  added directly to GLists.
- Get rid of GrlMetadataKey: GrlKeyId already contains required information.
- Do not use switch statement to compare keys; use ifs instead.


     J.A.

Juan A. Suarez Romero (5):
  [fake-metadata] Use the new metadata key system
  [lastfm-albumart] Use the new metadata key system
  [metadata-store] Use the new metadata key system
  [upnp] Use the new metadata key system
  [youtube] Use the new metadata key system

 src/fake-metadata/grl-fake-metadata.c     |   49 +++-----
 src/lastfm-albumart/grl-lastfm-albumart.c |    7 +-
 src/metadata-store/grl-metadata-store.c   |   63 ++++-------
 src/upnp/grl-upnp.c                       |  179 ++++++++++-------------------
 src/youtube/grl-youtube.c                 |   99 ++++++----------
 test/main.c                               |   14 +--
 6 files changed, 142 insertions(+), 269 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]