Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: MP3 Display Mode: Filename display?
Hi,
> > The id3info.cache file also contains the "faked" title, but the OSD has only a blank line above the
> > progress bar. :-(
> I cannot reproduce this and I cannot find a reason for this in
> the source. May be you could add some printf()'s to
> cMP3Control::ShowProgress() in mp3-menu.c and
After some debugging with printf's, I changed the line
asprintf(&buf,mode->Artist[0]?"%s - %s":"%s",mode->Artist,mode->Title);
into
if (mode->Artist[0]) {
asprintf(&buf,"%s - %s",mode->Artist,mode->Title);
} else {
asprintf(&buf,"%s",mode->Title);
}
and now it works fine for me. I suppose, that the program took the empty "mode->Artist" instead of
"mode->Title" in the case that "mode->Artist[0]?" got false.
greetings://jan
---
grell-netz.de - computer services
http://www.grell-netz.de
Home |
Main Index |
Thread Index