summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-08-03 21:22:52 +0200
committerGravatar waker <wakeroid@gmail.com>2012-08-03 21:22:52 +0200
commiteb320c8cd20380ae78bcd7be582dcf4dbdcc97b9 (patch)
tree4ea1b0c0464a0ee327171d5e234cc4c7026aaa57
parent7c72658a7f2352d167a9611caeaaa54aac170361 (diff)
added itunes tags support to title formatting
-rw-r--r--playlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/playlist.c b/playlist.c
index 0cc0533f..9244b205 100644
--- a/playlist.c
+++ b/playlist.c
@@ -2947,6 +2947,10 @@ pl_format_title_int (const char *escape_chars, playItem_t *it, int idx, char *s,
c = snprintf (t, e-t, "Icy | ");
t += c;
}
+ if (it->_flags & DDB_TAG_ITUNES) {
+ c = snprintf (t, e-t, "iTunes | ");
+ t += c;
+ }
if (t != tags) {
*(t - 3) = 0;
}