From e235adde49d24b6d034ef2b74b28ad2a6cea2fee Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 22 Sep 2009 18:45:40 +0000 Subject: enabled mpc plugin, fixed some bugs git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1250 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mpc/CMakeLists.txt | 4 +- src/plugins/Input/mpc/decoder_mpc.cpp | 10 +- src/plugins/Input/mpc/decoder_mpc.h | 6 +- src/plugins/Input/mpc/decodermpcfactory.cpp | 16 +- src/plugins/Input/mpc/decodermpcfactory.h | 4 +- src/plugins/Input/mpc/detailsdialog.cpp | 96 ---------- src/plugins/Input/mpc/detailsdialog.h | 44 ----- src/plugins/Input/mpc/mpc.pro | 4 +- src/plugins/Input/mpc/mpcmetadatamodel.cpp | 193 +++++++++++++++++++++ src/plugins/Input/mpc/mpcmetadatamodel.h | 65 +++++++ .../Input/mpc/translations/mpc_plugin_cs.ts | 58 +++---- .../Input/mpc/translations/mpc_plugin_de.ts | 58 +++---- .../Input/mpc/translations/mpc_plugin_it.ts | 48 ++--- .../Input/mpc/translations/mpc_plugin_lt.ts | 48 ++--- .../Input/mpc/translations/mpc_plugin_pl.ts | 56 +++--- .../Input/mpc/translations/mpc_plugin_ru.ts | 48 ++--- .../Input/mpc/translations/mpc_plugin_tr.ts | 48 ++--- .../Input/mpc/translations/mpc_plugin_uk_UA.ts | 60 +++---- .../Input/mpc/translations/mpc_plugin_zh_CN.ts | 48 ++--- .../Input/mpc/translations/mpc_plugin_zh_TW.ts | 48 ++--- 20 files changed, 537 insertions(+), 425 deletions(-) delete mode 100644 src/plugins/Input/mpc/detailsdialog.cpp delete mode 100644 src/plugins/Input/mpc/detailsdialog.h create mode 100644 src/plugins/Input/mpc/mpcmetadatamodel.cpp create mode 100644 src/plugins/Input/mpc/mpcmetadatamodel.h (limited to 'src/plugins/Input/mpc') diff --git a/src/plugins/Input/mpc/CMakeLists.txt b/src/plugins/Input/mpc/CMakeLists.txt index b8f387fc9..825daf9b9 100644 --- a/src/plugins/Input/mpc/CMakeLists.txt +++ b/src/plugins/Input/mpc/CMakeLists.txt @@ -45,13 +45,13 @@ link_directories(${TAGLIB_LIBRARY_DIRS}) SET(libmpc_SRCS decoder_mpc.cpp decodermpcfactory.cpp - detailsdialog.cpp + mpcmetadatamodel.cpp ) SET(libmpc_MOC_HDRS decodermpcfactory.h decoder_mpc.h - detailsdialog.h + mpcmetadatamodel.h ) SET(libmpc_RCCS translations/translations.qrc) diff --git a/src/plugins/Input/mpc/decoder_mpc.cpp b/src/plugins/Input/mpc/decoder_mpc.cpp index b859d6ebd..0cf6c1c59 100644 --- a/src/plugins/Input/mpc/decoder_mpc.cpp +++ b/src/plugins/Input/mpc/decoder_mpc.cpp @@ -121,8 +121,8 @@ static mpc_int32_t mpc_callback_get_size (mpc_reader *reader) // Decoder class -DecoderMPC::DecoderMPC(QObject *parent, DecoderFactory *d, QIODevice *i, Output *o) - : Decoder(parent, d, i, o) +DecoderMPC::DecoderMPC(QIODevice *i) + : Decoder(i) { m_len = 0; m_bitrate = 0; @@ -208,7 +208,6 @@ bool DecoderMPC::initialize() return TRUE; } - qint64 DecoderMPC::totalTime() { return m_totalTime; @@ -219,7 +218,7 @@ int DecoderMPC::bitrate() return m_bitrate; } -qint64 DecoderMPC::readAudio(char *audio, qint64 maxSize) +qint64 DecoderMPC::read(char *audio, qint64 maxSize) { #ifdef MPC_OLD_API mpc_uint32_t vbrAcc = 0; @@ -256,7 +255,7 @@ qint64 DecoderMPC::readAudio(char *audio, qint64 maxSize) return m_len; } -void DecoderMPC::seekAudio(qint64 pos) +void DecoderMPC::seek(qint64 pos) { #ifdef MPC_OLD_API mpc_decoder_seek_seconds(&data()->decoder, pos/1000); @@ -264,4 +263,3 @@ void DecoderMPC::seekAudio(qint64 pos) mpc_demux_seek_second(data()->demuxer, (double)pos/1000); #endif } - diff --git a/src/plugins/Input/mpc/decoder_mpc.h b/src/plugins/Input/mpc/decoder_mpc.h index b4e148706..7a8d3260a 100644 --- a/src/plugins/Input/mpc/decoder_mpc.h +++ b/src/plugins/Input/mpc/decoder_mpc.h @@ -43,7 +43,7 @@ struct mpc_data class DecoderMPC : public Decoder { public: - DecoderMPC(QObject *, DecoderFactory *, QIODevice *, Output *); + DecoderMPC(QIODevice *i); virtual ~DecoderMPC(); struct mpc_data *data() @@ -55,10 +55,10 @@ public: bool initialize(); qint64 totalTime(); int bitrate(); + qint64 read(char *audio, qint64 maxSize); + void seek(qint64 time); private: - virtual qint64 readAudio(char *audio, qint64 maxSize); - void seekAudio(qint64 time); struct mpc_data *m_data; long m_len; diff --git a/src/plugins/Input/mpc/decodermpcfactory.cpp b/src/plugins/Input/mpc/decodermpcfactory.cpp index 323637c8b..000015b6f 100644 --- a/src/plugins/Input/mpc/decodermpcfactory.cpp +++ b/src/plugins/Input/mpc/decodermpcfactory.cpp @@ -23,8 +23,7 @@ #include #include #include - -#include "detailsdialog.h" +#include "mpcmetadatamodel.h" #include "decoder_mpc.h" #include "decodermpcfactory.h" @@ -55,10 +54,9 @@ const DecoderProperties DecoderMPCFactory::properties() const return properties; } -Decoder *DecoderMPCFactory::create(QObject *parent, QIODevice *input, - Output *output, const QString &) +Decoder *DecoderMPCFactory::create(const QString &, QIODevice *i) { - return new DecoderMPC(parent, this, input, output); + return new DecoderMPC(i); } QList DecoderMPCFactory::createPlayList(const QString &fileName, bool useMetaData) @@ -98,11 +96,9 @@ QList DecoderMPCFactory::createPlayList(const QString &fileName, boo return list; } -QObject* DecoderMPCFactory::showDetails(QWidget *parent, const QString &path) +MetaDataModel* DecoderMPCFactory::createMetaDataModel(const QString &path, QObject *parent) { - DetailsDialog *d = new DetailsDialog(parent, path); - d -> show(); - return d; + return new MPCMetaDataModel(path, parent); } void DecoderMPCFactory::showSettings(QWidget *) @@ -123,4 +119,4 @@ QTranslator *DecoderMPCFactory::createTranslator(QObject *parent) return translator; } -Q_EXPORT_PLUGIN(DecoderMPCFactory) +Q_EXPORT_PLUGIN2(mpc,DecoderMPCFactory) diff --git a/src/plugins/Input/mpc/decodermpcfactory.h b/src/plugins/Input/mpc/decodermpcfactory.h index 76ca2b0f4..c617dd0fd 100644 --- a/src/plugins/Input/mpc/decodermpcfactory.h +++ b/src/plugins/Input/mpc/decodermpcfactory.h @@ -43,9 +43,9 @@ public: bool supports(const QString &source) const; bool canDecode(QIODevice *input) const; const DecoderProperties properties() const; - Decoder *create(QObject *, QIODevice *, Output *, const QString &); + Decoder *create(const QString &url, QIODevice *i); QList createPlayList(const QString &fileName, bool useMetaData); - QObject* showDetails(QWidget *parent, const QString &path); + MetaDataModel* createMetaDataModel(const QString &path, QObject *parent = 0); void showSettings(QWidget *parent); void showAbout(QWidget *parent); QTranslator *createTranslator(QObject *parent); diff --git a/src/plugins/Input/mpc/detailsdialog.cpp b/src/plugins/Input/mpc/detailsdialog.cpp deleted file mode 100644 index 80a7fd108..000000000 --- a/src/plugins/Input/mpc/detailsdialog.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2007 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 -#include -#include -#include - -#include -#include - -#include "detailsdialog.h" - -#define QStringToTString_qt4(s) TagLib::String(s.toUtf8().constData(), TagLib::String::UTF8) -#define TStringToQString_qt4(s) QString::fromUtf8(s.toCString(TRUE)).trimmed() - -DetailsDialog::DetailsDialog(QWidget *parent, const QString &path) - : AbstractDetailsDialog(parent) -{ - m_path = path; - if (QFile::exists(m_path)) - { - loadMPCInfo(); - loadTags(); - blockSaveButton(!QFileInfo(m_path).isWritable()); - } - else - blockSaveButton(); -} - -DetailsDialog::~DetailsDialog() -{} - -void DetailsDialog::loadMPCInfo() -{ - TagLib::MPC::File f (m_path.toLocal8Bit()); - QMap ap; - QString text = QString("%1").arg(f.audioProperties()->length()/60); - text +=":"+QString("%1").arg(f.audioProperties()->length()%60,2,10,QChar('0')); - ap.insert(tr("Length"), text); - ap.insert(tr("Sample rate"), QString("%1 " + tr("Hz")).arg(f.audioProperties()->sampleRate())); - ap.insert(tr("Channels"), QString("%1").arg(f.audioProperties()->channels())); - ap.insert(tr("Bitrate"), QString("%1 " + tr("kbps")).arg(f.audioProperties()->bitrate())); - ap.insert(tr("File size"), QString("%1 "+tr("KB")).arg(f.length()/1024)); - setAudioProperties(ap); -} - -void DetailsDialog::loadTags() -{ - TagLib::FileRef f (m_path.toLocal8Bit()); - setMetaData(Qmmp::TITLE, TStringToQString_qt4(f.tag()->title())); - setMetaData(Qmmp::ARTIST, TStringToQString_qt4(f.tag()->artist())); - setMetaData(Qmmp::ALBUM, TStringToQString_qt4(f.tag()->album())); - setMetaData(Qmmp::COMMENT, TStringToQString_qt4(f.tag()->comment())); - setMetaData(Qmmp::GENRE, TStringToQString_qt4(f.tag()->genre())); - setMetaData(Qmmp::YEAR, f.tag()->year()); - setMetaData(Qmmp::TRACK, f.tag()->track()); - setMetaData(Qmmp::URL, m_path); - TagLib::MPC::File *file = dynamic_cast(f.file()); - TagLib::APE::Item fld; - if(file->APETag() && !(fld = file->APETag()->itemListMap()["COMPOSER"]).isEmpty()) - setMetaData(Qmmp::COMPOSER, TStringToQString_qt4(fld.toString())); -} - -void DetailsDialog::writeTags() -{ - TagLib::FileRef f (m_path.toLocal8Bit()); - f.tag()->setTitle(QStringToTString_qt4(strMetaData(Qmmp::TITLE))); - f.tag()->setArtist(QStringToTString_qt4(strMetaData(Qmmp::ARTIST))); - f.tag()->setAlbum(QStringToTString_qt4(strMetaData(Qmmp::ALBUM))); - f.tag()->setComment(QStringToTString_qt4(strMetaData(Qmmp::COMMENT))); - f.tag()->setGenre(QStringToTString_qt4(strMetaData(Qmmp::GENRE))); - f.tag()->setYear(intMetaData(Qmmp::YEAR)); - f.tag()->setTrack(intMetaData(Qmmp::TRACK)); - TagLib::MPC::File *file = dynamic_cast(f.file()); - strMetaData(Qmmp::COMPOSER).isEmpty() ? - file->APETag()->removeItem("COMPOSER"): - file->APETag()->addValue("COMPOSER", QStringToTString_qt4(strMetaData(Qmmp::COMPOSER)), TRUE); - f.save(); -} diff --git a/src/plugins/Input/mpc/detailsdialog.h b/src/plugins/Input/mpc/detailsdialog.h deleted file mode 100644 index 089daca1f..000000000 --- a/src/plugins/Input/mpc/detailsdialog.h +++ /dev/null @@ -1,44 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2007 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 DETAILSDIALOG_H -#define DETAILSDIALOG_H - -#include - -/** - @author Ilya Kotov -*/ -class DetailsDialog : public AbstractDetailsDialog -{ -Q_OBJECT -public: - DetailsDialog(QWidget *parent = 0, const QString &path = 0); - - ~DetailsDialog(); - -private: - void loadMPCInfo(); - void loadTags(); - void writeTags(); - QString m_path; - -}; - -#endif diff --git a/src/plugins/Input/mpc/mpc.pro b/src/plugins/Input/mpc/mpc.pro index df97117c8..8ca63a6c6 100644 --- a/src/plugins/Input/mpc/mpc.pro +++ b/src/plugins/Input/mpc/mpc.pro @@ -2,10 +2,10 @@ include(../../plugins.pri) FORMS += HEADERS += decodermpcfactory.h \ decoder_mpc.h \ - detailsdialog.h + mpcmetadatamodel.h SOURCES += decoder_mpc.cpp \ decodermpcfactory.cpp \ - detailsdialog.cpp + mpcmetadatamodel.cpp TARGET = $$PLUGINS_PREFIX/Input/mpc QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmpc.so INCLUDEPATH += ../../../ diff --git a/src/plugins/Input/mpc/mpcmetadatamodel.cpp b/src/plugins/Input/mpc/mpcmetadatamodel.cpp new file mode 100644 index 000000000..5ae31eeac --- /dev/null +++ b/src/plugins/Input/mpc/mpcmetadatamodel.cpp @@ -0,0 +1,193 @@ +/*************************************************************************** + * 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 +#include +#include +#include +#include "mpcmetadatamodel.h" + +MPCMetaDataModel::MPCMetaDataModel(const QString &path, QObject *parent) : MetaDataModel(parent) +{ + m_file = new TagLib::MPC::File (path.toLocal8Bit().constData()); + m_tags << new MPCFileTagModel(m_file, TagLib::MPC::File::ID3v1); + m_tags << new MPCFileTagModel(m_file, TagLib::MPC::File::APE); +} + +MPCMetaDataModel::~MPCMetaDataModel() +{ + while(!m_tags.isEmpty()) + delete m_tags.takeFirst(); + delete m_file; +} + +QHash MPCMetaDataModel::audioProperties() +{ + QHash ap; + QString text = QString("%1").arg(m_file->audioProperties()->length()/60); + text +=":"+QString("%1").arg(m_file->audioProperties()->length()%60,2,10,QChar('0')); + ap.insert(tr("Length"), text); + ap.insert(tr("Sample rate"), QString("%1 " + tr("Hz")).arg(m_file->audioProperties()->sampleRate())); + ap.insert(tr("Channels"), QString("%1").arg(m_file->audioProperties()->channels())); + ap.insert(tr("Bitrate"), QString("%1 " + tr("kbps")).arg(m_file->audioProperties()->bitrate())); + ap.insert(tr("File size"), QString("%1 "+tr("KB")).arg(m_file->length()/1024)); + return ap; +} + +QList MPCMetaDataModel::tags() +{ + return m_tags; +} + +MPCFileTagModel::MPCFileTagModel(TagLib::MPC::File *file, TagLib::MPC::File::TagTypes tagType) + : TagModel() +{ + m_tagType = tagType; + m_file = file; + if (m_tagType == TagLib::MPC::File::ID3v1) + { + m_tag = m_file->ID3v1Tag(); + m_codec = QTextCodec::codecForName("ISO-8859-1"); + } + else + { + m_tag = m_file->APETag(); + m_codec = QTextCodec::codecForName ("UTF-8"); + } +} + +MPCFileTagModel::~MPCFileTagModel() +{} + +const QString MPCFileTagModel::name() +{ + if (m_tagType == TagLib::MPC::File::ID3v1) + return "ID3v1"; + return "APE"; +} + +QList MPCFileTagModel::keys() +{ + QList list = TagModel::keys(); + list.removeAll(Qmmp::COMPOSER); + list.removeAll(Qmmp::DISCNUMBER); + return list; +} + +const QString MPCFileTagModel::value(Qmmp::MetaData key) +{ + if (m_tag) + { + bool utf = m_codec->name().contains("UTF"); + TagLib::String str; + switch((int) key) + { + case Qmmp::TITLE: + str = m_tag->title(); + break; + case Qmmp::ARTIST: + str = m_tag->artist(); + break; + case Qmmp::ALBUM: + str = m_tag->album(); + break; + case Qmmp::COMMENT: + str = m_tag->comment(); + break; + case Qmmp::GENRE: + str = m_tag->genre(); + break; + case Qmmp::YEAR: + return QString::number(m_tag->year()); + case Qmmp::TRACK: + return QString::number(m_tag->track()); + } + return m_codec->toUnicode(str.toCString(utf)).trimmed(); + } + return QString(); +} + +void MPCFileTagModel::setValue(Qmmp::MetaData key, const QString &value) +{ + if(!m_tag) + return; + TagLib::String::Type type = TagLib::String::Latin1; + + if (m_tagType == TagLib::MPC::File::ID3v1) + { + if(m_codec->name().contains("UTF")) //utf is unsupported + return; + } + else if(m_tagType == TagLib::MPC::File::APE) + type = TagLib::String::UTF8; + + TagLib::String str = TagLib::String(m_codec->fromUnicode(value).constData(), type); + + switch((int) key) + { + case Qmmp::TITLE: + m_tag->setTitle(str); + break; + case Qmmp::ARTIST: + m_tag->setArtist(str); + break; + case Qmmp::ALBUM: + m_tag->setAlbum(str); + break; + case Qmmp::COMMENT: + m_tag->setComment(str); + break; + case Qmmp::GENRE: + m_tag->setGenre(str); + break; + case Qmmp::YEAR: + m_tag->setYear(value.toInt()); + break; + case Qmmp::TRACK: + m_tag->setTrack(value.toInt()); + } +} + +bool MPCFileTagModel::exists() +{ + return (m_tag != 0); +} + +void MPCFileTagModel::create() +{ + if (m_tag) + return; + if (m_tagType == TagLib::MPC::File::ID3v1) + m_tag = m_file->ID3v1Tag(TRUE); + else + m_tag = m_file->APETag(TRUE); +} + +void MPCFileTagModel::remove() +{ + m_tag = 0; +} + +void MPCFileTagModel::save() +{ + if(!m_tag) + m_file->strip(m_tagType); + m_file->save(); +} diff --git a/src/plugins/Input/mpc/mpcmetadatamodel.h b/src/plugins/Input/mpc/mpcmetadatamodel.h new file mode 100644 index 000000000..5bab8b00e --- /dev/null +++ b/src/plugins/Input/mpc/mpcmetadatamodel.h @@ -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. * + ***************************************************************************/ + +#ifndef MPCMETADATAMODEL_H +#define MPCMETADATAMODEL_H + +#include +#include +#include + +class QTextCodec; + +class MPCMetaDataModel : public MetaDataModel +{ +Q_OBJECT +public: + MPCMetaDataModel(const QString &path, QObject *parent); + ~MPCMetaDataModel(); + QHash audioProperties(); + QList tags(); + +private: + QList m_tags; + TagLib::MPC::File *m_file; +}; + +class MPCFileTagModel : public TagModel +{ +public: + MPCFileTagModel(TagLib::MPC::File *file, TagLib::MPC::File::TagTypes tagType); + ~MPCFileTagModel(); + const QString name(); + QList keys(); + const QString value(Qmmp::MetaData key); + void setValue(Qmmp::MetaData key, const QString &value); + bool exists(); + void create(); + void remove(); + void save(); + +private: + QTextCodec *m_codec; + TagLib::MPC::File *m_file; + TagLib::Tag *m_tag; + TagLib::MPC::File::TagTypes m_tagType; +}; + +#endif // MPCMETADATAMODEL_H diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_cs.ts b/src/plugins/Input/mpc/translations/mpc_plugin_cs.ts index ada260e0f..7d9b2f508 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_cs.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_cs.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Modul Musepack - + Musepack Files Soubory Musepack - + About Musepack Audio Plugin O modulu Musepack - + Qmmp Musepack Audio Plugin Vstupní modul Qmmp Musepack - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Autor: Ilja Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - kbps - kbps - - - - Hz - Hz - - - + Length - Délka + Délka - + Sample rate - Vzorkovací frekvence + Vzorkovací frekvence + + + + Hz + Hz - + Channels - Počet kanálů + Počet kanálů - + Bitrate - Datový tok + Datový tok - - KB - KB + + kbps + kbps - + File size - Velikost souboru + Velikost souboru + + + + KB + KB diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_de.ts b/src/plugins/Input/mpc/translations/mpc_plugin_de.ts index 715450940..9c270725a 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_de.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_de.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Musepack-Modul - + Musepack Files Musepack-Dateien - + About Musepack Audio Plugin Über Musepack-Audio-Modul - + Qmmp Musepack Audio Plugin Qmmp Musepack-Audio-Modul - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Autor: Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - kbps - kbps - - - - Hz - Hz - - - + Length - Länge + Länge - + Sample rate - Abtastrate + Abtastrate + + + + Hz + Hz - + Channels - Kanäle + Kanäle - + Bitrate - Bitrate + Bitrate - - KB - KB + + kbps + kbps - + File size - Dateigröße + Dateigröße + + + + KB + KB diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_it.ts b/src/plugins/Input/mpc/translations/mpc_plugin_it.ts index 51345e7ca..be7a7d958 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_it.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_it.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Modulo Musepack - + Musepack Files Brani Musepack - + About Musepack Audio Plugin Info sul modulo audio Musepack - + Qmmp Musepack Audio Plugin Modulo audio Musepack per Qmmp - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Autore: Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - kbps - kbps - - - - Hz - Hz - - - + Length - + Sample rate - + + Hz + Hz + + + Channels - + Bitrate - - KB - KB + + kbps + kbps - + File size + + + KB + KB + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_lt.ts b/src/plugins/Input/mpc/translations/mpc_plugin_lt.ts index 1e6b30ad1..0c7b165b4 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_lt.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_lt.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Musepack įskiepis - + Musepack Files Musepack bylos - + About Musepack Audio Plugin Apie Qmmp Musepack įskiepį - + Qmmp Musepack Audio Plugin Qmmp Musepack įskiepis - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Sukūrė: Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - Hz - Hz - - - + Length - + Sample rate - - Channels - + + Hz + Hz - - kbps - kbps + + Channels + - + Bitrate - - KB - KB + + kbps + kbps - + File size + + + KB + KB + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_pl.ts b/src/plugins/Input/mpc/translations/mpc_plugin_pl.ts index c829ca6eb..6c9886478 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_pl.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_pl.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Wtyczka Musepack - + Musepack Files Pliki Musepack - + About Musepack Audio Plugin O wtyczce Musepack Audio - + Qmmp Musepack Audio Plugin Wtyczka Musepack Audio dla Qmmp - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Autor: Ilja Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - + Length - Długość + Długość - - Hz - - - - + Sample rate - Próbkowanie + Próbkowanie - - Channels - Kanały + + Hz + - - kbps - + + Channels + Kanały - + Bitrate - Szybkość transmisji + Szybkość transmisji - - KB - + + kbps + - + File size - Wielkość pliku + Wielkość pliku + + + + KB + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_ru.ts b/src/plugins/Input/mpc/translations/mpc_plugin_ru.ts index 3467b0b1f..a1ee2f813 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_ru.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_ru.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Модуль Musepack - + Musepack Files Файлы Musepack - + About Musepack Audio Plugin Об аудио-модуле Musepack - + Qmmp Musepack Audio Plugin Аудио-модуль Musepack для Qmmp - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Разработчик: Илья Котов <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - Hz - Гц - - - + Length Длительность - + Sample rate Дискретизация - - Channels - Каналов + + Hz + Гц - - kbps - Кб/с + + Channels + Каналов - + Bitrate Битовая частота - - KB - Кб + + kbps + Кб/с - + File size Размер файла + + + KB + КБ + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_tr.ts b/src/plugins/Input/mpc/translations/mpc_plugin_tr.ts index 046fa215b..a8060fcb2 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_tr.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_tr.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Musepack Eklentisi - + Musepack Files Musepack Dosyaları - + About Musepack Audio Plugin Musepack Ses Eklentisi Hakkında - + Qmmp Musepack Audio Plugin Qmmp Musepack Ses Eklentisi - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Yazan: Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - + Length - - Hz - Hz - - - + Sample rate - - Channels - + + Hz + Hz - - kbps - kbps + + Channels + - + Bitrate - - KB - KB + + kbps + kbps - + File size + + + KB + KB + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_uk_UA.ts b/src/plugins/Input/mpc/translations/mpc_plugin_uk_UA.ts index 84e566100..7775cf9c7 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_uk_UA.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_uk_UA.ts @@ -1,75 +1,75 @@ - - + + DecoderMPCFactory - + Musepack Plugin Модуль Musepack - + Musepack Files Файли Musepack - + About Musepack Audio Plugin Про аудіо-модуль Musepack - + Qmmp Musepack Audio Plugin Аудіо-модуль Musepack для Qmmp - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> Розробник: Ілля Котов <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - Hz - Гц - - - + Length - Тривалість + Тривалість - + Sample rate - Частота + Частота - - Channels - Канали + + Hz + Гц - - kbps - Кб/с + + Channels + Канали - + Bitrate - Бітрейт + Бітрейт - - KB - Кб + + kbps + Кб/с - + File size - Розмір файлу + Розмір файлу + + + + KB + Кб diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_zh_CN.ts b/src/plugins/Input/mpc/translations/mpc_plugin_zh_CN.ts index 0a9379d81..5e3998793 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_zh_CN.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_zh_CN.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Musepack 插件 - + Musepack Files Musepack 文件 - + About Musepack Audio Plugin 关于 Musepack 音频插件 - + Qmmp Musepack Audio Plugin Qmmp Musepack 音频插件 - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> 作者:Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - Hz - Hz - - - + Length - + Sample rate - - Channels - + + Hz + Hz - - kbps - kbps + + Channels + - + Bitrate - - KB - KB + + kbps + kbps - + File size + + + KB + KB + diff --git a/src/plugins/Input/mpc/translations/mpc_plugin_zh_TW.ts b/src/plugins/Input/mpc/translations/mpc_plugin_zh_TW.ts index 192074cd5..943fbfa65 100644 --- a/src/plugins/Input/mpc/translations/mpc_plugin_zh_TW.ts +++ b/src/plugins/Input/mpc/translations/mpc_plugin_zh_TW.ts @@ -4,72 +4,72 @@ DecoderMPCFactory - + Musepack Plugin Musepack 插件 - + Musepack Files Musepack 檔案 - + About Musepack Audio Plugin 關於 Musepack 聲訊插件 - + Qmmp Musepack Audio Plugin Qmmp Musepack 聲訊插件 - + Writen by: Ilya Kotov <forkotov02@hotmail.ru> 作者:Ilya Kotov <forkotov02@hotmail.ru> - DetailsDialog + MPCMetaDataModel - - Hz - Hz - - - + Length - + Sample rate - - Channels - + + Hz + Hz - - kbps - kbps + + Channels + - + Bitrate - - KB - KB + + kbps + kbps - + File size + + + KB + KB + -- cgit v1.2.3-13-gbd6f