Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qmmp for openSUSE:Factory checked in 
at 2021-04-29 22:46:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qmmp (Old)
 and      /work/SRC/openSUSE:Factory/.qmmp.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qmmp"

Thu Apr 29 22:46:14 2021 rev:78 rq:889185 version:1.4.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/qmmp/qmmp.changes        2021-02-07 
15:24:08.546207630 +0100
+++ /work/SRC/openSUSE:Factory/.qmmp.new.1947/qmmp.changes      2021-04-29 
22:52:54.110027684 +0200
@@ -1,0 +2,12 @@
+Thu Apr 29 06:48:26 UTC 2021 - Luigi Baldoni <[email protected]>
+
+- Update to version 1.4.5
+  * added TagLib 1.12 support
+  * disabled CRC checking in the mpeg plugin
+  * fixed playlist update
+  * fixed build with gcc 11
+  * fixed API documentation
+  * fixed skin search path
+  * fixed application icons
+
+-------------------------------------------------------------------

Old:
----
  qmmp-1.4.4.tar.bz2

New:
----
  qmmp-1.4.5.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qmmp.spec ++++++
--- /var/tmp/diff_new_pack.Q7OzbZ/_old  2021-04-29 22:52:54.718024976 +0200
+++ /var/tmp/diff_new_pack.Q7OzbZ/_new  2021-04-29 22:52:54.718024976 +0200
@@ -21,7 +21,7 @@
 %bcond_with faad
 %bcond_with restricted
 Name:           qmmp
-Version:        1.4.4
+Version:        1.4.5
 Release:        0
 Summary:        Qt-based Multimedia Player
 License:        GPL-2.0-or-later

++++++ qmmp-1.4.4.tar.bz2 -> qmmp-1.4.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/ChangeLog new/qmmp-1.4.5/ChangeLog
--- old/qmmp-1.4.4/ChangeLog    2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/ChangeLog    2021-04-28 19:52:42.000000000 +0200
@@ -1650,3 +1650,12 @@
 * updated Galician translation (Delio Docampo Cordeiro)
 * updated Spanish translation (Joel Barrios)
 * updated Bulgarian translation (Miroslav Mihov)
+
+Version 1.4.5
+* added TagLib 1.12 support
+* disabled CRC checking in the mpeg plugin
+* fixed playlist update
+* fixed build with gcc 11
+* fixed API documentation
+* fixed skin search path
+* fixed application icons
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/ChangeLog.rus new/qmmp-1.4.5/ChangeLog.rus
--- old/qmmp-1.4.4/ChangeLog.rus        2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/ChangeLog.rus        2021-04-28 19:52:42.000000000 +0200
@@ -1656,3 +1656,12 @@
 * ???????????????? ?????????????????????? ?????????????? (Delio Docampo 
Cordeiro)
 * ???????????????? ?????????????????? ?????????????? (Joel Barrios)
 * ???????????????? ???????????????????? ?????????????? (Miroslav Mihov)
+
+???????????? 1.4.5
+* ?????????????????? ?????????????????? TagLib 1.12
+* ?????????????????? ???????????????? CRC ?? ???????????? mpeg
+* ???????????????????? ???????????????????? ???????????? 
??????????????????????????????
+* ???????????????????? ???????????? ?? ?????????????? gcc 11
+* ???????????????????? ???????????????????????? ???? API
+* ?????????????????? ???????? ?????? ???????????? ??????????????
+* ???????????????????? ???????????? ????????????????????
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/ChangeLog.svn new/qmmp-1.4.5/ChangeLog.svn
--- old/qmmp-1.4.4/ChangeLog.svn        2021-02-04 20:09:39.000000000 +0100
+++ new/qmmp-1.4.5/ChangeLog.svn        2021-04-28 19:52:36.000000000 +0200
@@ -1,4 +1,57 @@
 ------------------------------------------------------------------------
+r9841 | trialuser02 | 2021-04-27 14:25:02 +0300 (????, 27 ?????? 2021) | 1 line
+
+updated changelogs
+------------------------------------------------------------------------
+r9837 | trialuser02 | 2021-04-23 23:32:46 +0300 (????, 23 ?????? 2021) | 1 line
+
+fixed application icon
+------------------------------------------------------------------------
+r9835 | trialuser02 | 2021-04-23 21:59:56 +0300 (????, 23 ?????? 2021) | 1 line
+
+fixed application icons (#1070)
+------------------------------------------------------------------------
+r9814 | trialuser02 | 2021-04-17 20:57:26 +0300 (????, 17 ?????? 2021) | 1 line
+
+updated changelogs
+------------------------------------------------------------------------
+r9799 | trialuser02 | 2021-04-06 00:00:31 +0300 (????, 06 ?????? 2021) | 1 line
+
+update groups after playlist updating
+------------------------------------------------------------------------
+r9792 | trialuser02 | 2021-03-29 22:13:10 +0300 (????, 29 ?????? 2021) | 1 line
+
+skinned: fixed skin search path
+------------------------------------------------------------------------
+r9759 | trialuser02 | 2021-03-18 00:25:02 +0300 (????, 18 ?????? 2021) | 1 line
+
+updated API documentation
+------------------------------------------------------------------------
+r9748 | trialuser02 | 2021-03-07 01:25:41 +0300 (????, 07 ?????? 2021) | 1 line
+
+fixed regression
+------------------------------------------------------------------------
+r9745 | trialuser02 | 2021-03-07 01:17:42 +0300 (????, 07 ?????? 2021) | 1 line
+
+coding style fixes
+------------------------------------------------------------------------
+r9743 | trialuser02 | 2021-03-07 01:14:07 +0300 (????, 07 ?????? 2021) | 1 line
+
+fixed build with gcc-11
+------------------------------------------------------------------------
+r9736 | trialuser02 | 2021-02-23 12:28:11 +0300 (????, 23 ?????? 2021) | 2 
lines
+
+added taglib 1.12 support
+
+------------------------------------------------------------------------
+r9721 | trialuser02 | 2021-02-10 13:41:45 +0300 (????, 10 ?????? 2021) | 1 line
+
+mpeg: disabled CRC checking
+------------------------------------------------------------------------
+r9686 | trialuser02 | 2021-02-04 22:17:32 +0300 (????, 04 ?????? 2021) | 1 line
+
+version bump
+------------------------------------------------------------------------
 r9683 | trialuser02 | 2021-02-04 21:57:24 +0300 (????, 04 ?????? 2021) | 1 line
 
 fixed changelogs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/qmmp.pri new/qmmp-1.4.5/qmmp.pri
--- old/qmmp-1.4.4/qmmp.pri     2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/qmmp.pri     2021-04-28 19:52:42.000000000 +0200
@@ -25,7 +25,7 @@
 
 #Version
 
-QMMP_VERSION = 1.4.4
+QMMP_VERSION = 1.4.5
 
 #Install paths
 
Binary files old/qmmp-1.4.4/src/app/images/128x128/qmmp.png and 
new/qmmp-1.4.5/src/app/images/128x128/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/256x256/qmmp.png and 
new/qmmp-1.4.5/src/app/images/256x256/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/32x32/qmmp.png and 
new/qmmp-1.4.5/src/app/images/32x32/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/48x48/qmmp.png and 
new/qmmp-1.4.5/src/app/images/48x48/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/56x56/qmmp.png and 
new/qmmp-1.4.5/src/app/images/56x56/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/64x64/qmmp.png and 
new/qmmp-1.4.5/src/app/images/64x64/qmmp.png differ
Binary files old/qmmp-1.4.4/src/app/images/scalable/qmmp.svgz and 
new/qmmp-1.4.5/src/app/images/scalable/qmmp.svgz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/app/qmmp.rc 
new/qmmp-1.4.5/src/app/qmmp.rc
--- old/qmmp-1.4.4/src/app/qmmp.rc      2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/src/app/qmmp.rc      2021-04-28 19:52:41.000000000 +0200
@@ -1,7 +1,7 @@
 #include <winver.h>
 
-#define QMMP_FILEVERSION 1,4,4,0
-#define QMMP_PRODUCTVERSION "1.4.4.0"
+#define QMMP_FILEVERSION 1,4,5,0
+#define QMMP_PRODUCTVERSION "1.4.5.0"
 
 IDI_ICON1              ICON            DISCARDABLE     "images\\ico\\qmmp.ico"
 IDI_ICON2              ICON            DISCARDABLE     
"images\\ico\\qmmp_file.ico"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.4.4/src/plugins/Input/flac/flacmetadatamodel.cpp 
new/qmmp-1.4.5/src/plugins/Input/flac/flacmetadatamodel.cpp
--- old/qmmp-1.4.4/src/plugins/Input/flac/flacmetadatamodel.cpp 2021-02-04 
20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Input/flac/flacmetadatamodel.cpp 2021-04-28 
19:52:41.000000000 +0200
@@ -258,7 +258,11 @@
         return;
     case Qmmp::DISCNUMBER:
         value == "0" ?
+#if ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION <= 11))
         m_tag->removeField("DISCNUMBER"):
+#else
+        m_tag->removeFields("DISCNUMBER"):
+#endif
         m_tag->addField("DISCNUMBER", str, true);
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/plugins/Input/mpeg/decoder_mad.cpp 
new/qmmp-1.4.5/src/plugins/Input/mpeg/decoder_mad.cpp
--- old/qmmp-1.4.4/src/plugins/Input/mpeg/decoder_mad.cpp       2021-02-04 
20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Input/mpeg/decoder_mad.cpp       2021-04-28 
19:52:40.000000000 +0200
@@ -87,6 +87,7 @@
     }
 
     mad_stream_init(&m_stream);
+    mad_stream_options(&m_stream, MAD_OPTION_IGNORECRC);
     mad_frame_init(&m_frame);
     mad_synth_init(&m_synth);
 
@@ -533,6 +534,9 @@
                 if(m_eof)
                     return false;
                 continue;
+            case MAD_ERROR_BADCRC:
+                qDebug("DecoderMAD: CRC check error");
+                continue;
             default:
                 if (!MAD_RECOVERABLE(m_stream.error))
                     return false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.4.4/src/plugins/Input/mpeg/mpegmetadatamodel.cpp 
new/qmmp-1.4.5/src/plugins/Input/mpeg/mpegmetadatamodel.cpp
--- old/qmmp-1.4.4/src/plugins/Input/mpeg/mpegmetadatamodel.cpp 2021-02-04 
20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Input/mpeg/mpegmetadatamodel.cpp 2021-04-28 
19:52:40.000000000 +0200
@@ -302,7 +302,6 @@
             m_codec = QTextCodec::codecForName ("UTF-8");
             TagLib::ID3v2::FrameFactory *factory = 
TagLib::ID3v2::FrameFactory::instance();
             factory->setDefaultTextEncoding(type);
-            m_file->setID3v2FrameFactory(factory);
             type = TagLib::String::UTF8;
         }
         //save additional tags
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.4.4/src/plugins/Input/opus/opusmetadatamodel.cpp 
new/qmmp-1.4.5/src/plugins/Input/opus/opusmetadatamodel.cpp
--- old/qmmp-1.4.4/src/plugins/Input/opus/opusmetadatamodel.cpp 2021-02-04 
20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Input/opus/opusmetadatamodel.cpp 2021-04-28 
19:52:41.000000000 +0200
@@ -239,7 +239,11 @@
         return;
     case Qmmp::DISCNUMBER:
         value == "0" ?
+#if ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION <= 11))
         m_tag->removeField("DISCNUMBER"):
+#else
+        m_tag->removeFields("DISCNUMBER"):
+#endif
         m_tag->addField("DISCNUMBER", str, true);
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/qmmp-1.4.4/src/plugins/Input/vorbis/vorbismetadatamodel.cpp 
new/qmmp-1.4.5/src/plugins/Input/vorbis/vorbismetadatamodel.cpp
--- old/qmmp-1.4.4/src/plugins/Input/vorbis/vorbismetadatamodel.cpp     
2021-02-04 20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Input/vorbis/vorbismetadatamodel.cpp     
2021-04-28 19:52:41.000000000 +0200
@@ -227,7 +227,11 @@
         return;
     case Qmmp::DISCNUMBER:
         value == "0" ?
+#if ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION <= 11))
         tag->removeField("DISCNUMBER"):
+#else
+        tag->removeFields("DISCNUMBER"):
+#endif
         tag->addField("DISCNUMBER", str, true);
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/plugins/Ui/skinned/skinreader.cpp 
new/qmmp-1.4.5/src/plugins/Ui/skinned/skinreader.cpp
--- old/qmmp-1.4.4/src/plugins/Ui/skinned/skinreader.cpp        2021-02-04 
20:09:44.000000000 +0100
+++ new/qmmp-1.4.5/src/plugins/Ui/skinned/skinreader.cpp        2021-04-28 
19:52:41.000000000 +0200
@@ -50,9 +50,9 @@
     dir.setFilter( QDir::Files | QDir::Hidden | QDir::NoSymLinks);
     QFileInfoList f = dir.entryInfoList();
 #if defined(Q_OS_WIN) && !defined(Q_OS_CYGWIN)
-    dir.setPath(qApp->applicationDirPath()+"/skins");
+    dir.setPath(qApp->applicationDirPath() + "/skins");
 #else
-    dir.setPath(Qmmp::dataPath());
+    dir.setPath(Qmmp::dataPath() + "/skins");
 #endif
     dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);
     f << dir.entryInfoList();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/audioconverter.cpp 
new/qmmp-1.4.5/src/qmmp/audioconverter.cpp
--- old/qmmp-1.4.4/src/qmmp/audioconverter.cpp  2021-02-04 20:09:45.000000000 
+0100
+++ new/qmmp-1.4.5/src/qmmp/audioconverter.cpp  2021-04-28 19:52:42.000000000 
+0200
@@ -19,7 +19,7 @@
  ***************************************************************************/
 
 #include <math.h>
-#include <string.h>
+#include <limits>
 #include <QtGlobal>
 #include <QtEndian>
 #include "audioconverter.h"
@@ -100,11 +100,11 @@
         break;
     case Qmmp::PCM_FLOAT:
     case Qmmp::PCM_UNKNOWN:
-        memcpy((void*)out, (void*)in, samples * sizeof(float));
+        memcpy(out, in, samples * sizeof(float));
     }
 }
 
-void AudioConverter::fromFloat(const float *in, const unsigned char *out, 
size_t samples)
+void AudioConverter::fromFloat(const float *in, unsigned char *out, size_t 
samples)
 {
     switch (m_format)
     {
@@ -152,6 +152,6 @@
         break;
     case Qmmp::PCM_FLOAT:
     case Qmmp::PCM_UNKNOWN:
-        memcpy((void*)out, (void*)in, samples * sizeof(float));
+        memcpy(out, in, samples * sizeof(float));
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/audioconverter.h 
new/qmmp-1.4.5/src/qmmp/audioconverter.h
--- old/qmmp-1.4.4/src/qmmp/audioconverter.h    2021-02-04 20:09:45.000000000 
+0100
+++ new/qmmp-1.4.5/src/qmmp/audioconverter.h    2021-04-28 19:52:42.000000000 
+0200
@@ -24,7 +24,7 @@
 #include <stddef.h>
 #include "qmmp.h"
 
-/*! @brief The AbstractEngine class provides the internal audio converter
+/*! @brief The AbstractEngine class provides the internal audio converter.
  * @author Ilya Kotov <[email protected]>
  */
 class QMMP_EXPORT AudioConverter
@@ -53,7 +53,7 @@
      * \param out Output buffer.
      * \param samples Number of samples.
      */
-    void fromFloat(const float *in, const unsigned char *out, size_t samples);
+    void fromFloat(const float *in, unsigned char *out, size_t samples);
 
 
 private:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/channelmap.cpp 
new/qmmp-1.4.5/src/qmmp/channelmap.cpp
--- old/qmmp-1.4.4/src/qmmp/channelmap.cpp      2021-02-04 20:09:45.000000000 
+0100
+++ new/qmmp-1.4.5/src/qmmp/channelmap.cpp      2021-04-28 19:52:42.000000000 
+0200
@@ -31,7 +31,6 @@
                                                         Qmmp::CHAN_LFE,
                                                         Qmmp::CHAN_SIDE_LEFT,
                                                         Qmmp::CHAN_SIDE_RIGHT 
};
-ChannelMap::ChannelMap() {}
 
 ChannelMap::ChannelMap(int channels)
 {
@@ -66,18 +65,18 @@
 const QString ChannelMap::toString() const
 {
     QStringList list;
-    QHash <Qmmp::ChannelPosition, QString> names;
-    names.insert(Qmmp::CHAN_NULL, "NA");
-    names.insert(Qmmp::CHAN_FRONT_LEFT, "FL");
-    names.insert(Qmmp::CHAN_FRONT_RIGHT, "FR");
-    names.insert(Qmmp::CHAN_REAR_LEFT, "RL");
-    names.insert(Qmmp::CHAN_REAR_RIGHT, "RR");
-    names.insert(Qmmp::CHAN_FRONT_CENTER, "FC");
-    names.insert(Qmmp::CHAN_REAR_CENTER, "RC");
-    names.insert(Qmmp::CHAN_LFE, "LFE");
-    names.insert(Qmmp::CHAN_SIDE_LEFT, "SL");
-    names.insert(Qmmp::CHAN_SIDE_RIGHT, "SR");
-
+    QHash <Qmmp::ChannelPosition, QString> names = {
+        { Qmmp::CHAN_NULL, "NA" },
+        { Qmmp::CHAN_FRONT_LEFT, "FL" },
+        { Qmmp::CHAN_FRONT_RIGHT, "FR" },
+        { Qmmp::CHAN_REAR_LEFT, "RL" },
+        { Qmmp::CHAN_REAR_RIGHT, "RR" },
+        { Qmmp::CHAN_FRONT_CENTER, "FC" },
+        { Qmmp::CHAN_REAR_CENTER, "RC" },
+        { Qmmp::CHAN_LFE, "LFE" },
+        { Qmmp::CHAN_SIDE_LEFT, "SL" },
+        { Qmmp::CHAN_SIDE_RIGHT, "SR" }
+    };
 
     for(const Qmmp::ChannelPosition channel : qAsConst(*this))
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/channelmap.h 
new/qmmp-1.4.5/src/qmmp/channelmap.h
--- old/qmmp-1.4.4/src/qmmp/channelmap.h        2021-02-04 20:09:45.000000000 
+0100
+++ new/qmmp-1.4.5/src/qmmp/channelmap.h        2021-04-28 19:52:42.000000000 
+0200
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2014-2020 by Ilya Kotov                                 *
+ *   Copyright (C) 2014-2021 by Ilya Kotov                                 *
  *   [email protected]                                                      *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -24,14 +24,28 @@
 #include <QList>
 #include "qmmp.h"
 
+/*! @brief This class represents audio channel mapping.
+ * @author Ilya Kotov <[email protected]>
+ */
 class QMMP_EXPORT ChannelMap : public QList<Qmmp::ChannelPosition>
 {
 public:
-    ChannelMap();
-    ChannelMap(int channels);
-
+    /*!
+     * Constructs channel mapping with internal order.
+     * \param channels Number channels
+     */
+    explicit ChannelMap(int channels = 0);
+    /*!
+     * Returns a mask with used channels.
+     */
     int mask() const;
+    /*!
+     * Converts current channel order to internal.
+     */
     const ChannelMap remaped() const;
+    /*!
+     * Converts channel channel mapping to string representation (for debug 
purposes).
+     */
     const QString toString() const;
 
 private:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/cueparser.h 
new/qmmp-1.4.5/src/qmmp/cueparser.h
--- old/qmmp-1.4.4/src/qmmp/cueparser.h 2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/src/qmmp/cueparser.h 2021-04-28 19:52:42.000000000 +0200
@@ -28,30 +28,117 @@
 #include "trackinfo.h"
 #include "qmmp_export.h"
 
+/*! @brief The CueParser class provides CUE parser.
+ * @author Ilya Kotov <[email protected]>
+ */
 class QMMP_EXPORT CueParser
 {
 public:
+    /*!
+     * Constructs empty CUE parser.
+     */
     CueParser();
+    /*!
+     * Constructs CUE parser and parses given content.
+     * \param data Content of CUE file.
+     * \param codecName Codec name ("UTF-8" by default).
+     */
     CueParser(const QByteArray &data, const QByteArray &codecName = 
QByteArray());
+    /*!
+     * Object destructor.
+     */
     ~CueParser();
+    /*!
+     * Parses CUE file content.
+     * \param data Content of CUE file.
+     * \param codecName Codec name ("UTF-8" by default).
+     */
     void loadData(const QByteArray &data, const QByteArray &codecName = 
QByteArray());
+    /*!
+     * Parses CUE file content.
+     * \param data Content of CUE file.
+     * \param codecName Codec.
+     */
     void loadData(const QByteArray &data, QTextCodec *codec);
+    /*!
+     * Creates playlist using parsed CUE metadata.
+     */
     QList<TrackInfo *> createPlayList() const;
+    /*!
+     * Creates playlist using parsed CUE metadata for the given \b track.
+     */
     QList<TrackInfo *> createPlayList(int track) const;
+    /*!
+     * Returns a list of data files.
+     */
     const QStringList &files() const;
+    /*!
+     * Returns offset in milliseconds of the given \b track.
+     */
     qint64 offset(int track) const;
+    /*!
+     * Returns duration in milliseconds of the given \b track.
+     */
     qint64 duration(int track) const;
+    /*!
+     * Returns data file of the given \b track.
+     */
     QString file(int track) const;
+    /*!
+     * Returns URL of the given \b track.
+     */
     QString url(int track) const;
+    /*!
+     * Returns number of tracks.
+     */
     int count() const;
+    /*!
+     * Returns \b true if parser has no data, otherwise returns \b false.
+     */
     bool isEmpty() const;
+    /*!
+     * Returns information for the given \b track.
+     */
     const TrackInfo *info(int track) const;
+    /*!
+     * Sets duration for the given content file.
+     * \param file Content file path.
+     * \param duration Duration in milliseconds.
+     */
     void setDuration(const QString &file, qint64 duration);
+    /*!
+     * Sets duration for the single content file (useful for embedded CUE).
+     * \param duration Duration in milliseconds.
+     */
     void setDuration(qint64 duration);
+    /*!
+     * Sets audio properties for the given content file.
+     * \param file Content file path.
+     * \param properties Audio properties.
+     */
     void setProperties(const QString &file, const QMap<Qmmp::TrackProperty, 
QString> &properties);
+    /*!
+     * Sets audio properties for the single content file (useful for embedded 
CUE).
+     * \param properties Audio properties.
+     */
     void setProperties(const QMap<Qmmp::TrackProperty, QString> &properties);
+    /*!
+     * Updates metadata of the \b track.
+     * \param track Track number (1..n).
+     * \param key Metadata key.
+     * \param value Metadata value.
+     */
     void setMetaData(int track, Qmmp::MetaData key, const QVariant &value);
+    /*!
+     * Sets URLs for CUE tracks in the following format:
+     * {scheme}://{path}#{track number}
+     * \param scheme URL scheme.
+     * \param path Content file path.
+     */
     void setUrl(const QString &scheme, const QString &path);
+    /*!
+     * Removes all parsed data.
+     */
     void clear();
 
 private:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmp/qmmp.h 
new/qmmp-1.4.5/src/qmmp/qmmp.h
--- old/qmmp-1.4.4/src/qmmp/qmmp.h      2021-02-04 20:09:45.000000000 +0100
+++ new/qmmp-1.4.5/src/qmmp/qmmp.h      2021-04-28 19:52:42.000000000 +0200
@@ -25,7 +25,7 @@
 
 #define QMMP_VERSION_MAJOR 1
 #define QMMP_VERSION_MINOR 4
-#define QMMP_VERSION_PATCH 4
+#define QMMP_VERSION_PATCH 5
 #define QMMP_VERSION_STABLE 1
 
 #define QMMP_VERSION_INT (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | 
QMMP_VERSION_PATCH)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qmmp-1.4.4/src/qmmpui/playlistmodel.cpp 
new/qmmp-1.4.5/src/qmmpui/playlistmodel.cpp
--- old/qmmp-1.4.4/src/qmmpui/playlistmodel.cpp 2021-02-04 20:09:45.000000000 
+0100
+++ new/qmmp-1.4.5/src/qmmpui/playlistmodel.cpp 2021-04-28 19:52:42.000000000 
+0200
@@ -992,6 +992,10 @@
 
             emit listChanged(flags);
         }
+        else
+        {
+            emit listChanged(METADATA);
+        }
     }
 }
 

Reply via email to