• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Rbutil
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Domonoky - 2008-08-30
Last edited by bluebrother - 2012-01-11

FS#9341 - Rbutil - testplugin with python and PyQt


i made a crude attempt to make a testplugin for rbutil, which embeddes python with PyQt.
The idea is, to use such a technic to allow the devs of Rockbox Center to extend rbutil with their new ideas in python plugins.

This patch is very hacky, and only an attempt to prove that it is posssible.

To compile it, you need Python and PyQt. Adjust the paths in rbutil/rbutilqt/plugins/ to point to your Python installation. Also make sure you have the exact same Qt version for rbutil as the version used by your copy if PyQt.
Then just build rbutil normally, and do a "qmake && make" in the plugins dir.

Closed by  bluebrother
2012-01-11 20:38
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

no activity since years.

Little improvement for the patch.
Exports the settings object to the Plugin, and exports one function of the settings object to Python. (current mountpoint)

now the patch is hopefully without dublicates..

new Version, it now re-loads he plugin before calling run on it. This prevents crashed in th Python part ofthe plugin.

New version.
It now executes a file in the same dir as the plugin .so/.dll is.
This is very good for testing and fiddeling with the Python part. :-) There is a example python file in the plugins dir.

I also extracted the rbsettings to python binding into a extra file. So it can easily reused by other python plugins.
And i added a few more rbsettings functions to python.

add missing header


Available keyboard shortcuts


Task Details

Task Editing