[rygel/wip/playlist-item: 9/9] media-export: Store playlist's metadata in cache.



commit 2cf410735d9a888bc4efbccb36fa536ab5554c33
Author: Krzesimir Nowak <krnowak openismus com>
Date:   Mon Nov 26 15:39:38 2012 +0100

    media-export: Store playlist's metadata in cache.

 .../rygel-media-export-media-cache.vala            |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-media-cache.vala b/src/plugins/media-export/rygel-media-export-media-cache.vala
index 468527a..a07584c 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache.vala
@@ -551,6 +551,12 @@ public class Rygel.MediaExport.MediaCache : Object {
             }
         }
 
+        if (item is PlaylistItem) {
+            var playlist_item = item as PlaylistItem;
+
+            values[5] = playlist_item.creator;
+        }
+
         this.db.exec (this.sql.make (SQLString.SAVE_METADATA), values);
     }
 



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