aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Input/mad/CMakeLists.txt2
-rw-r--r--src/plugins/Input/mad/decoder_mad.cpp21
-rw-r--r--src/plugins/Input/mad/decoder_mad.h3
-rw-r--r--src/plugins/Input/mad/decodermadfactory.cpp18
-rw-r--r--src/plugins/Input/mad/decodermadfactory.h3
-rw-r--r--src/plugins/Input/mad/mad.pro9
-rw-r--r--src/plugins/Input/mad/replaygainreader.cpp63
-rw-r--r--src/plugins/Input/mad/replaygainreader.h44
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_cs.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_de.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_it.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_lt.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_pl.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_ru.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_tr.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_uk_UA.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_zh_CN.ts14
-rw-r--r--src/plugins/Input/mad/translations/mad_plugin_zh_TW.ts14
18 files changed, 203 insertions, 100 deletions
diff --git a/src/plugins/Input/mad/CMakeLists.txt b/src/plugins/Input/mad/CMakeLists.txt
index 174f4f696..e4e0d8130 100644
--- a/src/plugins/Input/mad/CMakeLists.txt
+++ b/src/plugins/Input/mad/CMakeLists.txt
@@ -38,6 +38,7 @@ SET(libmad_SRCS
settingsdialog.cpp
tagextractor.cpp
mpegmetadatamodel.cpp
+ replaygainreader.cpp
)
SET(libmad_MOC_HDRS
@@ -46,6 +47,7 @@ SET(libmad_MOC_HDRS
decoder_mad.h
tagextractor.h
mpegmetadatamodel.h
+ replaygainreader.h
)
SET(libmad_RCCS translations/translations.qrc)
diff --git a/src/plugins/Input/mad/decoder_mad.cpp b/src/plugins/Input/mad/decoder_mad.cpp
index 3707abcbc..f76ff9350 100644
--- a/src/plugins/Input/mad/decoder_mad.cpp
+++ b/src/plugins/Input/mad/decoder_mad.cpp
@@ -8,21 +8,18 @@
#include <QtGui>
#include <taglib/id3v2header.h>
#include <taglib/tbytevector.h>
-
-#include "decoder_mad.h"
-#include "tagextractor.h"
#include <qmmp/buffer.h>
#include <qmmp/output.h>
-
#include <math.h>
#include <stdio.h>
+#include "tagextractor.h"
+#include "replaygainreader.h"
+#include "decoder_mad.h"
#define XING_MAGIC (('X' << 24) | ('i' << 16) | ('n' << 8) | 'g')
#define INPUT_BUFFER_SIZE (32*1024)
-
-DecoderMAD::DecoderMAD(QIODevice *i)
- : Decoder(i)
+DecoderMAD::DecoderMAD(const QString &url, QIODevice *i) : Decoder(i)
{
m_inited = false;
m_totalTime = 0;
@@ -36,6 +33,7 @@ DecoderMAD::DecoderMAD(QIODevice *i)
m_output_at = 0;
m_skip_frames = 0;
m_eof = false;
+ m_url = url;
}
DecoderMAD::~DecoderMAD()
@@ -100,7 +98,14 @@ bool DecoderMAD::initialize()
mad_frame_mute (&frame);
stream.next_frame = 0;
stream.sync = 0;
- configure(m_freq, m_channels, 16);
+
+ if(!m_url.contains("://"))
+ {
+ ReplayGainReader rg(m_url);
+ configure(m_freq, m_channels, 16, rg.replayGainInfo());
+ }
+ else
+ configure(m_freq, m_channels, 16);
m_inited = TRUE;
return TRUE;
diff --git a/src/plugins/Input/mad/decoder_mad.h b/src/plugins/Input/mad/decoder_mad.h
index c78e3f8c8..a98f7fbf7 100644
--- a/src/plugins/Input/mad/decoder_mad.h
+++ b/src/plugins/Input/mad/decoder_mad.h
@@ -22,7 +22,7 @@ extern "C"
class DecoderMAD : public Decoder
{
public:
- DecoderMAD(QIODevice *i);
+ DecoderMAD(const QString &url, QIODevice *i);
virtual ~DecoderMAD();
// standard decoder API
@@ -46,6 +46,7 @@ private:
uint m_bitrate;
long m_freq, m_len;
qint64 m_output_bytes, m_output_at;
+ QString m_url;
// file input buffer
char *m_input_buf;
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp
index fa89e5f5d..2ec86e011 100644
--- a/src/plugins/Input/mad/decodermadfactory.cpp
+++ b/src/plugins/Input/mad/decodermadfactory.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008 by Ilya Kotov *
+ * Copyright (C) 2008-2009 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -30,7 +30,6 @@
#include <taglib/apetag.h>
#include <taglib/tfile.h>
#include <taglib/mpegfile.h>
-
#include "mpegmetadatamodel.h"
#include "settingsdialog.h"
#include "decoder_mad.h"
@@ -94,9 +93,9 @@ const DecoderProperties DecoderMADFactory::properties() const
return properties;
}
-Decoder *DecoderMADFactory::create(const QString&, QIODevice *input)
+Decoder *DecoderMADFactory::create(const QString &url, QIODevice *input)
{
- return new DecoderMAD(input);
+ return new DecoderMAD(url, input);
}
QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, bool useMetaData)
@@ -117,21 +116,17 @@ QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, boo
tag_array[1] = settings.value("tag_2", SettingsDialog::Disabled).toInt();
tag_array[2] = settings.value("tag_3", SettingsDialog::Disabled).toInt();
-
+ QByteArray name;
for (int i = 0; i < 3; ++i)
{
switch ((uint) tag_array[i])
{
case SettingsDialog::ID3v1:
- {
codec = QTextCodec::codecForName(settings.value("ID3v1_encoding","ISO-8859-1")
.toByteArray ());
tag = fileRef.ID3v1Tag();
break;
- }
case SettingsDialog::ID3v2:
- {
- QByteArray name;
name = settings.value("ID3v2_encoding","UTF-8").toByteArray ();
if (name.contains("UTF"))
codec = QTextCodec::codecForName ("UTF-8");
@@ -139,18 +134,13 @@ QList<FileInfo *> DecoderMADFactory::createPlayList(const QString &fileName, boo
codec = QTextCodec::codecForName(name);
tag = fileRef.ID3v2Tag();
break;
- }
case SettingsDialog::APE:
- {
codec = QTextCodec::codecForName ("UTF-8");
tag = fileRef.APETag();
break;
- }
case SettingsDialog::Disabled:
- {
break;
}
- }
if (tag && !tag->isEmpty())
break;
}
diff --git a/src/plugins/Input/mad/decodermadfactory.h b/src/plugins/Input/mad/decodermadfactory.h
index a4e18c8f4..a9831cd08 100644
--- a/src/plugins/Input/mad/decodermadfactory.h
+++ b/src/plugins/Input/mad/decodermadfactory.h
@@ -30,9 +30,6 @@
#include <qmmp/decoderfactory.h>
#include <qmmp/metadatamodel.h>
-
-
-
class DecoderMADFactory : public QObject,
DecoderFactory
{
diff --git a/src/plugins/Input/mad/mad.pro b/src/plugins/Input/mad/mad.pro
index db7bab22a..d83092b77 100644
--- a/src/plugins/Input/mad/mad.pro
+++ b/src/plugins/Input/mad/mad.pro
@@ -4,12 +4,14 @@ HEADERS += decodermadfactory.h \
decoder_mad.h \
settingsdialog.h \
tagextractor.h \
- mpegmetadatamodel.h
+ mpegmetadatamodel.h \
+ replaygainreader.h
SOURCES += decoder_mad.cpp \
decodermadfactory.cpp \
settingsdialog.cpp \
tagextractor.cpp \
- mpegmetadatamodel.cpp
+ mpegmetadatamodel.cpp \
+ replaygainreader.cpp
TARGET = $$PLUGINS_PREFIX/Input/mad
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmad.so
INCLUDEPATH += ../../../ \
@@ -47,6 +49,5 @@ unix {
target.path = $$LIB_DIR/qmmp/Input
INSTALLS += target
}
-
win32:HEADERS += ../../../../src/qmmp/metadatamodel.h \
- ../../../../src/qmmp/decoderfactory.h
+ ../../../../src/qmmp/decoderfactory.h
diff --git a/src/plugins/Input/mad/replaygainreader.cpp b/src/plugins/Input/mad/replaygainreader.cpp
new file mode 100644
index 000000000..88f3dc974
--- /dev/null
+++ b/src/plugins/Input/mad/replaygainreader.cpp
@@ -0,0 +1,63 @@
+/***************************************************************************
+ * Copyright (C) 2009 by Ilya Kotov *
+ * forkotov02@hotmail.ru *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+#include <QtGlobal>
+#include <taglib/mpegfile.h>
+#include <taglib/id3v2tag.h>
+#include <taglib/tag.h>
+#include <taglib/id3v1tag.h>
+#include <taglib/id3v2header.h>
+#include "replaygainreader.h"
+
+ReplayGainReader::ReplayGainReader(const QString &path)
+{
+ TagLib::MPEG::File fileRef(path.toLocal8Bit ().constData());
+ if(fileRef.APETag())
+ readAPE(fileRef.APETag());
+}
+
+QMap <Qmmp::ReplayGainKey, double> ReplayGainReader::replayGainInfo() const
+{
+ return m_values;
+}
+
+void ReplayGainReader::readAPE(TagLib::APE::Tag *tag)
+{
+ TagLib::APE::ItemListMap items = tag->itemListMap();
+ if (items.contains("REPLAYGAIN_TRACK_GAIN"))
+ setValue(Qmmp::REPLAYGAIN_TRACK_GAIN,TStringToQString(items["REPLAYGAIN_TRACK_GAIN"].values()[0]));
+ if (items.contains("REPLAYGAIN_TRACK_PEAK"))
+ setValue(Qmmp::REPLAYGAIN_TRACK_PEAK,TStringToQString(items["REPLAYGAIN_TRACK_PEAK"].values()[0]));
+ if (items.contains("REPLAYGAIN_ALBUM_GAIN"))
+ setValue(Qmmp::REPLAYGAIN_ALBUM_GAIN,TStringToQString(items["REPLAYGAIN_ALBUM_GAIN"].values()[0]));
+ if (items.contains("REPLAYGAIN_ALBUM_PEAK"))
+ setValue(Qmmp::REPLAYGAIN_ALBUM_PEAK,TStringToQString(items["REPLAYGAIN_ALBUM_PEAK"].values()[0]));
+}
+
+void ReplayGainReader::setValue(Qmmp::ReplayGainKey key, QString value)
+{
+ value.remove(" dB");
+ if(value.isEmpty())
+ return;
+ bool ok;
+ double v = value.toDouble(&ok);
+ if(ok)
+ m_values[key] = v;
+}
diff --git a/src/plugins/Input/mad/replaygainreader.h b/src/plugins/Input/mad/replaygainreader.h
new file mode 100644
index 000000000..2129a69d6
--- /dev/null
+++ b/src/plugins/Input/mad/replaygainreader.h
@@ -0,0 +1,44 @@
+/***************************************************************************
+ * Copyright (C) 2009 by Ilya Kotov *
+ * forkotov02@hotmail.ru *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+#ifndef REPLAYGAINREADER_H
+#define REPLAYGAINREADER_H
+
+#include <QMap>
+#include <QString>
+#include <taglib/apetag.h>
+#include <qmmp/qmmp.h>
+
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
+class ReplayGainReader
+{
+public:
+ ReplayGainReader(const QString &path);
+ QMap <Qmmp::ReplayGainKey, double> replayGainInfo() const;
+
+private:
+ void readAPE(TagLib::APE::Tag *tag);
+ void setValue(Qmmp::ReplayGainKey key, QString value);
+ QMap <Qmmp::ReplayGainKey, double> m_values;
+};
+
+#endif // REPLAYGAINREADER_H
diff --git a/src/plugins/Input/mad/translations/mad_plugin_cs.ts b/src/plugins/Input/mad/translations/mad_plugin_cs.ts
index ff4cb3afe..ac90ee91e 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_cs.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_cs.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>Modul MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>Soubory MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>O modulu MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Vstupní modul Qmmp MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Zkompilováno s libmad verze:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Autor: Ilja Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Zdrojový kód je založen na projektu mq3</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_de.ts b/src/plugins/Input/mad/translations/mad_plugin_de.ts
index 4b5280861..091f7a4aa 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_de.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_de.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>MPEG-Modul</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>MPEG-Dateien</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>Über MPEG-Audio-Modul</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Qmmp MPEG-Audio-Modul</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Kompiliert gegen libmad-Version:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Autor: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Quellcode basiert auf dem mq3-Projekt</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_it.ts b/src/plugins/Input/mad/translations/mad_plugin_it.ts
index cdd9f1316..df9f0126e 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_it.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_it.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>Modulo MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>Brani MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>Info sul modulo audio MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Modulo audio MPEG per Qmmp</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Compilato con libmad-Version:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Autore: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Codice sorgente basato sul progetto mq3</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_lt.ts b/src/plugins/Input/mad/translations/mad_plugin_lt.ts
index ec3ceeb58..9e6851995 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_lt.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_lt.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>MPEG įskiepis</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>MPEG bylos</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>Apie MPEG audio įskiepį</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Qmmp MPEG įskiepis</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Sukurta libmad pagrindu:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Sukūrė: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Išvesties kodas sukurtas mq3 pagrindu</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_pl.ts b/src/plugins/Input/mad/translations/mad_plugin_pl.ts
index ca98436b4..209d3303d 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_pl.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_pl.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>Wtyczka MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>Pliki MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>O wtyczce Audio MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Wtyczka MPEG Audio dla Qmmp</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Skompilowane przy użyciu biblioteki libmad w wersji:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Autor: Ilja Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Kod źródłowy oparty na projekcie mq3</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_ru.ts b/src/plugins/Input/mad/translations/mad_plugin_ru.ts
index 2999140bd..a913f51d7 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_ru.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_ru.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>Модуль MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>Файлы MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>Об аудио-модуле MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Аудио-модуль MPEG для Qmmp</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Собрано с версией libmad:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Разработчик: Илья Котов &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Исходный код основан на проекте mq3</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_tr.ts b/src/plugins/Input/mad/translations/mad_plugin_tr.ts
index 8ddeece6f..731fefe6d 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_tr.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_tr.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>MPEG Eklentisi</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>MPEG Dosyaları</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>MPEG Ses Eklentisi Hakkında</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Qmmp MPEG Ses Eklentisi</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Derlendiği libmad sürümü:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Yazan: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Kaynak kodu mq3 projesi temellidir</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_uk_UA.ts b/src/plugins/Input/mad/translations/mad_plugin_uk_UA.ts
index 5a47cc2cb..c509c85ca 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_uk_UA.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_uk_UA.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>Модуль MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>Файли MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>Про аудіо-модуль MPEG</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Аудіо-модуль MPEG для Qmmp</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>Зібрано з версією libmad:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Розробник: Ілля Котов &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>Вихідний код базується на проекті mq3</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_zh_CN.ts b/src/plugins/Input/mad/translations/mad_plugin_zh_CN.ts
index c6ed93ab4..5b7aef659 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_zh_CN.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_zh_CN.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>MPEG 插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>MPEG 文件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>关于 MPEG 音频插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Qmmp MPEG 音频插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>编译基于 libmad 的版本:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>源代码基于 mq3 项目</translation>
</message>
diff --git a/src/plugins/Input/mad/translations/mad_plugin_zh_TW.ts b/src/plugins/Input/mad/translations/mad_plugin_zh_TW.ts
index 05b2c760b..db84455c7 100644
--- a/src/plugins/Input/mad/translations/mad_plugin_zh_TW.ts
+++ b/src/plugins/Input/mad/translations/mad_plugin_zh_TW.ts
@@ -4,37 +4,37 @@
<context>
<name>DecoderMADFactory</name>
<message>
- <location filename="../decodermadfactory.cpp" line="87"/>
+ <location filename="../decodermadfactory.cpp" line="86"/>
<source>MPEG Plugin</source>
<translation>MPEG 插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="90"/>
+ <location filename="../decodermadfactory.cpp" line="89"/>
<source>MPEG Files</source>
<translation>MPEG 檔案</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="223"/>
+ <location filename="../decodermadfactory.cpp" line="213"/>
<source>About MPEG Audio Plugin</source>
<translation>關於 MPEG 聲訊插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="224"/>
+ <location filename="../decodermadfactory.cpp" line="214"/>
<source>Qmmp MPEG Audio Plugin</source>
<translation>Qmmp MPEG 聲訊插件</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="225"/>
+ <location filename="../decodermadfactory.cpp" line="215"/>
<source>Compiled against libmad version:</source>
<translation>編譯基於 libmad 的版本:</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="229"/>
+ <location filename="../decodermadfactory.cpp" line="219"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermadfactory.cpp" line="230"/>
+ <location filename="../decodermadfactory.cpp" line="220"/>
<source>Source code based on mq3 progect</source>
<translation>源碼基於 mq3 項目</translation>
</message>