Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  sncviewer plugin
« previous next »
  • Print
Pages: 1 ... 6 7 [8] 9 10 ... 13

Author Topic: sncviewer plugin  (Read 114219 times)

Offline da_ul

  • Member
  • *
  • Posts: 1
Re: new plugin: sncviewer
« Reply #105 on: August 09, 2006, 01:42:23 PM »
Hello,

is there already an iaudio x5 version of the sncviewer?

Uli
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #106 on: August 15, 2006, 07:46:52 AM »
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: [Select]
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;
  } 
}

Cheers
  Robert
Logged

Offline paulheu

  • Member
  • *
  • Posts: 213
Re: new plugin: sncviewer
« Reply #107 on: August 22, 2006, 09:31:03 AM »
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);
Logged

Offline deadlysyphen

  • Member
  • *
  • Posts: 18
Re: new plugin: sncviewer
« Reply #108 on: August 24, 2006, 01:41:26 AM »
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
« Last Edit: August 24, 2006, 11:02:48 AM by deadlysyphen »
Logged

Offline paulheu

  • Member
  • *
  • Posts: 213
Re: new plugin: sncviewer
« Reply #109 on: August 24, 2006, 03:37:34 PM »
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
Logged

Offline deadlysyphen

  • Member
  • *
  • Posts: 18
Re: new plugin: sncviewer
« Reply #110 on: August 24, 2006, 10:08:16 PM »
Ooh, nice to hear about the patch..

nvm, figured it out
« Last Edit: August 25, 2006, 03:23:29 PM by deadlysyphen »
Logged

Offline BigMac

  • Member
  • *
  • Posts: 174
Re: new plugin: sncviewer
« Reply #111 on: September 02, 2006, 10:29:56 PM »
I can't find any snc files anywere....Can someone tell me how to make some or a place were i can dl them?
Keep ROCKing On!
« Last Edit: December 30, 2006, 06:55:54 PM by BigMac »
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: new plugin: sncviewer
« Reply #112 on: September 03, 2006, 12:41:24 PM »
I realise the it might be a bit difficult to read, but is there going to be one for the Nano? It says "unsupported model" when I try running it.

Cheers.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #113 on: September 04, 2006, 08:09:50 AM »
Quote from: BigMac on September 02, 2006, 10:29:56 PM
I can find no snc files anywere....Can someone tell me how to make some or a place were i can dl them?
Keep ROCKing On!
how to make snc: you can make it with ilyrics pro

why don't you use lrc? there are more sources to download lrc files and you can also make them with the plugin.
Logged

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #114 on: September 06, 2006, 08:23:45 AM »
small update:
- changed: keymapping (problem with play hold for iriver 1xx/3xx)

Quote from: ipodfoo on September 03, 2006, 12:41:24 PM
I realise the it might be a bit difficult to read, but is there going to be one for the Nano? It says "unsupported model" when I try running it.

Cheers.
luckily the keymapping for the nano is the same as for other ipods.


[attachment deleted by admin, too old]
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: new plugin: sncviewer
« Reply #115 on: September 17, 2006, 05:29:50 PM »
massive repect  ;D
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Kisswert

  • Member
  • *
  • Posts: 3
Re: new plugin: sncviewer
« Reply #116 on: September 22, 2006, 02:55:44 PM »
Hi !

I've tried to install this plugin, but i've get an "unsupported model" error.

I don't understand why, because i put the plugin for my 5g iPod into the plugin "rocks" folder.

If you can help me, it would be graceful !

Thanks
Logged

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #117 on: September 26, 2006, 08:58:57 AM »
update 26.9.2006
- changed: lyrics centered, time position, ..
Logged

Offline mmmoose

  • Member
  • *
  • Posts: 4
Re: new plugin: sncviewer
« Reply #118 on: October 09, 2006, 09:30:54 PM »
Hi,
This plugin looks great, I've been experimenting with .lrc files recently.  I have an iriver H120; where is the version for this?  The only one in the first post seems to be for the ipod video and gives me an "incompatible model" error.

Thanks in advance. :)

Edit: Instructions on how to compile it myself from the .c file would also be helpful.
« Last Edit: October 11, 2006, 07:34:09 AM by mmmoose »
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #119 on: October 11, 2006, 09:48:23 AM »
Quote from: mmmoose on October 09, 2006, 09:30:54 PM
Edit: Instructions on how to compile it myself from the .c file would also be helpful.

If you have already set up the development environment and can compile rockbox, all you need to do is copy the sncviewer.c file to the /apps/plugins directory and add the line

sncviewer.c

to the top of the /apps/plugins/SOURCES file.

Distributing compiled binaries is a problem as they tend to go out of date quickly with changes to the API.
Logged

  • Print
Pages: 1 ... 6 7 [8] 9 10 ... 13
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  sncviewer plugin
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.12 seconds with 14 queries.