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
translations translations
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 2 [3] 4 5 ... 13

Author Topic: sncviewer plugin  (Read 120338 times)

Offline MoAv

  • Member
  • *
  • Posts: 95
Re: new plugin: sncviewer
« Reply #30 on: January 19, 2006, 12:12:48 PM »
Quote from: (:@) on January 19, 2006, 08:32:13 AM
the best way is to clean and rebuild rockbox instead of using the binary i've included in the sncviewer.doc

Sorry , I know nothing about programing , what do you mean by rebuilding rockbox , can't I just copy the plugin ?
Logged

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #31 on: January 20, 2006, 04:06:59 AM »
the plugin is updated!

to rooku concerning utf8:
In the latest build I have updated the utf8-file handling. I don't think it is a good solution,
but it could work for you.
your utf8-file must meet these conditions:
- first three bytes of your file: EF BB BF (BOM)
- your original file is either encoded in latin or gb (may also work with other encodings)
- the timetag is 00xxxxxx (no hours)

note that if your file was encoded in latin then it could be that the last character and
the first on the new line aren't displayed correctly, because just wrapped after 16 bytes.

Quote from: MoAv on January 19, 2006, 12:12:48 PM
Sorry , I know nothing about programing , what do you mean by rebuilding rockbox , can't I just copy the plugin ?

yes, you can if the plugin interface didn't change.
Just download today's (20.1.06)
rockbox version and put my updated plugin (also some date) into the pluginfolder (rocks)
and try it out.
Logged

Offline inluxication

  • Member
  • *
  • Posts: 44
Re: new plugin: sncviewer
« Reply #32 on: January 21, 2006, 11:47:38 PM »
Quote
Here you go. Just remove the .doc and put it in your rocks directory on your h120/h140. Then with the song playing run the plugin.

Roolku
 sncviewer.rock.doc (5 KB - downloaded 27 times.)

I've tried that with today's build (2006 01 21) and, since it was specifically mentioned, yesterday's.  I get the "Incompatible model" message on my H140.

Does anyone have any ideas?  What does the error message mean, exactly?

I did what I think I was meant to.  Precompiled daily build.  sncviewer.rock into the rocks directory.  Play song xxx.mp3, with lyrics xxx.snc in the same directory.  While song is playing, run plugin.  Error.

Thanks smiley for the cool plugin -- what I do now (on the rare occasions I can be bothered) is display a lyrics text file while the song is playing.  This would be much nicer.

-Greg
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #33 on: January 22, 2006, 06:39:52 AM »
My posting was outdated and I deleted it. You need to use the updated .rock from the first posting in the thread (pick the right version for your model). Your other steps were fine.
« Last Edit: January 22, 2006, 08:09:28 AM by roolku »
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #34 on: January 22, 2006, 08:06:51 AM »
Quote from: (:@) on January 20, 2006, 04:06:59 AM
to rooku concerning utf8:
In the latest build I have updated the utf8-file handling. I don't think it is a good solution,
but it could work for you.
your utf8-file must meet these conditions:
- first three bytes of your file: EF BB BF (BOM)
- your original file is either encoded in latin or gb (may also work with other encodings)
- the timetag is 00xxxxxx (no hours)

note that if your file was encoded in latin then it could be that the last character and
the first on the new line aren't displayed correctly, because just wrapped after 16 bytes.

Thank you, that works a lot better. Just the occasional charecter moving on to the next line...

I also love the time tag editor.  Thanks a lot for the great plugin.
Logged

Offline inluxication

  • Member
  • *
  • Posts: 44
Re: new plugin: sncviewer
« Reply #35 on: January 23, 2006, 03:34:18 AM »
Roolku and (:@), many thanks -- I'll try it now.
...
...
Nice!
« Last Edit: January 23, 2006, 03:46:35 AM by inluxication »
Logged

Offline idanm

  • Member
  • *
  • Posts: 14
Re: new plugin: sncviewer
« Reply #36 on: January 25, 2006, 01:23:34 PM »
could you make the plugin for the h300 as well for the latest build?
Logged

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #37 on: January 26, 2006, 06:45:48 AM »
Quote from: idanm on January 25, 2006, 01:23:34 PM
could you make the plugin for the h300 as well for the latest build?

a build for the h300 is included...
« Last Edit: January 27, 2006, 03:30:50 AM by (:@) »
Logged

Offline chewy

  • Member
  • *
  • Posts: 1
Re: new plugin: sncviewer
« Reply #38 on: January 27, 2006, 12:55:32 PM »

- "buffer has not enough rows" -> to increase the buffer you have to modify BUFFERSIZE and MAX_ROWS


how?
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #39 on: January 27, 2006, 01:09:30 PM »
I have found that I typically get this error when I have empty lines at the end of the *.snc file. So getting rid of these lines fixes that for me.
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #40 on: January 27, 2006, 06:29:22 PM »
The plugin is working very well - thank you for your effort.

I got however tired of browsing to the plugins directory and so I created a little patch that will execute the sncviewer when you press the record button in the WPS. Maybe it is useful to somebody else as well.

Edit:

While I was at it I added the ability to display cover art with a long press of the record button. The code searches for <filename>.jpg  then <ID3tag_album>.jpg then folder.jpg in the same directory as the audio file. If found it calls the jpeg.rock plugin which has been patched to display the image while music is playing provided the jpeg is not too big. I use images with a hight of 512 and it works perfectly.

Enjoy

[attachment deleted by admin, too old]
« Last Edit: January 27, 2006, 08:50:12 PM by roolku »
Logged

Offline MoAv

  • Member
  • *
  • Posts: 95
Re: new plugin: sncviewer
« Reply #41 on: January 28, 2006, 05:26:06 PM »
Getting incompatible model when trying to use the rec patch . Hmmm... first patch I've tried , mabey it's me doing stupid stuff .
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #42 on: January 29, 2006, 08:11:27 AM »
Quote from: MoAv on January 28, 2006, 05:26:06 PM
Getting incompatible model when trying to use the rec patch . Hmmm... first patch I've tried , mabey it's me doing stupid stuff .

How did you apply the patch? Your error message sounds as if you were trying to load it on the player?

You will need to run

patch -p0 < filename.patch

from the top of the source tree. There are some instructions about patching on the Wiki: http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling.
Logged

Offline MoAv

  • Member
  • *
  • Posts: 95
Re: new plugin: sncviewer
« Reply #43 on: January 29, 2006, 11:01:09 AM »
Exactly what I did .
patched it , and then compiled .
made the zip , then unpacked it to my player , as I usually do with the daily build .
I can press the record button , but there's incompatible message , so it looks like the file was patched , but doesn't match to the CVS mabey ?
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 349
Re: new plugin: sncviewer
« Reply #44 on: January 29, 2006, 11:53:25 AM »
Quote from: MoAv on January 29, 2006, 11:01:09 AM
Exactly what I did .
patched it , and then compiled .
made the zip , then unpacked it to my player , as I usually do with the daily build .
I can press the record button , but there's incompatible message , so it looks like the file was patched , but doesn't match to the CVS mabey ?
Ah, I see.  In my opinion that means it is trying to load the scnviewer.rock, but the plugin is out of date. Does it work when you try to run the plugin from the browse plugin menu? Maybe you still have an old version there?

My patch doesn't change the plugin, it only alters the main application to call the plugin. So you need to put in the source from the first post in your apps/plugin directory and added the filename to the apps/plugin/SOURCES file?
Logged

  • Print
Pages: 1 2 [3] 4 5 ... 13
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  sncviewer plugin
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.133 seconds with 20 queries.