From 8d146b246e3da5d26b9501ca509a43ef4112e27d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 5 Aug 2018 08:21:43 +0000 Subject: fixed remaing plugins git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8229 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/archive/decoderarchivefactory.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/plugins/Input/archive/decoderarchivefactory.cpp') diff --git a/src/plugins/Input/archive/decoderarchivefactory.cpp b/src/plugins/Input/archive/decoderarchivefactory.cpp index 8ebaefc00..3f64fff6d 100644 --- a/src/plugins/Input/archive/decoderarchivefactory.cpp +++ b/src/plugins/Input/archive/decoderarchivefactory.cpp @@ -25,7 +25,6 @@ #include "decoder_archive.h" #include "archivetagreader.h" #include "archiveinputdevice.h" -#include "archivemetadatamodel.h" #include "decoderarchivefactory.h" // DecoderArchiveFactory @@ -123,6 +122,7 @@ QList DecoderArchiveFactory::createPlayList(const QString &path, Tr list.last()->setValue(Qmmp::BITRATE, ap->bitrate()); list.last()->setValue(Qmmp::SAMPLERATE, ap->sampleRate()); list.last()->setValue(Qmmp::CHANNELS, ap->channels()); + list.last()->setValue(Qmmp::FILE_SIZE, dev.size()); } if(ap) @@ -136,9 +136,12 @@ QList DecoderArchiveFactory::createPlayList(const QString &path, Tr return list; } -MetaDataModel* DecoderArchiveFactory::createMetaDataModel(const QString &path, QObject *parent) +MetaDataModel* DecoderArchiveFactory::createMetaDataModel(const QString &path, bool readOnly, QObject *parent) { - return new ArchiveMetaDataModel(path, parent); + Q_UNUSED(path); + Q_UNUSED(readOnly); + Q_UNUSED(parent); + return 0; } void DecoderArchiveFactory::showSettings(QWidget *) -- cgit v1.2.3-13-gbd6f