comparison src/flacng/tools.c @ 1459:4afd6954159d

hook up ${codec} and ${quality}
author William Pitcock <nenolod@atheme-project.org>
date Fri, 10 Aug 2007 19:35:53 -0500
parents 654aa79e43ef
children db616ccdd40c
comparison
equal deleted inserted replaced
1446:78de16e6989c 1459:4afd6954159d
239 239
240 _DEBUG("Using callback_info %s", info->name); 240 _DEBUG("Using callback_info %s", info->name);
241 241
242 out = tuple_new_from_filename(filename); 242 out = tuple_new_from_filename(filename);
243 243
244 tuple_associate_string(out, "codec", "Free Lossless Audio Codec (FLAC)");
245 tuple_associate_string(out, "quality", "lossless");
246
244 tuple_associate_string(out, "artist", info->comment.artist); 247 tuple_associate_string(out, "artist", info->comment.artist);
245 tuple_associate_string(out, "title", info->comment.title); 248 tuple_associate_string(out, "title", info->comment.title);
246 tuple_associate_string(out, "album", info->comment.album); 249 tuple_associate_string(out, "album", info->comment.album);
247 tuple_associate_string(out, "genre", info->comment.genre); 250 tuple_associate_string(out, "genre", info->comment.genre);
248 251