- 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
Opened by Domonoky - 2008-08-30
Last edited by bluebrother - 2012-01-11
FS#9341 - Rbutil - testplugin with python and PyQt
Hi.
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/testplugin.pro 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
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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Little improvement for the patch.
Exports the settings object to the Plugin, and exports one function of the settings object to Python. (current mountpoint)
Up,
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.
There is a example python file in the plugins dir.
It now executes a testplugin.py file in the same dir as the plugin .so/.dll is.
This is very good for testing and fiddeling with the Python part.
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.
EDIT:
add missing header