modules::clPlayerForWin::Player Class Reference

Pyjama's Player class based on gstreamer0.10. More...

List of all members.

Public Member Functions

def __init__
def add2playlist
def move_item
def remove
def clearplaylist
def set_volume
def check_status
def on_eos
def on_sync_message
def on_message
def set_location
def query_position
def seek
 Seek inside a track.
def pause
def increment_counter
def play
def stop
def next
def prev
def get_state
def is_playing

Public Attributes

 playing
 Boolean - is the player playing?
 player
 The gstreamer player object.
 EOS
 End of stream.
 pyjama
 Reference to pyjama.
 cur_playing
 Song being played.
 last_played
 Song played before.
 connection_tries
 Obsolete.
 artist_counter
 Dictionary - Number each artist was played.
 album_counter
 Dictionary - Number each album was played.
 track_counter
 Dictionary - Number each track was played.
 playlist
 List of Tracks.
 playlist_track_uids
 List of ids of the tracks in the playlist.
 percentage
 Playback position in %.
 text
 status
 Status of the player.
 cursec
 Current position of song in s.
 duration
 Duration of the song being played in s.
 togo
 Seconds to go.
 artist_name
 Name of the artist being played.
 track_name
 Name of the track being played.
 numalbum
 Number of the track being played.


Detailed Description

Pyjama's Player class based on gstreamer0.10.

Definition at line 57 of file clPlayerForWin.py.


Member Function Documentation

def modules::clPlayerForWin::Player::seek (   self,
  location 
)

Seek inside a track.

Parameters:
self Object Pointer
location Position to seek to in ns
Returns:
  • True if seeking was succesfull
  • False if seeking failed

Definition at line 318 of file clPlayerForWin.py.


The documentation for this class was generated from the following file:

Generated on Thu Jun 4 19:08:24 2009 for Pyjama by  doxygen 1.5.8