| 1 |
ripperX plugin tester v0.1 |
| 2 |
|
| 3 |
This document describes what ripperX_plugin_tester is and how to use it. |
| 4 |
|
| 5 |
1. ripperX_plugin_tester? |
| 6 |
|
| 7 |
ripperX_plugin_tester is a program with which one can test if a plugin he/she |
| 8 |
wrote works fine. It is essentially made from the code segments from ripperX |
| 9 |
which handles execution of ripper/encoder/plugin and the parsing of output |
| 10 |
from plugin. So if a plugin looks fine when tested with ripperX_plugin_tester, |
| 11 |
it should work with ripperX. |
| 12 |
|
| 13 |
|
| 14 |
2. How do I use it? |
| 15 |
|
| 16 |
The syntax is |
| 17 |
|
| 18 |
$ ripperX_plugin_tester "ripper/encoder command" "plugin command" |
| 19 |
|
| 20 |
for example, to test cdparanoia plugin. |
| 21 |
|
| 22 |
$ ripperX_plugin_tester "cdparanoia 4" "ripperX_plugin-cdparanoia 31987 4215 |
| 23 |
|
| 24 |
After executing ripperX_plugin_tester like above, if everything goes ok, |
| 25 |
you'll see output like this |
| 26 |
|
| 27 |
***Executing "cdparanoia 4" |
| 28 |
with plugin "./ripperX_plugin-cdparanoia 31987 4215" |
| 29 |
|
| 30 |
*** No report available from plugin. Ctrl-C to stop |
| 31 |
*** PLUGIN_MSG_PARSE_ERR returned |
| 32 |
|
| 33 |
*** No report available from plugin. Ctrl-C to stop |
| 34 |
*** PLUGIN_MSG_PARSE_ERR returned |
| 35 |
|
| 36 |
*** No report available from plugin. Ctrl-C to stop |
| 37 |
*** PLUGIN_MSG_PARSE_ERR returned |
| 38 |
|
| 39 |
*** No report available from plugin. Ctrl-C to stop |
| 40 |
*** PLUGIN_MSG_PARSE_ERR returned |
| 41 |
|
| 42 |
*** No report available from plugin. Ctrl-C to stop |
| 43 |
*** PLUGIN_MSG_PARSE_ERR returned |
| 44 |
|
| 45 |
*** Output read from plugin : [P 0.055991 "--> "] |
| 46 |
Report type : progress, Progress : 0.055991, |
| 47 |
Msg : --> |
| 48 |
|
| 49 |
*** Output read from plugin : [P 0.092527 "-+-> "] |
| 50 |
Report type : progress, Progress : 0.092527, |
| 51 |
Msg : -+-> |
| 52 |
|
| 53 |
If something goes wrong, it will print out error msgs. The error msgs are |
| 54 |
quite easy. I think you can figure what's wrong when an error msg appears. |
| 55 |
|
| 56 |
============================================================================== |
| 57 |
ripperX_plugin_tester v0.1 |
| 58 |
TeJun, Huh |
| 59 |
[email protected] |