rygel r34 - in trunk: . src
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r34 - in trunk: . src
- Date: Tue, 28 Oct 2008 20:58:47 +0000 (UTC)
Author: zeeshanak
Date: Tue Oct 28 20:58:47 2008
New Revision: 34
URL: http://svn.gnome.org/viewvc/rygel?rev=34&view=rev
Log:
Adapt to latest didl writer API.
We put a fake 'MP3' for all items in the DLNA's PN field for each item.
This should fix the playback of mp3 contents on DLNA-compliant MRs and CPs
without breaking the playback of non-mp3 contents on non-DLNA compliant MRs/CPs.
Modified:
trunk/ChangeLog
trunk/src/gupnp-media-tracker.c
Modified: trunk/src/gupnp-media-tracker.c
==============================================================================
--- trunk/src/gupnp-media-tracker.c (original)
+++ trunk/src/gupnp-media-tracker.c Tue Oct 28 20:58:47 2008
@@ -523,12 +523,13 @@
g_free (escaped_path);
/* Protocol info */
- res.protocol_info = g_strdup_printf ("http-get:*:%s:*", mime);
+ res.protocol = "http-get";
+ res.mime_type = (char *) mime;
+ res.dlna_profile = "MP3"; /* FIXME */
gupnp_didl_lite_writer_add_res (didl_writer, &res);
/* Cleanup */
- g_free (res.protocol_info);
g_free (res.uri);
/* End of item */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]