[rygel/rygel-0-28] server: Playlists need to support interactive



commit 9f64ebea82b3e9a719a372cbea4df50a271ee073
Author: Jens Georg <mail jensge org>
Date:   Sat Nov 21 11:56:03 2015 +0100

    server: Playlists need to support interactive
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/librygel-server/rygel-playlist-item.vala |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-playlist-item.vala b/src/librygel-server/rygel-playlist-item.vala
index 579242b..feecd0b 100644
--- a/src/librygel-server/rygel-playlist-item.vala
+++ b/src/librygel-server/rygel-playlist-item.vala
@@ -47,4 +47,12 @@ public class Rygel.PlaylistItem : MediaFileItem {
 
         return didl_item;
     }
+
+    internal override MediaResource get_primary_resource () {
+        var res = base.get_primary_resource ();
+
+        res.dlna_flags |= DLNAFlags.INTERACTIVE_TRANSFER_MODE;
+
+        return res;
+    }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]