"Albums",
this.item_factory,
key_chain));
- this.add_child (new TrackerTags ("21", this, item_factory));
+ this.add_child (new TrackerTags (this, item_factory));
}
}
string title) {
base (id, parent, title, new TrackerPictureItemFactory ());
- this.add_child (new TrackerTags ("19", this, this.item_factory));
- this.add_child (new TrackerYears ("22", this, this.item_factory));
+ this.add_child (new TrackerTags (this, this.item_factory));
+ this.add_child (new TrackerYears (this, this.item_factory));
}
}
private const string TITLE = "Tags";
private const string[] KEY_CHAIN = { "nao:hasTag", "nao:prefLabel", null };
- public TrackerTags (string id,
- MediaContainer parent,
+ public TrackerTags (MediaContainer parent,
TrackerItemFactory item_factory) {
- base (id, parent, TITLE, item_factory, KEY_CHAIN);
+ base (parent.id + TITLE, parent, TITLE, item_factory, KEY_CHAIN);
}
}
string title) {
base (id, parent, title, new TrackerVideoItemFactory ());
- this.add_child (new TrackerTags ("20", this, this.item_factory));
- this.add_child (new TrackerYears ("23", this, this.item_factory));
+ this.add_child (new TrackerTags (this, this.item_factory));
+ this.add_child (new TrackerYears (this, this.item_factory));
}
}
public class Rygel.TrackerYears : Rygel.TrackerMetadataValues {
private const string[] KEY_CHAIN = { "nie:contentCreated", null };
- public TrackerYears (string id,
- MediaContainer parent,
+ public TrackerYears (MediaContainer parent,
TrackerItemFactory item_factory) {
- base (id,
+ base (parent.id + "Year",
parent,
"Year",
item_factory,