Author: jbevain
Date: 2007-09-05 07:57:12 -0400 (Wed, 05 Sep 2007)
New Revision: 85351

Modified:
   trunk/moon/src/playlist.cpp
Log:
read the href attribute on refs

Modified: trunk/moon/src/playlist.cpp
===================================================================
--- trunk/moon/src/playlist.cpp 2007-09-05 11:43:45 UTC (rev 85350)
+++ trunk/moon/src/playlist.cpp 2007-09-05 11:57:12 UTC (rev 85351)
@@ -261,7 +261,8 @@
                kind = StartTime;
        } else if (!strcmp (name, "REF")) {
                kind = Ref;
-               parser->GetCurrentEntry ()->SetSource (NULL); // get source 
from href attribute
+               if (attrs && !strcmp (*attrs, "HREF"))
+                       parser->GetCurrentEntry ()->SetSource (g_strdup 
(*(attrs + 1)));
        } else if (!strcmp (name, "TITLE")) {
                kind = Title;
        } else {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to