From 42c8e4cad08dcabe8e3d89beb2960b2fab2b879d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 19 Oct 2017 19:56:06 +0000 Subject: fixed rusxmms support (#924) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7594 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/mad/mpegmetadatamodel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/plugins/Input/mad') diff --git a/src/plugins/Input/mad/mpegmetadatamodel.cpp b/src/plugins/Input/mad/mpegmetadatamodel.cpp index d7437a767..1a0371b39 100644 --- a/src/plugins/Input/mad/mpegmetadatamodel.cpp +++ b/src/plugins/Input/mad/mpegmetadatamodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2016 by Ilya Kotov * + * Copyright (C) 2009-2017 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -281,6 +281,9 @@ void MpegFileTagModel::setValue(Qmmp::MetaData key, const QString &value) { if(m_codec->name().contains("UTF") && !m_using_rusxmms) //utf is unsupported return; + + if(m_using_rusxmms) + type = TagLib::String::UTF8; } else if (m_tagType == TagLib::MPEG::File::ID3v2) { -- cgit v1.2.3-13-gbd6f