| 1 | otolog4linux version 0.04 |
|---|
| 2 | |
|---|
| 3 | = Contents = |
|---|
| 4 | |
|---|
| 5 | * Introduction |
|---|
| 6 | * Supported Music Player |
|---|
| 7 | * Settings |
|---|
| 8 | * Minimum Requirements |
|---|
| 9 | * Installation |
|---|
| 10 | * Plugin Development |
|---|
| 11 | |
|---|
| 12 | === Introduction === |
|---|
| 13 | |
|---|
| 14 | Otolog is music logging service. The music information |
|---|
| 15 | which you are playing in iTunes was distributed from otolog server. |
|---|
| 16 | This application get the information from the un*x multimedia player, |
|---|
| 17 | and post the information to otolog server. |
|---|
| 18 | |
|---|
| 19 | === Supported Music Player === |
|---|
| 20 | |
|---|
| 21 | * rhythmbox |
|---|
| 22 | * amarok |
|---|
| 23 | * xmms (mp3 only) |
|---|
| 24 | * kscd |
|---|
| 25 | * beep-media-player (same sa xmms) |
|---|
| 26 | * iTunes (win32 only) |
|---|
| 27 | * Music Player Daemon (mpc) |
|---|
| 28 | |
|---|
| 29 | === Minimum Requirements === |
|---|
| 30 | |
|---|
| 31 | 1. Python 2.4 |
|---|
| 32 | 2. PyGTK |
|---|
| 33 | 3. GTK 2.6 |
|---|
| 34 | |
|---|
| 35 | following are optional... |
|---|
| 36 | 4. eyeD3 |
|---|
| 37 | 5. win32com |
|---|
| 38 | 6. bonobo |
|---|
| 39 | 7. pyXMMS |
|---|
| 40 | |
|---|
| 41 | === Installation === |
|---|
| 42 | |
|---|
| 43 | # python setup.py install |
|---|
| 44 | |
|---|
| 45 | if you want to use rpm, |
|---|
| 46 | |
|---|
| 47 | # python setup.py bdist_rpm |
|---|
| 48 | # rpm -Uvh dist/otolog4linux*.rpm |
|---|
| 49 | |
|---|
| 50 | or, if you want to use installer for windows, |
|---|
| 51 | |
|---|
| 52 | # python setup.py bdist_wininst --install-script otolog4linux_install.py |
|---|
| 53 | |
|---|
| 54 | and copy dist/*.exe to windows. |
|---|
| 55 | |
|---|
| 56 | === Plugin Development === |
|---|
| 57 | |
|---|
| 58 | plugins naming rule: |
|---|
| 59 | player_XXX.py : module for getting player information |
|---|
| 60 | jacket_XXX.py : module for getting jacket information |
|---|
| 61 | |
|---|
| 62 | player plugin module: |
|---|
| 63 | def play() : ... |
|---|
| 64 | def stop() : ... |
|---|
| 65 | def prev() : ... |
|---|
| 66 | def next() : ... |
|---|
| 67 | def pause() : ... |
|---|
| 68 | def get_info(settings): |
|---|
| 69 | settings : user settings dictionary |
|---|
| 70 | this function should return information dictionary |
|---|
| 71 | |
|---|
| 72 | jacket plugin module: |
|---|
| 73 | def get_info(settings, player_info): |
|---|
| 74 | settings : user settings dictionary |
|---|
| 75 | this function should return URL |
|---|
| 76 | |
|---|
| 77 | and this function can change player_info |
|---|
| 78 | |
|---|
| 79 | - otolog4linux development team |
|---|