public string uri {
owned get {
- var item = new MediaItem (this.root_container.ITEM_ID, this.root_container);
+ var item = new MediaItem (MediaContainer.ITEM_ID, this.root_container);
var item_uri = new HTTPItemURI (item, this);
return item_uri.to_string ();
}
}
public class Rygel.MusicItem : Rygel.AudioItem {
- public const string UPNP_CLASS = "object.item.audioItem.musicTrack";
+ public new const string UPNP_CLASS = "object.item.audioItem.musicTrack";
public MusicItem (string id, MediaContainer parent, string title) {
base (id, parent, title);
}
}
public class Rygel.ImageItem : Rygel.MediaItem {
- public const string UPNP_CLASS = "object.item.imageItem";
+ public new const string UPNP_CLASS = "object.item.imageItem";
public ImageItem (string id, MediaContainer parent, string title) {
base (id, parent, title);
}
public MediaObject found_object = null;
public async MediaObject? find_object (string id,
- Cancellable? cancellable = null) {
+ Cancellable? cancellable = null)
+ throws Error {
Idle.add (() => { find_object.callback (); return false; });
yield;
out int total_matches,
string soer_criteria,
Cancellable? cancellable = null) {
+ total_matches = 0;
Idle.add (() => { search.callback (); return false; });
yield;
}
public class Rygel.TestMediaEngine : Rygel.MediaEngine {
+ private GLib.List<DLNAProfile> dlna_profiles = new GLib.List<DLNAProfile>();
+
public override unowned GLib.List<DLNAProfile> get_dlna_profiles () {
- return null;
+ return dlna_profiles;
}
public override unowned GLib.List<Transcoder>? get_transcoders () {