Commit d40f73d4 authored by Josh Coalson's avatar Josh Coalson
Browse files

ifdef out debug code

parent d63eb24a
......@@ -94,7 +94,6 @@ int FlacPcm::getInfos(MediaInfo *infos)
id3v1_struct tag;
//@@@ ditto here...
bool has_tag = get_id3v1_tag_(infos->getFilename(), &tag);
......@@ -307,10 +306,13 @@ bool get_id3v1_tag_(const char *filename, id3v1_struct *tag)
const char *temp;
FILE *f = fopen(filename, "rb");
memset(tag, 0, sizeof(id3v1_struct));
#if 0
strcpy(tag->title,"Sonata K.42");
strcpy(tag->artist,"Domenico Scarlatti");
strcpy(tag->album,"Narcisso Yepes Plays Scarlatti");
sprintf(tag->description, "%s - %s", tag->artist, tag->title);
/* set the title and description to the filename by default */
temp = strrchr(filename, '/');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment