public TrackerImageItem (string id,
string path,
TrackerContainer parent) throws GLib.Error {
- keys = new string[] {"File:Name",
- "File:Mime",
- "Image:Title",
- "Image:Creator",
- "Image:Width",
- "Image:Height",
- "Image:Album",
- "Image:Date",
- "DC:Date"};
-
base (id, path, parent);
}
public override void fetch_metadata () throws GLib.Error {
+ string[] keys = new string[] {"File:Name",
+ "File:Mime",
+ "Image:Title",
+ "Image:Creator",
+ "Image:Width",
+ "Image:Height",
+ "Image:Album",
+ "Image:Date",
+ "DC:Date"};
string[] values = null;
/* TODO: make this async */
protected TrackerContainer parent;
protected string path;
- protected string[] keys;
-
public TrackerItem (string id,
string path,
TrackerContainer parent) throws GLib.Error {
public TrackerMusicItem (string id,
string path,
TrackerContainer parent) throws GLib.Error {
- keys = new string[] {"File:Name",
- "File:Mime",
- "Audio:Title",
- "Audio:Artist",
- "Audio:TrackNo",
- "Audio:Album",
- "Audio:ReleaseDate",
- "Audio:DateAdded",
- "DC:Date"};
-
base (id, path, parent);
}
public override void fetch_metadata () throws GLib.Error {
+ string[] keys = new string[] {"File:Name",
+ "File:Mime",
+ "Audio:Title",
+ "Audio:Artist",
+ "Audio:TrackNo",
+ "Audio:Album",
+ "Audio:ReleaseDate",
+ "Audio:DateAdded",
+ "DC:Date"};
string[] values = null;
/* TODO: make this async */
public TrackerVideoItem (string id,
string path,
TrackerContainer parent) throws GLib.Error {
- keys = new string[] {"File:Name",
- "File:Mime",
- "Video:Title",
- "Video:Author",
- "Video:Width",
- "Video:Height",
- "DC:Date"};
-
base (id, path, parent);
}
public override void fetch_metadata () throws GLib.Error {
+ string[] keys = new string[] {"File:Name",
+ "File:Mime",
+ "Video:Title",
+ "Video:Author",
+ "Video:Width",
+ "Video:Height",
+ "DC:Date"};
string[] values = null;
/* TODO: make this async */