root/lang/python/otolog4linux/trunk/README

Revision 2266, 1.6 kB (checked in by mattn, 12 months ago)

lang/python/otolog4linux: initial import.

Line 
1otolog4linux 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
14Otolog is music logging service. The music information
15 which you are playing in iTunes was distributed from otolog server.
16This 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
311. Python 2.4
322. PyGTK
333. GTK 2.6
34
35following are optional...
364. eyeD3
375. win32com
386. bonobo
397. pyXMMS
40
41=== Installation ===
42
43# python setup.py install
44
45if you want to use rpm,
46
47# python setup.py bdist_rpm
48# rpm -Uvh dist/otolog4linux*.rpm
49
50or, if you want to use installer for windows,
51
52# python setup.py bdist_wininst --install-script otolog4linux_install.py
53
54and copy dist/*.exe to windows.
55
56=== Plugin Development ===
57
58plugins naming rule:
59  player_XXX.py : module for getting player information
60  jacket_XXX.py : module for getting jacket information
61
62player 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
72jacket 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
Note: See TracBrowser for help on using the browser.