22 #ifndef GAVL_METADATA_H_INCLUDED
23 #define GAVL_METADATA_H_INCLUDED
31 #include <gavl/gavldefs.h>
32 #include <gavl/value.h>
57 #define GAVL_METADATA_DATE_STRING_LEN 11
62 #define GAVL_METADATA_DATE_TIME_STRING_LEN 20
144 GAVL_PUBLIC
const char *
158 GAVL_PUBLIC
const char *
172 const char * key,
const char * glue);
295 int day,
char * ret);
327 const gavl_dictionary_t * m2);
368 GAVL_PUBLIC gavl_dictionary_t *
369 gavl_metadata_add_image_uri(gavl_dictionary_t * m,
372 const char * mimetype,
375 GAVL_PUBLIC
const char *
376 gavl_dictionary_get_string_image_uri(
const gavl_dictionary_t * m,
380 const char ** mimetype);
382 GAVL_PUBLIC
const char *
383 gavl_dictionary_get_string_image_max(
const gavl_dictionary_t * m,
386 const char * mimetype);
389 gavl_metadata_add_image_embedded(gavl_dictionary_t * m,
392 const char * mimetype,
396 GAVL_PUBLIC
const gavl_dictionary_t *
397 gavl_dictionary_get_image_max(
const gavl_dictionary_t * m,
400 const char * mimetype);
402 GAVL_PUBLIC
const gavl_dictionary_t *
403 gavl_dictionary_get_image_max_proto(
const gavl_dictionary_t * m,
406 const char * mimetype,
const char * protocol);
410 gavl_metadata_add_src(gavl_dictionary_t * m,
const char * key,
411 const char * mimetype,
const char * location);
414 const gavl_dictionary_t *
415 gavl_dictionary_get_src(
const gavl_dictionary_t * m,
const char * key,
int idx,
416 const char ** mimetype,
const char ** location);
420 gavl_dictionary_get_src_nc(gavl_dictionary_t * m,
const char * key,
int idx);
424 int gavl_metadata_has_src(
const gavl_dictionary_t * m,
const char * key,
425 const char * location);