public class Rygel.MediaExport.MediaExportItem : Rygel.MediaItem {
private const string TAG_WIDTH = MetadataExtractor.TAG_RYGEL_WIDTH;
private const string TAG_HEIGHT = MetadataExtractor.TAG_RYGEL_HEIGHT;
+ private const string
+ TAG_DLNA_PROFILE = MetadataExtractor.TAG_RYGEL_DLNA_PROFILE;
public static MediaExportItem? create_from_taglist (MediaContainer parent,
File file,
this.date = tv.to_iso8601 ();
}
-
+ tag_list.get_string (TAG_DLNA_PROFILE, out this.dlna_profile);
tag_list.get_string (MetadataExtractor.TAG_RYGEL_MIME,
out this.mime_type);
public const string TAG_RYGEL_HEIGHT = "rygel-height";
public const string TAG_RYGEL_DEPTH = "rygel-depth";
public const string TAG_RYGEL_MTIME = "rygel-mtime";
+ public const string TAG_RYGEL_DLNA_PROFILE = "rygel-dlna-profile";
/* Signals */
public signal void extraction_done (File file, Gst.TagList tag_list);
this.register_custom_tag (TAG_RYGEL_HEIGHT, typeof (int));
this.register_custom_tag (TAG_RYGEL_DEPTH, typeof (int));
this.register_custom_tag (TAG_RYGEL_MTIME, typeof (uint64));
+ this.register_custom_tag (TAG_RYGEL_DLNA_PROFILE, typeof (string));
this.file_hash = new HashMap<string, File> ();