some patches



Hello,

I have just opened a bug in gnome's bugzille about the duration problem
I mentioned. For it to work you must also apply this patch to gupnp-av.

I don't have an account in openedhand's bugzilla so I'm attaching the
patch here.

Also, you can change "Video:Title" for "Audio:Title" in
rygel-tracker-music-item.vala to fix the title being displayed wrongly.

-- 
Henrique Ferreiro García <henrique ferreiro gmail com>
diff --git a/libgupnp-av/gupnp-didl-lite-writer.c b/libgupnp-av/gupnp-didl-lite-writer.c
index cca339a..d421f71 100644
--- a/libgupnp-av/gupnp-didl-lite-writer.c
+++ b/libgupnp-av/gupnp-didl-lite-writer.c
@@ -385,7 +385,7 @@ gupnp_didl_lite_writer_add_res (GUPnPDIDLLiteWriter   *writer,
 
         if (res->duration >= 0)
                 g_string_append_printf (writer->priv->str,
-                                        " duration=\"%ld:%.2ld:%.2ld.\"",
+                                        " duration=\"%ld:%.2ld:%.2ld\"",
                                         res->duration / (60 * 60),
                                         (res->duration / 60) % 60,
                                         res->duration % 60);


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