diff src/audacious/titlestring.c @ 2590:c0e5cf2273ad trunk

[svn] - Add support for the custom tuple field. Patch by Christian Birchinger (joker).
author nenolod
date Wed, 28 Feb 2007 05:44:38 -0800
parents 5511818eb9d3
children
line wrap: on
line diff
--- a/src/audacious/titlestring.c	Tue Feb 27 04:09:06 2007 -0800
+++ b/src/audacious/titlestring.c	Wed Feb 28 05:44:38 2007 -0800
@@ -214,6 +214,7 @@
                 char n = *fmt++;
                 if (!((n == 'a' && VS(input, album_name)) ||
                       (n == 'c' && VS(input, comment)) ||
+                      (n == 'C' && VS(input, custom)) ||
                       (n == 'd' && VS(input, date)) ||
                       (n == 'e' && VS(input, file_ext)) ||
                       (n == 'f' && VS(input, file_name)) ||
@@ -245,6 +246,9 @@
         case 'c':
             string = VS(input, comment);
             goto Print_string;
+        case 'C':
+            string = VS(input, custom);
+            goto Print_string;
         case 'd':
             string = VS(input, date);
             goto Print_string;