aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/PlayListFormats/pls
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/PlayListFormats/pls')
-rw-r--r--src/plugins/PlayListFormats/pls/plsplaylistformat.cpp5
-rw-r--r--src/plugins/PlayListFormats/pls/plsplaylistformat.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/PlayListFormats/pls/plsplaylistformat.cpp b/src/plugins/PlayListFormats/pls/plsplaylistformat.cpp
index 76073a7c6..ac4954567 100644
--- a/src/plugins/PlayListFormats/pls/plsplaylistformat.cpp
+++ b/src/plugins/PlayListFormats/pls/plsplaylistformat.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2012 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 *
@@ -64,8 +64,9 @@ QStringList PLSPlaylistFormat::decode(const QString & contents)
return QStringList();
}
-QString PLSPlaylistFormat::encode(const QList<PlayListTrack *> & contents)
+QString PLSPlaylistFormat::encode(const QList<PlayListTrack *> & contents, const QString &path)
{
+ Q_UNUSED(path);
QStringList out;
out << QString("[playlist]");
int counter = 1;
diff --git a/src/plugins/PlayListFormats/pls/plsplaylistformat.h b/src/plugins/PlayListFormats/pls/plsplaylistformat.h
index 86fc18d00..7fed6d810 100644
--- a/src/plugins/PlayListFormats/pls/plsplaylistformat.h
+++ b/src/plugins/PlayListFormats/pls/plsplaylistformat.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 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 *
@@ -37,7 +37,7 @@ class PLSPlaylistFormat : public QObject, public PlayListFormat
public:
const PlayListFormatProperties properties() const;
QStringList decode(const QString& contents);
- QString encode(const QList<PlayListTrack*>& contents);
+ QString encode(const QList<PlayListTrack*>& contents, const QString &path);
};