Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
2589:ea470384e752 | 2590:c0e5cf2273ad |
---|---|
212 | 212 |
213 case '{':{ /* optional entry: %{n:...%} */ | 213 case '{':{ /* optional entry: %{n:...%} */ |
214 char n = *fmt++; | 214 char n = *fmt++; |
215 if (!((n == 'a' && VS(input, album_name)) || | 215 if (!((n == 'a' && VS(input, album_name)) || |
216 (n == 'c' && VS(input, comment)) || | 216 (n == 'c' && VS(input, comment)) || |
217 (n == 'C' && VS(input, custom)) || | |
217 (n == 'd' && VS(input, date)) || | 218 (n == 'd' && VS(input, date)) || |
218 (n == 'e' && VS(input, file_ext)) || | 219 (n == 'e' && VS(input, file_ext)) || |
219 (n == 'f' && VS(input, file_name)) || | 220 (n == 'f' && VS(input, file_name)) || |
220 (n == 'F' && VS(input, file_path)) || | 221 (n == 'F' && VS(input, file_path)) || |
221 (n == 'g' && VS(input, genre)) || | 222 (n == 'g' && VS(input, genre)) || |
243 string = VS(input, album_name); | 244 string = VS(input, album_name); |
244 goto Print_string; | 245 goto Print_string; |
245 case 'c': | 246 case 'c': |
246 string = VS(input, comment); | 247 string = VS(input, comment); |
247 goto Print_string; | 248 goto Print_string; |
249 case 'C': | |
250 string = VS(input, custom); | |
251 goto Print_string; | |
248 case 'd': | 252 case 'd': |
249 string = VS(input, date); | 253 string = VS(input, date); |
250 goto Print_string; | 254 goto Print_string; |
251 case 'e': | 255 case 'e': |
252 string = VS(input, file_ext); | 256 string = VS(input, file_ext); |