Support and General Use > Plugins/Viewers
sncviewer plugin
da_ul:
Hello,
is there already an iaudio x5 version of the sncviewer?
Uli
roolku:
Thanks for maintaining this plugin. Much appreciated. Could I just report a small bug in tt2int that breaks the [00:00]Lyrics format. If the lyrics contain a '.' character the timestamp will not be read correctly. I fixed it as below, but there might be better ways of doing it....
--- Code: ---bool tt2int(unsigned char** buffer, int* number, char end_char){
unsigned char* start=*buffer;
bool ok;
while((ok=**buffer!=0)==true && *(*buffer)++!=end_char);
int size=*buffer-start-1;
if(ok && size<=3){
char xx[size+1];
xx[size]=0;
rb->memcpy(xx,start,size);
*number=rb->atoi(xx);
return true;
} else {
*buffer=start;
return false;
}
}
--- End code ---
Cheers
Robert
paulheu:
For the current version to work with the album art patch (and required bmp resize patch) change line 565 from:
path, &bm, size, FORMAT_ANY))<0 && ++i<max);
to
path, &bm, size, FORMAT_ANY, LCD_HEIGHT, LCD_WIDTH))<0 && ++i<max);
deadlysyphen:
I've gotten "Minilyrics" to work, but I keep getting bad versions of songs (either they end early, or the lyrics are cleary wrong). Anyone know a nice archive of "clean" lyrics (the type not contributed by users who just write random words while listening)?
& one more thing, just wondering, how do you guys use this plugin considering that the lcd backlight goes off every few seconds? Do you change the backlight off time, do you set it so that when you set it to hold the backlight goes on forever, or what?
Is there a plugin setting that keeps the lcd backlight on if there are lyrics? Or if there isn't any, can you please add one ;D
paulheu:
I did a small patch that will add the oprion to keep backlight on when running a plugin..
http://www.rockbox.org/tracker/task/4988
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version