aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-06 13:19:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-03-06 13:19:48 +0000
commit3e34c29f779c920bea0e7322aea18feb2f6dd527 (patch)
tree6890150453ef311371c94bac66db0e83db4d4c50 /src/plugins
parentcda0f909b32538ec98b891590ae17c4115da0846 (diff)
downloadqmmp-3e34c29f779c920bea0e7322aea18feb2f6dd527.tar.gz
qmmp-3e34c29f779c920bea0e7322aea18feb2f6dd527.tar.bz2
qmmp-3e34c29f779c920bea0e7322aea18feb2f6dd527.zip
mplayer settings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@823 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Input/mplayer/CMakeLists.txt20
-rw-r--r--src/plugins/Input/mplayer/decoder_mplayer.cpp16
-rw-r--r--src/plugins/Input/mplayer/decoder_mplayer.h2
-rw-r--r--src/plugins/Input/mplayer/decodermplayerfactory.cpp11
-rw-r--r--src/plugins/Input/mplayer/mplayer.pro9
-rw-r--r--src/plugins/Input/mplayer/settingsdialog.cpp65
-rw-r--r--src/plugins/Input/mplayer/settingsdialog.h46
-rw-r--r--src/plugins/Input/mplayer/settingsdialog.ui98
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts57
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts57
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts57
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts57
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts57
-rw-r--r--src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts57
14 files changed, 544 insertions, 65 deletions
diff --git a/src/plugins/Input/mplayer/CMakeLists.txt b/src/plugins/Input/mplayer/CMakeLists.txt
index 3cb2bc956..16f657e42 100644
--- a/src/plugins/Input/mplayer/CMakeLists.txt
+++ b/src/plugins/Input/mplayer/CMakeLists.txt
@@ -28,17 +28,17 @@ link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp)
SET(libmplayer_SRCS
- decoder_mplayer.cpp
- decodermplayerfactory.cpp
- detailsdialog.cpp
-# settingsdialog.cpp
+ decoder_mplayer.cpp
+ decodermplayerfactory.cpp
+ detailsdialog.cpp
+ settingsdialog.cpp
)
SET(libmplayer_MOC_HDRS
- decodermplayerfactory.h
- decoder_mplayer.h
- detailsdialog.h
-# settingsdialog.h
+ decodermplayerfactory.h
+ decoder_mplayer.h
+ detailsdialog.h
+ settingsdialog.h
)
SET(libmplayer_RCCS translations/translations.qrc)
@@ -51,8 +51,8 @@ QT4_WRAP_CPP(libmplayer_MOC_SRCS ${libmplayer_MOC_HDRS})
SET(libmplayer_UIS
-# settingsdialog.ui
- detailsdialog.ui
+ settingsdialog.ui
+ detailsdialog.ui
)
QT4_WRAP_UI(libmplayer_UIS_H ${libmplayer_UIS})
diff --git a/src/plugins/Input/mplayer/decoder_mplayer.cpp b/src/plugins/Input/mplayer/decoder_mplayer.cpp
index 44c61184c..45b835a15 100644
--- a/src/plugins/Input/mplayer/decoder_mplayer.cpp
+++ b/src/plugins/Input/mplayer/decoder_mplayer.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 *
@@ -34,6 +34,7 @@
#include <QKeyEvent>
#include <QMenu>
#include <QRegExp>
+#include <QSettings>
#include "decoder_mplayer.h"
@@ -110,6 +111,13 @@ bool DecoderMplayer::initialize()
delete info;
m_args.clear();
m_args << "-slave";
+ QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
+ QString ao_str = settings.value("mplayer/ao","default").toString();
+ QString vo_str = settings.value("mplayer/vo","default").toString();
+ if (ao_str != "default")
+ m_args << "ao=" + ao_str;
+ if (vo_str != "default")
+ m_args << "vo=" + vo_str;
m_args << m_url;
connect(m_process, SIGNAL(readyReadStandardOutput()), SLOT(readStdOut()));
return TRUE;
@@ -131,7 +139,7 @@ void DecoderMplayer::stop()
if (m_process->state() == QProcess::Running)
{
m_process->write("quit\n");
- m_process->waitForFinished(200);
+ m_process->waitForFinished(1500);
}
StateHandler::instance()->dispatch(Qmmp::Stopped);
}
@@ -179,13 +187,13 @@ void DecoderMplayer::readStdOut()
else if (rx_end.indexIn(line) > -1)
{
if (m_process->state() == QProcess::Running)
- m_process->waitForFinished(500);
+ m_process->waitForFinished(1500);
finish();
}
else if (rx_quit.indexIn(line) > -1)
{
if (m_process->state() == QProcess::Running)
- m_process->waitForFinished(500);
+ m_process->waitForFinished(1500);
StateHandler::instance()->dispatch(Qmmp::Stopped);
}
else if (rx_audio.indexIn(line) > -1)
diff --git a/src/plugins/Input/mplayer/decoder_mplayer.h b/src/plugins/Input/mplayer/decoder_mplayer.h
index 2a754239e..2fff55ab0 100644
--- a/src/plugins/Input/mplayer/decoder_mplayer.h
+++ b/src/plugins/Input/mplayer/decoder_mplayer.h
@@ -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 *
diff --git a/src/plugins/Input/mplayer/decodermplayerfactory.cpp b/src/plugins/Input/mplayer/decodermplayerfactory.cpp
index acabeda40..28f81663b 100644
--- a/src/plugins/Input/mplayer/decodermplayerfactory.cpp
+++ b/src/plugins/Input/mplayer/decodermplayerfactory.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 *
@@ -20,6 +20,7 @@
#include <QtGui>
#include "detailsdialog.h"
+#include "settingsdialog.h"
#include "decoder_mplayer.h"
#include "decodermplayerfactory.h"
@@ -53,7 +54,7 @@ const DecoderProperties DecoderMplayerFactory::properties() const
//properties.contentType = "application/ogg;audio/x-vorbis+ogg";
properties.protocols = "file";
properties.hasAbout = TRUE;
- properties.hasSettings = FALSE;
+ properties.hasSettings = TRUE;
properties.noInput = TRUE;
properties.noOutput = TRUE;
return properties;
@@ -82,10 +83,10 @@ QObject* DecoderMplayerFactory::showDetails(QWidget *parent, const QString &path
return d;
}
-void DecoderMplayerFactory::showSettings(QWidget *)
+void DecoderMplayerFactory::showSettings(QWidget *parent)
{
- /*SettingsDialog *s = new SettingsDialog(parent);
- s->show();*/
+ SettingsDialog *s = new SettingsDialog(parent);
+ s->show();
}
void DecoderMplayerFactory::showAbout(QWidget *parent)
diff --git a/src/plugins/Input/mplayer/mplayer.pro b/src/plugins/Input/mplayer/mplayer.pro
index c94d7a388..786d4aa71 100644
--- a/src/plugins/Input/mplayer/mplayer.pro
+++ b/src/plugins/Input/mplayer/mplayer.pro
@@ -2,11 +2,13 @@ include(../../plugins.pri)
HEADERS += decodermplayerfactory.h \
decoder_mplayer.h \
- detailsdialog.h
+ detailsdialog.h \
+ settingsdialog.h
SOURCES += decoder_mplayer.cpp \
decodermplayerfactory.cpp \
- detailsdialog.cpp
+ detailsdialog.cpp \
+ settingsdialog.cpp
TARGET =$$PLUGINS_PREFIX/Input/mplayer
QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libmplayer.so
@@ -35,4 +37,5 @@ isEmpty(LIB_DIR){
target.path = $$LIB_DIR/qmmp/Input
INSTALLS += target
-FORMS += detailsdialog.ui
+FORMS += detailsdialog.ui \
+ settingsdialog.ui
diff --git a/src/plugins/Input/mplayer/settingsdialog.cpp b/src/plugins/Input/mplayer/settingsdialog.cpp
new file mode 100644
index 000000000..9dc84088d
--- /dev/null
+++ b/src/plugins/Input/mplayer/settingsdialog.cpp
@@ -0,0 +1,65 @@
+/***************************************************************************
+ * 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 <QSettings>
+
+#include <qmmp/qmmp.h>
+
+#include "settingsdialog.h"
+
+SettingsDialog::SettingsDialog(QWidget *parent)
+ : QDialog(parent)
+{
+ ui.setupUi(this);
+ setAttribute(Qt::WA_DeleteOnClose);
+ ui.videoComboBox->addItem(tr("default"));
+ ui.videoComboBox->addItem("xv");
+ ui.videoComboBox->addItem("x11");
+ ui.videoComboBox->addItem("gl");
+ ui.videoComboBox->addItem("gl2");
+ ui.videoComboBox->addItem("dga");
+ ui.videoComboBox->addItem("sdl");
+ ui.videoComboBox->addItem("null");
+ ui.audioComboBox->addItem(tr("default"));
+ ui.audioComboBox->addItem("oss");
+ ui.audioComboBox->addItem("alsa");
+ ui.audioComboBox->addItem("pulse");
+ ui.audioComboBox->addItem("jack");
+ ui.audioComboBox->addItem("nas");
+ ui.audioComboBox->addItem("null");
+ QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
+ settings.beginGroup("mplayer");
+ ui.audioComboBox->setEditText(settings.value("ao","default").toString().replace("default", tr("default")));
+ ui.videoComboBox->setEditText(settings.value("vo","default").toString().replace("default", tr("default")));
+ settings.endGroup();
+}
+
+
+SettingsDialog::~SettingsDialog()
+{}
+
+void SettingsDialog::accept()
+{
+ QSettings settings(Qmmp::configFile(), QSettings::IniFormat);
+ settings.beginGroup("mplayer");
+ settings.setValue("ao",ui.audioComboBox->currentText().replace(tr("default"), "default"));
+ settings.setValue("vo",ui.videoComboBox->currentText().replace(tr("default"), "default"));
+ settings.endGroup();
+ QDialog::accept();
+}
diff --git a/src/plugins/Input/mplayer/settingsdialog.h b/src/plugins/Input/mplayer/settingsdialog.h
new file mode 100644
index 000000000..9ba56bce8
--- /dev/null
+++ b/src/plugins/Input/mplayer/settingsdialog.h
@@ -0,0 +1,46 @@
+/***************************************************************************
+ * 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 SETTINGSDIALOG_H
+#define SETTINGSDIALOG_H
+
+#include <QDialog>
+
+#include "ui_settingsdialog.h"
+
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
+class SettingsDialog : public QDialog
+{
+Q_OBJECT
+public:
+ SettingsDialog(QWidget *parent = 0);
+
+ ~SettingsDialog();
+
+
+public slots:
+ virtual void accept();
+
+private:
+ Ui::SettingsDialog ui;
+};
+
+#endif
diff --git a/src/plugins/Input/mplayer/settingsdialog.ui b/src/plugins/Input/mplayer/settingsdialog.ui
new file mode 100644
index 000000000..a5faa97be
--- /dev/null
+++ b/src/plugins/Input/mplayer/settingsdialog.ui
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>SettingsDialog</class>
+ <widget class="QDialog" name="SettingsDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>229</width>
+ <height>93</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>MPlayer Settings</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="leftMargin">
+ <number>6</number>
+ </property>
+ <property name="rightMargin">
+ <number>6</number>
+ </property>
+ <property name="bottomMargin">
+ <number>6</number>
+ </property>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Video:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QComboBox" name="videoComboBox">
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Audio:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QComboBox" name="audioComboBox">
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>SettingsDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>199</x>
+ <y>78</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>76</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>SettingsDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>202</x>
+ <y>78</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>40</x>
+ <y>81</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts
index 841f44ae7..ff3bd22eb 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_cs.ts
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="cs">
+<!DOCTYPE TS>
+<TS version="2.0" language="cs">
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation>Modul MPlayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation>Videosoubory</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<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="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation>O modulu MPlayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation>Modul Qmmp MPlayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation>Tento modul používá jako backend MPlayer</translation>
</message>
@@ -41,6 +42,18 @@
<translation>KB</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -86,6 +99,7 @@
<translation>Rozlišení:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation>Datový tok:</translation>
@@ -101,6 +115,7 @@
<translation>FPS:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation>Kodek:</translation>
@@ -131,4 +146,32 @@
<translation>Obecné informace</translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts
index eb3de242f..7328ad7d4 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_de.ts
@@ -1,35 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="de">
+<!DOCTYPE TS>
+<TS version="2.0" language="de">
<defaultcodec></defaultcodec>
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation>MPlayer-Plugin</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation>Videodateien</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<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="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation>Über MPlayer-Plugin</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation>Qmmp MPlayer-Plugin</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation>Dieses Plugin nutzt MPlayer als Backend</translation>
</message>
@@ -42,6 +43,18 @@
<translation>KB</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -87,6 +100,7 @@
<translation>Auflösung:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation>Bitrate:</translation>
@@ -102,6 +116,7 @@
<translation>FPS:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation>Codec:</translation>
@@ -132,4 +147,32 @@
<translation>Allgemeine Informationen</translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts
index 3033a6cb5..85f2c9120 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_ru.ts
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="ru">
+<!DOCTYPE TS>
+<TS version="2.0" language="ru">
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation>Модуль MPlayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation>Файлы видео</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Разработчик: Илья Котов &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation>О модуле MPlayer для Qmmp</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation>Модуль поддержки MPlayer для Qmmp</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation>В этом модуле для воспроизведения используется Mplayer</translation>
</message>
@@ -41,6 +42,18 @@
<translation>Закрыть</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -86,6 +99,7 @@
<translation>Разрешение:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation>Битовая частота:</translation>
@@ -101,6 +115,7 @@
<translation>Частота кадров:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation>Кодек:</translation>
@@ -131,4 +146,32 @@
<translation>Общая информация</translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation>по умолчанию</translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation>Настройки MPlayer</translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation>Видео:</translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation>Аудио:</translation>
+ </message>
+</context>
</TS>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts
index 7c0e1a174..5f49ff6c8 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_uk_UA.ts
@@ -1,35 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="uk">
+<!DOCTYPE TS>
+<TS version="2.0" language="uk">
<defaultcodec></defaultcodec>
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation>Модуль Mplayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation>Відео файли</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation>Розробник: Ілля Котов &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation>Про модуль Mplayer</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation>Модуль Mplayer для Qmmp</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation>Цей модуль використовує MPlayer як бекенд</translation>
</message>
@@ -42,6 +43,18 @@
<translation>Закрити</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -87,6 +100,7 @@
<translation>Роздільність:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation>Бітрейт:</translation>
@@ -102,6 +116,7 @@
<translation>Кадрів в секунду:</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation>Кодек:</translation>
@@ -132,4 +147,32 @@
<translation>Головна інформація</translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts
index b8fe3a013..8d4a129ea 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_CN.ts
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="zh_CN">
+<!DOCTYPE TS>
+<TS version="2.0" language="zh_CN">
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation type="unfinished">作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation type="unfinished"></translation>
</message>
@@ -41,6 +42,18 @@
<translation>关闭</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -86,6 +99,7 @@
<translation type="unfinished"></translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
@@ -101,6 +115,7 @@
<translation type="unfinished"></translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation type="unfinished"></translation>
@@ -131,4 +146,32 @@
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>
diff --git a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts
index 6599b8d0d..09bae6a2e 100644
--- a/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts
+++ b/src/plugins/Input/mplayer/translations/mplayer_plugin_zh_TW.ts
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="zh_TW">
+<!DOCTYPE TS>
+<TS version="2.0" language="zh_TW">
<context>
<name>DecoderMplayerFactory</name>
<message>
- <location filename="../decodermplayerfactory.cpp" line="49"/>
+ <location filename="../decodermplayerfactory.cpp" line="50"/>
<source>Mplayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="52"/>
+ <location filename="../decodermplayerfactory.cpp" line="53"/>
<source>Video Files</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="96"/>
+ <location filename="../decodermplayerfactory.cpp" line="97"/>
<source>Writen by: Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source>
<translation type="unfinished">作者:Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="93"/>
+ <location filename="../decodermplayerfactory.cpp" line="94"/>
<source>About MPlayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="94"/>
+ <location filename="../decodermplayerfactory.cpp" line="95"/>
<source>Qmmp MPlayer Plugin</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../decodermplayerfactory.cpp" line="95"/>
+ <location filename="../decodermplayerfactory.cpp" line="96"/>
<source>This plugin uses MPlayer as backend</source>
<translation type="unfinished"></translation>
</message>
@@ -41,6 +42,18 @@
<translation>關閉</translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="58"/>
+ <location filename="../detailsdialog.ui" line="72"/>
+ <location filename="../detailsdialog.ui" line="86"/>
+ <location filename="../detailsdialog.ui" line="127"/>
+ <location filename="../detailsdialog.ui" line="147"/>
+ <location filename="../detailsdialog.ui" line="167"/>
+ <location filename="../detailsdialog.ui" line="187"/>
+ <location filename="../detailsdialog.ui" line="207"/>
+ <location filename="../detailsdialog.ui" line="227"/>
+ <location filename="../detailsdialog.ui" line="262"/>
+ <location filename="../detailsdialog.ui" line="282"/>
+ <location filename="../detailsdialog.ui" line="302"/>
<location filename="../detailsdialog.ui" line="322"/>
<source>-</source>
<translation>-</translation>
@@ -86,6 +99,7 @@
<translation type="unfinished"></translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="140"/>
<location filename="../detailsdialog.ui" line="295"/>
<source>Bitrate:</source>
<translation type="unfinished"></translation>
@@ -101,6 +115,7 @@
<translation type="unfinished"></translation>
</message>
<message>
+ <location filename="../detailsdialog.ui" line="200"/>
<location filename="../detailsdialog.ui" line="249"/>
<source>Codec:</source>
<translation type="unfinished"></translation>
@@ -131,4 +146,32 @@
<translation type="unfinished"></translation>
</message>
</context>
+<context>
+ <name>SettingsDialog</name>
+ <message>
+ <location filename="../settingsdialog.cpp" line="31"/>
+ <location filename="../settingsdialog.cpp" line="39"/>
+ <location filename="../settingsdialog.cpp" line="48"/>
+ <location filename="../settingsdialog.cpp" line="49"/>
+ <location filename="../settingsdialog.cpp" line="61"/>
+ <location filename="../settingsdialog.cpp" line="62"/>
+ <source>default</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="14"/>
+ <source>MPlayer Settings</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="29"/>
+ <source>Video:</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../settingsdialog.ui" line="43"/>
+ <source>Audio:</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
</TS>