Python: the bmp package |
Python interface to XMMS
PyXMMS is implemented as a Python package, named bmp. This package offers three public modules:
The bmp.common module provides common
objects to share between the two other modules, such as bmp.common.error, the most generic PyXMMS
exception, also accessible as bmp.error
.
The bmp.control module provides functions to control XMMS (play, pause, add files to the playlist...).
The bmp.config module provides functions and classes to manage the main configuration file for XMMS (parsing, modification, writing...).
For backward compatibility, the public objects defined in bmp.control are accessible directly from the
bmp package, so code like import bmp; bmp.play()
still works,
but you should not rely on this behaviour.