[rygel/gnome-2-32] media-export: Proper default values for item metdata
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/gnome-2-32] media-export: Proper default values for item metdata
- Date: Mon, 18 Oct 2010 20:58:06 +0000 (UTC)
commit f47c96376e364765416a2b77a21e4a8019c8dc5c
Author: Jens Georg <mail jensge org>
Date: Tue Sep 28 20:50:41 2010 +0200
media-export: Proper default values for item metdata
This fixes the misterious "0" Album and Artist on XBox
.../rygel-media-export-media-cache.vala | 24 ++++++++++----------
1 files changed, 12 insertions(+), 12 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 d8e9dbf..a0481f0 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache.vala
@@ -421,22 +421,22 @@ public class Rygel.MediaExport.MediaCache : Object {
// Fill common properties
GLib.Value[] values = { item.size,
item.mime_type,
- 0,
- 0,
+ -1,
+ -1,
item.upnp_class,
- 0,
- 0,
+ Database.null (),
+ Database.null (),
item.date,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
+ -1,
+ -1,
+ -1,
+ -1,
+ -1,
+ -1,
+ -1,
item.id,
item.dlna_profile,
- 0};
+ Database.null ()};
if (item is AudioItem) {
var audio_item = item as AudioItem;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]