rhythmbox r6010 - in trunk: . lib
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6010 - in trunk: . lib
- Date: Sun, 2 Nov 2008 13:18:46 +0000 (UTC)
Author: jmatthew
Date: Sun Nov 2 13:18:46 2008
New Revision: 6010
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6010&view=rev
Log:
2008-11-02 Jonathan Matthew <jonathan d14n org>
patch by: Maxim Ermilov <zaspire rambler ru>
* lib/rb-file-helpers.c: (rb_uri_could_be_podcast):
feed:// URIs are always podcasts. Fixes #522133.
Modified:
trunk/ChangeLog
trunk/lib/rb-file-helpers.c
Modified: trunk/lib/rb-file-helpers.c
==============================================================================
--- trunk/lib/rb-file-helpers.c (original)
+++ trunk/lib/rb-file-helpers.c Sun Nov 2 13:18:46 2008
@@ -334,6 +334,12 @@
if (is_opml != NULL)
*is_opml = FALSE;
+ /* feed:// URIs are always podcasts */
+ if (g_str_has_prefix (uri, "feed:")) {
+ rb_debug ("'%s' must be a podcast", uri);
+ return TRUE;
+ }
+
/* Check the scheme is a possible one first */
if (g_str_has_prefix (uri, "http") == FALSE &&
g_str_has_prefix (uri, "itpc:") == FALSE &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]