From 414c5245e4927ba40963e83d1a8ab09ecfe16502 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 11 Jun 2018 15:17:51 +0000 Subject: update all track metadata fields git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8032 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/mediaplayer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qmmpui/mediaplayer.cpp') diff --git a/src/qmmpui/mediaplayer.cpp b/src/qmmpui/mediaplayer.cpp index 9fa4f8e66..b60596739 100644 --- a/src/qmmpui/mediaplayer.cpp +++ b/src/qmmpui/mediaplayer.cpp @@ -205,6 +205,7 @@ void MediaPlayer::updateMetaData() qDebug("GENRE = %s", qPrintable(info.value(Qmmp::GENRE))); qDebug("YEAR = %s", qPrintable(info.value(Qmmp::YEAR))); qDebug("TRACK = %s", qPrintable(info.value(Qmmp::TRACK))); + qDebug("DISCNUMBER = %s", qPrintable(info.value(Qmmp::DISCNUMBER))); qDebug("---------------------"); qDebug("BITRATE = %s", qPrintable(info.value(Qmmp::BITRATE))); qDebug("SAMPLERATE = %s", qPrintable(info.value(Qmmp::SAMPLERATE))); @@ -218,6 +219,8 @@ void MediaPlayer::updateMetaData() qDebug("REPLAYGAIN_TRACK_PEAK = %f", info.value(Qmmp::REPLAYGAIN_TRACK_PEAK)); qDebug("REPLAYGAIN_ALBUM_GAIN = %f", info.value(Qmmp::REPLAYGAIN_ALBUM_GAIN)); qDebug("REPLAYGAIN_ALBUM_PEAK = %f", info.value(Qmmp::REPLAYGAIN_ALBUM_PEAK)); + qDebug("---------------------"); + qDebug("DURATION = %lld", info.duration()); qDebug("== end of metadata =="); PlayListModel *pl = m_pl_manager->currentPlayList(); -- cgit v1.2.3-13-gbd6f