Re: Expose container type to external plugin (MediaServer2 dbus interface)
- From: Günter Merz <lotan_rm gmx de>
- To: rygel-list gnome org
- Subject: Re: Expose container type to external plugin (MediaServer2 dbus interface)
- Date: Tue, 10 Dec 2013 18:26:34 +0100
To anyone who's interested:
After testing, I found, the correct change for disabling default
resorting for external containers is:
diff --git a/src/plugins/external/rygel-external-container.vala
b/src/plugins/ex
index fca762c..73626b0 100644
--- a/src/plugins/external/rygel-external-container.vala
+++ b/src/plugins/external/rygel-external-container.vala
@@ -55,6 +55,10 @@ public class Rygel.External.Container :
Rygel.MediaContainer,
this.containers = new ArrayList<Container> ();
this.search_classes = new ArrayList<string> ();
+ // default: use sort order of external container, no additional
+ // sort criteria
+ this.sort_criteria = "";
+
// Create proxy to MediaContainer iface
this.actual_container = Bus.get_proxy_sync
(BusType.SESSION,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]