Support and General Use > Plugins/Viewers

sncviewer plugin

<< < (9/38) > >>

roolku:
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]

MoAv:
Getting incompatible model when trying to use the rec patch . Hmmm... first patch I've tried , mabey it's me doing stupid stuff .

roolku:

--- 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 .

--- End quote ---

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.

MoAv:
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 ?

roolku:

--- 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 ?

--- End quote ---
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?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version