aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-12 12:49:11 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-12 12:49:11 +0000
commitb45f600a4ecf9b3f6121a30794e9fcbbb2fee621 (patch)
treed746e7f60565bcf19f9489bedc9c850c8559242c /src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
parent7a1dd2cf2c2b4b6c8bbdf3c3282feeef1be1cac1 (diff)
downloadqmmp-b45f600a4ecf9b3f6121a30794e9fcbbb2fee621.tar.gz
qmmp-b45f600a4ecf9b3f6121a30794e9fcbbb2fee621.tar.bz2
qmmp-b45f600a4ecf9b3f6121a30794e9fcbbb2fee621.zip
improved m3u support (#910)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7227 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp')
-rw-r--r--src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
index adea65e0e..d5ab21fb5 100644
--- a/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
+++ b/src/plugins/PlayListFormats/xspf/xspfplaylistformat.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2014 by Ilya Kotov *
+ * Copyright (C) 2008-2017 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -88,8 +88,9 @@ QStringList XSPFPlaylistFormat::decode(const QString & contents)
// Needs more work - it's better use libSpiff there and put it as plugin.
-QString XSPFPlaylistFormat::encode(const QList<PlayListTrack*> & files)
+QString XSPFPlaylistFormat::encode(const QList<PlayListTrack*> & files, const QString &path)
{
+ Q_UNUSED(path);
QString out;
QXmlStreamWriter xml(&out);
xml.setCodec("UTF-8");