From 4b02ec580de46606f5d26190d616c54bf5be8252 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 30 Jan 2012 07:47:36 +0000 Subject: Fixed .pls playlist parsing (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656732) --- tools/playlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/playlist.c b/tools/playlist.c index e65a03c0..24648eaf 100644 --- a/tools/playlist.c +++ b/tools/playlist.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: playlist.c,v 1.33 2010-12-19 14:25:38 phintuka Exp $ + * $Id: playlist.c,v 1.34 2012-01-30 07:47:36 phintuka Exp $ * */ @@ -347,9 +347,9 @@ class cPlsReader : public cPlaylistReader 1 == sscanf(line + 5, "%d=", &n)) { if(*(t+1)) { if(n == m_Current) - Prev()->Title = t; + Prev()->Title = t+1; else - m_Title = t; + m_Title = t+1; } } //else if(!strncasecmp(line, "length", 6) && -- cgit v1.2.3