modules::clGstreamer010::Player Class Reference

!!! WORKING !!! gst-launch-0.10 uridecodebin uri=http://upload.wikimedia.org/wikipedia/commons/4/48/Frase_de_Neil_Armstrong.ogg ! volume volume=1.0 ! equalizer-10bands band0=12.0 band1=12.0 band2=12.0 ! pulsesink More...

List of all members.

Public Member Functions

def __init__
def set_equalizer
 Set pyjama's equalizer.
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?
 buffer
 current buffer
 equalizer_available
 equalizer_bands
 player
 The gstreamer player object.
 bin
 eq
 amp
 resample
 src
 volume
 volume_bin
 equalizer_bin
 pulse_bin
 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

!!! WORKING !!! gst-launch-0.10 uridecodebin uri=http://upload.wikimedia.org/wikipedia/commons/4/48/Frase_de_Neil_Armstrong.ogg ! volume volume=1.0 ! equalizer-10bands band0=12.0 band1=12.0 band2=12.0 ! pulsesink

Pyjama's Player class based on gstreamer0.10

Definition at line 112 of file clGstreamer010.py.


Member Function Documentation

def modules::clGstreamer010::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 530 of file clGstreamer010.py.

def modules::clGstreamer010::Player::set_equalizer (   self,
  bands 
)

Set pyjama's equalizer.

Parameters:
self OP
bands A list with values between -24.0 and +12.0

Definition at line 321 of file clGstreamer010.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