aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Output/null
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Output/null')
-rw-r--r--src/plugins/Output/null/CMakeLists.txt53
-rw-r--r--src/plugins/Output/null/null.pro42
-rw-r--r--src/plugins/Output/null/outputnull.cpp70
-rw-r--r--src/plugins/Output/null/outputnull.h50
-rw-r--r--src/plugins/Output/null/outputnullfactory.cpp67
-rw-r--r--src/plugins/Output/null/outputnullfactory.h49
-rw-r--r--src/plugins/Output/null/translations/null_plugin_cs.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_de.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_it.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_lt.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_pl.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_ru.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_tr.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_uk_UA.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_zh_CN.ts27
-rw-r--r--src/plugins/Output/null/translations/null_plugin_zh_TW.ts27
-rw-r--r--src/plugins/Output/null/translations/translations.qrc15
17 files changed, 616 insertions, 0 deletions
diff --git a/src/plugins/Output/null/CMakeLists.txt b/src/plugins/Output/null/CMakeLists.txt
new file mode 100644
index 000000000..80ade1b8d
--- /dev/null
+++ b/src/plugins/Output/null/CMakeLists.txt
@@ -0,0 +1,53 @@
+project(libnull)
+
+cmake_minimum_required(VERSION 2.4.7)
+
+if(COMMAND cmake_policy)
+cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+
+# qt plugin
+ADD_DEFINITIONS( -Wall )
+ADD_DEFINITIONS(${QT_DEFINITIONS})
+ADD_DEFINITIONS(-DQT_PLUGIN)
+ADD_DEFINITIONS(-DQT_NO_DEBUG)
+ADD_DEFINITIONS(-DQT_SHARED)
+ADD_DEFINITIONS(-DQT_THREAD)
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+SET(QT_INCLUDES
+ ${QT_INCLUDES}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../../
+)
+
+# libqmmp
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../)
+link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp)
+
+SET(libnull_SRCS
+ outputnull.cpp
+ outputnullfactory.cpp
+)
+
+SET(libnull_MOC_HDRS
+ outputnull.h
+ outputnullfactory.h
+)
+
+SET(libnull_RCCS translations/translations.qrc)
+
+QT4_ADD_RESOURCES(libnull_RCC_SRCS ${libnull_RCCS})
+
+QT4_WRAP_CPP(libnull_MOC_SRCS ${libnull_MOC_HDRS})
+
+
+# Don't forget to include output directory, otherwise
+# the UI file won't be wrapped!
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+
+ADD_LIBRARY(null MODULE ${libnull_SRCS} ${libnull_MOC_SRCS} ${libnull_UIS_H} ${libnull_RCC_SRCS})
+add_dependencies(null qmmp)
+target_link_libraries(null ${QT_LIBRARIES} -lqmmp)
+install(TARGETS null DESTINATION ${LIB_DIR}/qmmp/Output)
diff --git a/src/plugins/Output/null/null.pro b/src/plugins/Output/null/null.pro
new file mode 100644
index 000000000..08675e6fb
--- /dev/null
+++ b/src/plugins/Output/null/null.pro
@@ -0,0 +1,42 @@
+include(../../plugins.pri)
+
+HEADERS += outputnullfactory.h \
+ outputnull.h
+
+SOURCES += outputnullfactory.cpp \
+ outputnull.cpp
+
+
+TARGET=$$PLUGINS_PREFIX/Output/null
+QMAKE_CLEAN =$$PLUGINS_PREFIX/Output/libnull.so
+
+INCLUDEPATH += ../../../
+QMAKE_LIBDIR += ../../../../lib
+
+CONFIG += release \
+warn_on \
+thread \
+plugin
+
+TEMPLATE = lib
+LIBS += -lqmmp
+
+
+TRANSLATIONS = translations/null_plugin_cs.ts \
+ translations/null_plugin_de.ts \
+ translations/null_plugin_zh_CN.ts \
+ translations/null_plugin_zh_TW.ts \
+ translations/null_plugin_ru.ts \
+ translations/null_plugin_pl.ts \
+ translations/null_plugin_uk_UA.ts \
+ translations/null_plugin_it.ts \
+ translations/null_plugin_tr.ts \
+ translations/null_plugin_lt.ts
+RESOURCES = translations/translations.qrc
+
+isEmpty (LIB_DIR){
+LIB_DIR = /lib
+}
+
+target.path = $$LIB_DIR/qmmp/Output
+INSTALLS += target
diff --git a/src/plugins/Output/null/outputnull.cpp b/src/plugins/Output/null/outputnull.cpp
new file mode 100644
index 000000000..796ba8c5b
--- /dev/null
+++ b/src/plugins/Output/null/outputnull.cpp
@@ -0,0 +1,70 @@
+/***************************************************************************
+ * Copyright (C) 2010 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 "outputnull.h"
+
+#define MAX_SIZE 50000
+
+OutputNull::OutputNull(QObject * parent) : Output(parent)
+{
+ m_bytes_per_second = 0;
+}
+
+OutputNull::~OutputNull()
+{}
+
+void OutputNull::configure(quint32 freq, int chan, Qmmp::AudioFormat format)
+{
+ switch (format)
+ {
+ case Qmmp::PCM_S8:
+ m_bytes_per_second = freq * chan;
+ break;
+ case Qmmp::PCM_S24LE:
+ case Qmmp::PCM_S32LE:
+ m_bytes_per_second = freq * chan * 4;
+ break;
+ case Qmmp::PCM_S16LE:
+ default:
+ m_bytes_per_second = freq * chan * 2;
+ }
+ Output::configure(freq, chan, format);
+}
+
+bool OutputNull::initialize()
+{
+ return TRUE;
+}
+
+
+qint64 OutputNull::latency()
+{
+ return 0;
+}
+
+qint64 OutputNull::writeAudio(unsigned char *data, qint64 maxSize)
+{
+ Q_UNUSED(data);
+ usleep(maxSize * 1000000 / m_bytes_per_second);
+ return maxSize;
+}
+
+void OutputNull::flush()
+{}
diff --git a/src/plugins/Output/null/outputnull.h b/src/plugins/Output/null/outputnull.h
new file mode 100644
index 000000000..32b406271
--- /dev/null
+++ b/src/plugins/Output/null/outputnull.h
@@ -0,0 +1,50 @@
+/***************************************************************************
+ * Copyright (C) 2010 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 OUTPUTNULL_H
+#define OUTPUTNULL_H
+
+#include <QObject>
+#include <qmmp/output.h>
+
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
+class OutputNull : public Output
+{
+ Q_OBJECT
+public:
+ OutputNull(QObject * parent = 0);
+ ~OutputNull();
+
+ bool initialize();
+ void configure(quint32, int, Qmmp::AudioFormat format);
+ qint64 latency();
+
+
+private:
+ //output api
+ qint64 writeAudio(unsigned char *data, qint64 maxSize);
+ void flush();
+ qint64 m_bytes_per_second;
+};
+
+
+#endif // OutputNull_H
diff --git a/src/plugins/Output/null/outputnullfactory.cpp b/src/plugins/Output/null/outputnullfactory.cpp
new file mode 100644
index 000000000..c55a6bfa3
--- /dev/null
+++ b/src/plugins/Output/null/outputnullfactory.cpp
@@ -0,0 +1,67 @@
+/***************************************************************************
+ * Copyright (C) 2010 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 <QtGui>
+#include <qmmp/qmmp.h>
+#include "outputnull.h"
+#include "outputnullfactory.h"
+
+
+const OutputProperties OutputNullFactory::properties() const
+{
+ OutputProperties properties;
+ properties.name = tr("Null Plugin");
+ properties.hasAbout = TRUE;
+ properties.hasSettings = FALSE;
+ properties.shortName = "null";
+ return properties;
+}
+
+Output* OutputNullFactory::create(QObject* parent)
+{
+ return new OutputNull(parent);
+}
+
+VolumeControl *OutputNullFactory::createVolumeControl(QObject *)
+{
+ return 0;
+}
+
+void OutputNullFactory::showSettings(QWidget* parent)
+{
+ Q_UNUSED(parent);
+}
+
+void OutputNullFactory::showAbout(QWidget *parent)
+{
+ QMessageBox::about (parent, tr("About Null Output Plugin"),
+ tr("Qmmp Null Output Plugin")+"\n"+
+ tr("Writen by: Ilya Kotov <forkotov02@hotmail.ru>"));
+}
+
+QTranslator *OutputNullFactory::createTranslator(QObject *parent)
+{
+ QTranslator *translator = new QTranslator(parent);
+ QString locale = Qmmp::systemLanguageID();
+ translator->load(QString(":/null_plugin_") + locale);
+ return translator;
+}
+
+Q_EXPORT_PLUGIN2(null, OutputNullFactory)
diff --git a/src/plugins/Output/null/outputnullfactory.h b/src/plugins/Output/null/outputnullfactory.h
new file mode 100644
index 000000000..566d299dd
--- /dev/null
+++ b/src/plugins/Output/null/outputnullfactory.h
@@ -0,0 +1,49 @@
+/***************************************************************************
+ * Copyright (C) 2010 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 OUTPUTNULLFACTORY_H
+#define OUTPUTNULLFACTORY_H
+
+
+#include <QObject>
+#include <QString>
+#include <QIODevice>
+#include <QWidget>
+
+#include <qmmp/output.h>
+#include <qmmp/outputfactory.h>
+
+
+class OutputNullFactory : public QObject,
+ OutputFactory
+{
+Q_OBJECT
+Q_INTERFACES(OutputFactory);
+
+public:
+ const OutputProperties properties() const;
+ Output* create(QObject* parent);
+ VolumeControl *createVolumeControl(QObject *parent);
+ void showSettings(QWidget* parent);
+ void showAbout(QWidget *parent);
+ QTranslator *createTranslator(QObject *parent);
+
+};
+
+#endif
diff --git a/src/plugins/Output/null/translations/null_plugin_cs.ts b/src/plugins/Output/null/translations/null_plugin_cs.ts
new file mode 100644
index 000000000..f21c30463
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_cs.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="cs">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Autor: Ilja Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_de.ts b/src/plugins/Output/null/translations/null_plugin_de.ts
new file mode 100644
index 000000000..6c83323f0
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_de.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="de_DE">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Autor: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_it.ts b/src/plugins/Output/null/translations/null_plugin_it.ts
new file mode 100644
index 000000000..78675ff46
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_it.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="it">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Autore: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_lt.ts b/src/plugins/Output/null/translations/null_plugin_lt.ts
new file mode 100644
index 000000000..f120da302
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_lt.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="lt">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Sukūrė: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_pl.ts b/src/plugins/Output/null/translations/null_plugin_pl.ts
new file mode 100644
index 000000000..c99aa29a7
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_pl.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="pl">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Autor: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_ru.ts b/src/plugins/Output/null/translations/null_plugin_ru.ts
new file mode 100644
index 000000000..7a0fef32e
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_ru.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="ru_RU">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation>Модуль нулевого вывода</translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation>О модуле нулевого вывода</translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation>Модуль нулевого вывода для Qmmp</translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation>Разработчик: Илья Котов &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_tr.ts b/src/plugins/Output/null/translations/null_plugin_tr.ts
new file mode 100644
index 000000000..87408b3d3
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_tr.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="tr_TR">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Yazan: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_uk_UA.ts b/src/plugins/Output/null/translations/null_plugin_uk_UA.ts
new file mode 100644
index 000000000..9f49f7e2b
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_uk_UA.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="uk">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">Розробник: Ілля Котов &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_zh_CN.ts b/src/plugins/Output/null/translations/null_plugin_zh_CN.ts
new file mode 100644
index 000000000..b237533a0
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_zh_CN.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="zh_CN">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/null_plugin_zh_TW.ts b/src/plugins/Output/null/translations/null_plugin_zh_TW.ts
new file mode 100644
index 000000000..84e3494a2
--- /dev/null
+++ b/src/plugins/Output/null/translations/null_plugin_zh_TW.ts
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="zh_TW">
+<context>
+ <name>OutputNullFactory</name>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="30"/>
+ <source>Null Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="54"/>
+ <source>About Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="55"/>
+ <source>Qmmp Null Output Plugin</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../outputnullfactory.cpp" line="56"/>
+ <source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
+ <translation type="unfinished">作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
+ </message>
+</context>
+</TS>
diff --git a/src/plugins/Output/null/translations/translations.qrc b/src/plugins/Output/null/translations/translations.qrc
new file mode 100644
index 000000000..64bf89bee
--- /dev/null
+++ b/src/plugins/Output/null/translations/translations.qrc
@@ -0,0 +1,15 @@
+<!DOCTYPE RCC>
+<RCC version="1.0">
+ <qresource>
+ <file>null_plugin_it.qm</file>
+ <file>null_plugin_cs.qm</file>
+ <file>null_plugin_de.qm</file>
+ <file>null_plugin_zh_CN.qm</file>
+ <file>null_plugin_zh_TW.qm</file>
+ <file>null_plugin_ru.qm</file>
+ <file>null_plugin_uk_UA.qm</file>
+ <file>null_plugin_tr.qm</file>
+ <file>null_plugin_lt.qm</file>
+ <file>null_plugin_pl.qm</file>
+ </qresource>
+</RCC>