Help for this page

Select Code to Download


  1. or download this
    sub new {
       my ($class) = @_;
    ...
       $self->{xmms} = Xmms::Remote->new;
       # ... more stuff ...
    }
    
  2. or download this
    sub is_paused { $_[0]->{xmms}->is_paused; }
    sub is_playing { $_[0]->{xmms}->is_playing; }
    sub pause { $_[0]->{xmms}->pause; }
    sub play { $_[0]->{xmms}->play; }
    sub stop { $_[0]->{xmms}->stop; }
    
  3. or download this
    sub AUTOLOAD {
       my ($self) = @_;
    ...
    
    }
    
  4. or download this
          $self->{xmms}->$method;