Hello community,

here is the log from the commit of package totem-pl-parser for openSUSE:Factory 
checked in at 2013-05-16 11:43:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/totem-pl-parser (Old)
 and      /work/SRC/openSUSE:Factory/.totem-pl-parser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "totem-pl-parser"

Changes:
--------
--- /work/SRC/openSUSE:Factory/totem-pl-parser/totem-pl-parser.changes  
2013-04-03 13:06:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.totem-pl-parser.new/totem-pl-parser.changes     
2013-05-16 11:43:04.000000000 +0200
@@ -1,0 +2,10 @@
+Tue May 14 11:37:07 UTC 2013 - [email protected]
+
+- Update to version 3.4.5:
+  + Avoid warnings when the volume doesn't have a mount.
+  + Fix media detection on loopback devices.
+  + Work-around hang-on-close() bugs in gvfs when parsing M3U
+    playlists.
+  + Save everything we're told to in XSPF playlists.
+
+-------------------------------------------------------------------

Old:
----
  totem-pl-parser-3.4.4.tar.xz

New:
----
  totem-pl-parser-3.4.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ totem-pl-parser.spec ++++++
--- /var/tmp/diff_new_pack.XJW49d/_old  2013-05-16 11:43:05.000000000 +0200
+++ /var/tmp/diff_new_pack.XJW49d/_new  2013-05-16 11:43:05.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           totem-pl-parser
-Version:        3.4.4
+Version:        3.4.5
 Release:        0
 Summary:        A simple GObject-based library to parse playlist formats
 License:        LGPL-2.0+

++++++ totem-pl-parser-3.4.4.tar.xz -> totem-pl-parser-3.4.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/ChangeLog 
new/totem-pl-parser-3.4.5/ChangeLog
--- old/totem-pl-parser-3.4.4/ChangeLog 2013-03-26 09:00:23.000000000 +0100
+++ new/totem-pl-parser-3.4.5/ChangeLog 2013-05-14 12:52:46.000000000 +0200
@@ -1,3 +1,74 @@
+commit 86d8228cdaf32606099ec1d8443355ed576a5fa5
+Author: Bastien Nocera <[email protected]>
+Date:   Tue May 14 12:52:28 2013 +0200
+
+    3.4.5
+
+ NEWS         | 6 ++++++
+ configure.ac | 2 +-
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+commit 9baee21a71c7195d6d1ae322189fcd1039617eae
+Author: Bastien Nocera <[email protected]>
+Date:   Fri Apr 26 18:42:21 2013 +0200
+
+    plparse: Save everything we're told to in the XSPF file
+    
+    The saving part of the XSPF parser doesn't need to check
+    whether the scheme is ignored, the front-end (which populates
+    that list) can do that just as well.
+    
+    This fixes DVDs not being saved in the Totem session.
+
+ plparse/totem-pl-parser-xspf.c | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+commit 8dd63c9f8aa85ae4687bb4b90c9c1de886069ac0
+Author: Bastien Nocera <[email protected]>
+Date:   Thu Apr 25 12:44:53 2013 +0200
+
+    plparse: Handle length attribute for M3U playlists
+    
+    When an M3U playlist advertises the length of an item as -1, we
+    don't need to check whether it is another playlist, it would usually
+    be a file of unknown duration, or a stream.
+    
+    This matches the current code in the PLS parser, and works around
+    hang-on-close() bugs in gvfs.
+    
+    https://bugzilla.gnome.org/show_bug.cgi?id=695652
+
+ plparse/tests/BassDrive.pls        | 39 ++++++++++++++++++++++++++++++++++++++
+ plparse/tests/Makefile.am          |  3 ++-
+ plparse/tests/parser.c             | 13 +++++++++++++
+ plparse/tests/radioclasica.mp3.m3u |  3 +++
+ plparse/totem-pl-parser-lines.c    | 34 ++++++++++++++++++++++++++++++++-
+ 5 files changed, 90 insertions(+), 2 deletions(-)
+
+commit ba8ee7f0e957eacc990318ed2580a3f27e58fe3e
+Author: Bastien Nocera <[email protected]>
+Date:   Fri Mar 29 18:08:41 2013 +0100
+
+    disc: Fix media detection on loopback devices
+    
+    We think they're physical media, but they don't actually have
+    a drive associated, so they cannot be removable.
+    
+    This fixes: ./disc /dev/loop0
+    when an ISO is loopback mounted with udisks2
+
+ plparse/totem-disc.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+commit 4ba8cc2d94c1721f9310370db3452337f51c4d9a
+Author: Bastien Nocera <[email protected]>
+Date:   Fri Mar 29 17:37:36 2013 +0100
+
+    disc: Avoid warnings when the volume doesn't have a mount
+
+ plparse/totem-disc.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
 commit 5718016386b123d735a9b45bd537867f62a1ac7c
 Author: Bastien Nocera <[email protected]>
 Date:   Tue Mar 26 08:22:10 2013 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/NEWS 
new/totem-pl-parser-3.4.5/NEWS
--- old/totem-pl-parser-3.4.4/NEWS      2013-03-26 09:00:06.000000000 +0100
+++ new/totem-pl-parser-3.4.5/NEWS      2013-05-14 12:52:20.000000000 +0200
@@ -1,5 +1,11 @@
 New features and significant updates in version...
 
+3.4.5:
+- Avoid warnings when the volume doesn't have a mount
+- Fix media detection on loopback devices
+- Work-around hang-on-close() bugs in gvfs when parsing M3U playlists
+- Save everything we're told to in XSPF playlists
+
 3.4.4:
 - Remove dependency on newer versions of glib
 - Fix overescaping of URIs in XSPF playlists
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/configure 
new/totem-pl-parser-3.4.5/configure
--- old/totem-pl-parser-3.4.4/configure 2013-03-26 09:00:17.000000000 +0100
+++ new/totem-pl-parser-3.4.5/configure 2013-05-14 12:52:39.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for totem-pl-parser 3.4.4.
+# Generated by GNU Autoconf 2.69 for totem-pl-parser 3.4.5.
 #
 # Report bugs to 
<http://bugzilla.gnome.org/enter_bug.cgi?product=totem-pl-parser&component=General>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='totem-pl-parser'
 PACKAGE_TARNAME='totem-pl-parser'
-PACKAGE_VERSION='3.4.4'
-PACKAGE_STRING='totem-pl-parser 3.4.4'
+PACKAGE_VERSION='3.4.5'
+PACKAGE_STRING='totem-pl-parser 3.4.5'
 
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=totem-pl-parser&component=General'
 PACKAGE_URL=''
 
@@ -1463,7 +1463,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures totem-pl-parser 3.4.4 to adapt to many kinds of 
systems.
+\`configure' configures totem-pl-parser 3.4.5 to adapt to many kinds of 
systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1533,7 +1533,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of totem-pl-parser 3.4.4:";;
+     short | recursive ) echo "Configuration of totem-pl-parser 3.4.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1694,7 +1694,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-totem-pl-parser configure 3.4.4
+totem-pl-parser configure 3.4.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2184,7 +2184,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by totem-pl-parser $as_me 3.4.4, which was
+It was created by totem-pl-parser $as_me 3.4.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4364,7 +4364,7 @@
 
 # Define the identity of the package.
  PACKAGE='totem-pl-parser'
- VERSION='3.4.4'
+ VERSION='3.4.5'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -16343,7 +16343,7 @@
 
 TOTEM_PL_PARSER_VERSION_MAJOR=3
 TOTEM_PL_PARSER_VERSION_MINOR=4
-TOTEM_PL_PARSER_VERSION_MICRO=4
+TOTEM_PL_PARSER_VERSION_MICRO=5
 
 
 
@@ -18532,7 +18532,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by totem-pl-parser $as_me 3.4.4, which was
+This file was extended by totem-pl-parser $as_me 3.4.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18598,7 +18598,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-totem-pl-parser config.status 3.4.4
+totem-pl-parser config.status 3.4.5
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/configure.ac 
new/totem-pl-parser-3.4.5/configure.ac
--- old/totem-pl-parser-3.4.4/configure.ac      2013-03-26 09:00:06.000000000 
+0100
+++ new/totem-pl-parser-3.4.5/configure.ac      2013-05-14 12:51:04.000000000 
+0200
@@ -2,7 +2,7 @@
 
 m4_define(totem_version_major, 3)
 m4_define(totem_version_minor, 4)
-m4_define(totem_version_micro, 4)
+m4_define(totem_version_micro, 5)
 
 AC_INIT([totem-pl-parser],
         [totem_version_major.totem_version_minor.totem_version_micro],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/totem-pl-parser-3.4.4/docs/reference/html/TotemPlParser.html 
new/totem-pl-parser-3.4.5/docs/reference/html/TotemPlParser.html
--- old/totem-pl-parser-3.4.4/docs/reference/html/TotemPlParser.html    
2013-03-26 09:00:28.000000000 +0100
+++ new/totem-pl-parser-3.4.5/docs/reference/html/TotemPlParser.html    
2013-05-14 12:52:51.000000000 +0200
@@ -173,7 +173,7 @@
 <p>
 </p>
 <div class="example">
-<a name="idm274562819472"></a><p class="title"><b>Example 1. Reading a 
Playlist</b></p>
+<a name="idm270167214624"></a><p class="title"><b>Example 1. Reading a 
Playlist</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
@@ -207,7 +207,7 @@
 <p>
 </p>
 <div class="example">
-<a name="idm274562816880"></a><p class="title"><b>Example 2. Reading a 
Playlist Asynchronously</b></p>
+<a name="idm270167212032"></a><p class="title"><b>Example 2. Reading a 
Playlist Asynchronously</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
@@ -257,7 +257,7 @@
 <p>
 </p>
 <div class="example">
-<a name="idm274555245344"></a><p class="title"><b>Example 3. Getting Metadata 
from Entries</b></p>
+<a name="idm270159256704"></a><p class="title"><b>Example 3. Getting Metadata 
from Entries</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
@@ -291,7 +291,7 @@
 <p>
 </p>
 <div class="example">
-<a name="idm274555242896"></a><p class="title"><b>Example 4. Writing a 
Playlist</b></p>
+<a name="idm270159254256"></a><p class="title"><b>Example 4. Writing a 
Playlist</b></p>
 <div class="example-contents">
   <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
     <tbody>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/docs/reference/html/index.html 
new/totem-pl-parser-3.4.5/docs/reference/html/index.html
--- old/totem-pl-parser-3.4.4/docs/reference/html/index.html    2013-03-26 
09:00:28.000000000 +0100
+++ new/totem-pl-parser-3.4.5/docs/reference/html/index.html    2013-05-14 
12:52:51.000000000 +0200
@@ -15,7 +15,7 @@
 <div>
 <div><table class="navigation" id="top" width="100%" cellpadding="2" 
cellspacing="0"><tr><th valign="middle"><p class="title">Totem Playlist Parser 
Reference Manual</p></th></tr></table></div>
 <div><p class="releaseinfo">
-                       for totem-pl-parser 3.4.4
+                       for totem-pl-parser 3.4.5
 . The latest version of this documentation can be found online at
                        <a class="ulink" 
href="http://library.gnome.org/devel/totem-pl-parser/"; 
target="_top">http://library.gnome.org/devel/totem-pl-parser/</a>.
                </p></div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/docs/reference/html/ix02.html 
new/totem-pl-parser-3.4.5/docs/reference/html/ix02.html
--- old/totem-pl-parser-3.4.4/docs/reference/html/ix02.html     2013-03-26 
09:00:28.000000000 +0100
+++ new/totem-pl-parser-3.4.5/docs/reference/html/ix02.html     2013-05-14 
12:52:51.000000000 +0200
@@ -24,7 +24,7 @@
 </table>
 <div class="index">
 <div class="titlepage"><div><div><h1 class="title">
-<a name="idm274559252368"></a>Index of new symbols in 
2.26</h1></div></div></div>
+<a name="idm270167111328"></a>Index of new symbols in 
2.26</h1></div></div></div>
 <a name="idx"></a><a name="idxP"></a><h3 class="title">P</h3>
 <dt>
 <a class="link" 
href="TotemPlParser.html#TOTEM-PL-PARSER-FIELD-DOWNLOAD-URI:CAPS" 
title="TOTEM_PL_PARSER_FIELD_DOWNLOAD_URI">TOTEM_PL_PARSER_FIELD_DOWNLOAD_URI</a>,
 macro in <a class="link" href="TotemPlParser.html" 
title="TotemPlParser">TotemPlParser</a>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/docs/reference/version.xml 
new/totem-pl-parser-3.4.5/docs/reference/version.xml
--- old/totem-pl-parser-3.4.4/docs/reference/version.xml        2013-03-26 
09:00:22.000000000 +0100
+++ new/totem-pl-parser-3.4.5/docs/reference/version.xml        2013-05-14 
12:52:45.000000000 +0200
@@ -1 +1 @@
-3.4.4
+3.4.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/plparse/tests/Makefile.am 
new/totem-pl-parser-3.4.5/plparse/tests/Makefile.am
--- old/totem-pl-parser-3.4.4/plparse/tests/Makefile.am 2012-10-29 
11:37:39.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/tests/Makefile.am 2013-04-25 
12:41:21.000000000 +0200
@@ -73,6 +73,7 @@
        dont-ignore-mp2t.ts     \
        empty-feed.xml          \
        no-url-podcast.xml      \
-       xml-base.xspf
+       xml-base.xspf           \
+       radioclasica.mp3.m3u
 
 -include $(top_srcdir)/git.mk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/plparse/tests/Makefile.in 
new/totem-pl-parser-3.4.5/plparse/tests/Makefile.in
--- old/totem-pl-parser-3.4.4/plparse/tests/Makefile.in 2013-03-26 
09:00:17.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/tests/Makefile.in 2013-05-14 
12:52:40.000000000 +0200
@@ -414,7 +414,8 @@
        dont-ignore-mp2t.ts     \
        empty-feed.xml          \
        no-url-podcast.xml      \
-       xml-base.xspf
+       xml-base.xspf           \
+       radioclasica.mp3.m3u
 
 all: all-am
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/plparse/tests/parser.c 
new/totem-pl-parser-3.4.5/plparse/tests/parser.c
--- old/totem-pl-parser-3.4.4/plparse/tests/parser.c    2013-03-20 
12:11:37.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/tests/parser.c    2013-04-25 
12:41:29.000000000 +0200
@@ -886,6 +886,18 @@
        g_free (uri);
 }
 
+static void
+test_parsing_m3u_streaming (void)
+{
+       char *uri;
+       g_test_bug ("695652");
+
+       /* File from 
http://radioclasica.rtve.stream.flumotion.com/rtve/radioclasica.mp3.m3u */
+       uri = get_relative_uri (TEST_SRCDIR "radioclasica.mp3.m3u");
+       g_assert (simple_parser_test (uri) == TOTEM_PL_PARSER_RESULT_SUCCESS);
+       g_free (uri);
+}
+
 #ifdef HAVE_QUVI
 static void
 test_parsing_rss_id (void)
@@ -1261,6 +1273,7 @@
                g_test_add_func ("/parser/parsing/podcast_content_type", 
test_parsing_content_type);
                g_test_add_func ("/parser/parsing/live_streaming", 
test_parsing_live_streaming);
                g_test_add_func ("/parser/parsing/xml_mixed_cdata", 
test_parsing_xml_mixed_cdata);
+               g_test_add_func ("/parser/parsing/m3u_streaming", 
test_parsing_m3u_streaming);
 #ifdef HAVE_QUVI
                g_test_add_func ("/parser/parsing/rss_id", test_parsing_rss_id);
                g_test_add_func ("/parser/parsing/rss_link", 
test_parsing_rss_link);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/totem-pl-parser-3.4.4/plparse/tests/radioclasica.mp3.m3u 
new/totem-pl-parser-3.4.5/plparse/tests/radioclasica.mp3.m3u
--- old/totem-pl-parser-3.4.4/plparse/tests/radioclasica.mp3.m3u        
1970-01-01 01:00:00.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/tests/radioclasica.mp3.m3u        
2013-04-25 11:50:21.000000000 +0200
@@ -0,0 +1,3 @@
+#EXTM3U
+#EXTINF:-1,Flumotion Stream
+http://195.10.10.207/rtve/radioclasica.mp3?GKID=8b5081ecad8d11e2973900163e914f68
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/plparse/totem-disc.c 
new/totem-pl-parser-3.4.5/plparse/totem-disc.c
--- old/totem-pl-parser-3.4.4/plparse/totem-disc.c      2012-04-05 
17:51:18.000000000 +0200
+++ new/totem-pl-parser-3.4.5/plparse/totem-disc.c      2013-03-29 
18:08:38.000000000 +0100
@@ -429,8 +429,10 @@
     GMount *mount;
 
     mount = g_volume_get_mount (volume);
-    cache->content_types = g_mount_guess_content_type_sync (mount, FALSE, 
NULL, NULL);
-    g_object_unref (mount);
+    if (mount) {
+      cache->content_types = g_mount_guess_content_type_sync (mount, FALSE, 
NULL, NULL);
+      g_object_unref (mount);
+    }
   }
 
   return cache;
@@ -446,8 +448,10 @@
     return FALSE;
 
   drive = g_volume_get_drive (cache->volume);
-  if (drive == NULL)
-    return FALSE;
+  if (drive == NULL) {
+    /* No drive, so not something that can have a medium */
+    return TRUE;
+  }
   retval = g_drive_has_media (drive);
   g_object_unref (drive);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-features.h 
new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-features.h
--- old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-features.h        
2013-03-26 09:00:22.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-features.h        
2013-05-14 12:52:45.000000000 +0200
@@ -27,7 +27,7 @@
  */
 #define TOTEM_PL_PARSER_VERSION_MAJOR  (3)
 #define TOTEM_PL_PARSER_VERSION_MINOR  (4)
-#define TOTEM_PL_PARSER_VERSION_MICRO  (4)
+#define TOTEM_PL_PARSER_VERSION_MICRO  (5)
 
 /* check whether a version equal to or greater than
  * major.minor.micro is present.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-lines.c 
new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-lines.c
--- old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-lines.c   2013-03-20 
12:11:37.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-lines.c   2013-04-25 
12:39:48.000000000 +0200
@@ -333,6 +333,30 @@
        return sep;
 }
 
+static char *
+totem_pl_parser_get_extinfo_length (const char *extinfo)
+{
+       char *res, **items;
+
+       if (extinfo == NULL)
+               return NULL;
+
+       /* It's bound to have an EXTINF if we have extinfo */
+       res = (char *) extinfo + strlen(EXTINF);
+       if (res[0] == '\0')
+               return NULL;
+
+       /* Handle ',' as a field separator */
+       items = g_strsplit (res, ",", 2);
+       if (!items || !items[0] || *items[0] == '\0') {
+               g_strfreev (items);
+               return NULL;
+       }
+       res = g_strdup (items[0]);
+       g_strfreev (items);
+       return res;
+}
+
 TotemPlParserResult
 totem_pl_parser_add_m3u (TotemPlParser *parser,
                         GFile *file,
@@ -395,6 +419,8 @@
 
        for (i = 0; lines[i] != NULL; i++) {
                const char *line;
+               char *length;
+               gint64 length_num = 0;
 
                line = lines[i];
 
@@ -414,13 +440,19 @@
                        continue;
                }
 
+               length = totem_pl_parser_get_extinfo_length (extinfo);
+               if (length != NULL)
+                       length_num = totem_pl_parser_parse_duration (length, 
totem_pl_parser_is_debugging_enabled (parser));
+               g_free (length);
+
                /* Either it's a URI, or it has a proper path ... */
                if (strstr(line, "://") != NULL
                                || line[0] == G_DIR_SEPARATOR) {
                        GFile *uri;
 
                        uri = g_file_new_for_commandline_arg (line);
-                       if (totem_pl_parser_parse_internal (parser, uri, NULL, 
parse_data) != TOTEM_PL_PARSER_RESULT_SUCCESS) {
+                       if (length_num < 0 ||
+                           totem_pl_parser_parse_internal (parser, uri, NULL, 
parse_data) != TOTEM_PL_PARSER_RESULT_SUCCESS) {
                                totem_pl_parser_add_one_uri (parser, line,
                                                
totem_pl_parser_get_extinfo_title (extinfo));
                        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-xspf.c 
new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-xspf.c
--- old/totem-pl-parser-3.4.4/plparse/totem-pl-parser-xspf.c    2013-03-20 
12:11:37.000000000 +0100
+++ new/totem-pl-parser-3.4.5/plparse/totem-pl-parser-xspf.c    2013-04-26 
18:41:54.000000000 +0200
@@ -116,7 +116,6 @@
 
         while (valid) {
                char *uri, *uri_escaped, *relative;
-               GFile *file;
                guint i;
                gboolean wrote_ext;
 
@@ -130,16 +129,6 @@
                         continue;
                }
 
-                file = g_file_new_for_uri (uri);
-
-               if (totem_pl_parser_scheme_is_ignored (parser, file) != FALSE) {
-                       valid = totem_pl_playlist_iter_next (playlist, &iter);
-                       g_object_unref (file);
-                       g_free (uri);
-                       continue;
-               }
-               g_object_unref (file);
-
                /* Whether we already wrote the GNOME extensions section header
                 * for that particular track */
                wrote_ext = FALSE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/totem-pl-parser.spec 
new/totem-pl-parser-3.4.5/totem-pl-parser.spec
--- old/totem-pl-parser-3.4.4/totem-pl-parser.spec      2013-03-26 
09:00:22.000000000 +0100
+++ new/totem-pl-parser-3.4.5/totem-pl-parser.spec      2013-05-14 
12:52:45.000000000 +0200
@@ -1,6 +1,6 @@
 Summary: Playlist Parser Library
 Name: totem-pl-parser
-Version: 3.4.4
+Version: 3.4.5
 Release: 1
 License: LGPL
 Group: Libraries/Multimedia
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/totem-pl-parser-3.4.4/totem-plparser-mini.pc 
new/totem-pl-parser-3.4.5/totem-plparser-mini.pc
--- old/totem-pl-parser-3.4.4/totem-plparser-mini.pc    2013-03-26 
09:00:22.000000000 +0100
+++ new/totem-pl-parser-3.4.5/totem-plparser-mini.pc    2013-05-14 
12:52:45.000000000 +0200
@@ -5,7 +5,7 @@
 
 Name: totem-plparser-mini
 Description: Totem Playlist Parser library, mini version
-Version: 3.4.4
+Version: 3.4.5
 Requires: glib-2.0 gobject-2.0 gio-2.0
 Requires.private: gthread-2.0 
 Libs: -L${libdir} -ltotem-plparser-mini

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to