aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/playlistitem.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-08-07 20:31:50 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-08-07 20:31:50 +0000
commit967946a0a567bf3b763fb559459f43250d013567 (patch)
tree027703818098481b46da7f53b32178080af819ad /src/qmmpui/playlistitem.cpp
parentb6f3b42adb9481ab7863cf99b709c93621ca2e34 (diff)
downloadqmmp-967946a0a567bf3b763fb559459f43250d013567.tar.gz
qmmp-967946a0a567bf3b763fb559459f43250d013567.tar.bz2
qmmp-967946a0a567bf3b763fb559459f43250d013567.zip
added support for additional tags
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1112 90c681e8-e032-0410-971d-27865f9a5e38
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 ()));