aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/playlistitem.cpp')
-rw-r--r--src/qmmpui/playlistitem.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp
index 7912c502b..bacd3f803 100644
--- a/src/qmmpui/playlistitem.cpp
+++ b/src/qmmpui/playlistitem.cpp
@@ -114,8 +114,11 @@ void PlayListItem::readMetadata()
m_title = printTag(m_title, "%p", artist());
m_title = printTag(m_title, "%a", album());
m_title = printTag(m_title, "%t", title());
- m_title = printTag(m_title, "%n", QString("%1").arg(track()));
+ m_title = printTag(m_title, "%n", track());
+ m_title = printTag(m_title, "%c", comment());
+ m_title = printTag(m_title, "%C", composer());
m_title = printTag(m_title, "%g", genre());
+ m_title = printTag(m_title, "%D", discNumber());
m_title = printTag(m_title, "%f", url().section('/',-1));
m_title = printTag(m_title, "%F", url());
m_title = printTag(m_title, "%y", QString("%1").arg(year ()));