|
Methods defined here:
- __del__(self)
- Close xmms before destroying this object.
- __init__(self)
- Start xmms if it isn't already running.
- filepath(self)
- Returns the full path of the currently loaded audio file.
- get_volume(self)
- Returns the current volume setting for xmms. !!!This function is slightly hacked
in the fact that it uses the left channel volume as a return value, stupidly assuming
that both channels are the same level (this is true in most cases I would think)!!!
- is_playing(self)
- Returns a boolean indicating whether the currently loaded audio file is playing.
- load(self, path)
- Loads the audio file specified by "path".
- pause(self)
- Pauses the currently loaded audio file. This leaves the playing position
at the current point.
- play(self)
- Plays the currently loaded audio file.
- position(self)
- Returns the position in milliseconds of the currently playing audio file.
- seek(self, ms)
- Moves the playing position of the currently loaded audio file to the value
specified by "ms". This value is in milliseconds.
- set_volume(self, value)
- Sets the main volume level for xmms.
- stop(self)
- Stops playing of the currently loaded audio file. This automatically sets
playing position back to the beginning of the audio file.
|