Python: the xmms package |
Python interface to XMMS
PyXMMS is implemented as a Python package, named xmms. This package offers three public modules:
The xmms.common module provides common
objects to share between the two other modules, such as xmms.common.error, the most generic PyXMMS
exception, also accessible as xmms.error
.
The xmms.control module provides functions to control XMMS (play, pause, add files to the playlist...).
The xmms.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 xmms.control are accessible directly from the
xmms package, so code like import xmms; xmms.play()
still works,
but you should not rely on this behaviour.