constructor __construct [line 41]
AmpacheMpd __construct(
)
|
|
Constructor
This returns the array map for the localplay object REQUIRED for Localplay
Tags:
method add [line 276]
add
This takes a single object and adds it in, it uses the built in functions to generate the URL it needs
Tags:
Overrides
localplay_controller::add() (parent method not documented)
Parameters:
method add_instance [line 125]
void add_instance(
$data)
|
|
add_instance
This takes key'd data and inserts a new MPD instance
Tags:
Overrides
localplay_controller::add_instance() (parent method not documented)
Parameters:
method clear_playlist [line 316]
clear_playlist
This deletes the entire MPD playlist... nuff said
Tags:
method connect [line 561]
connect
This functions creates the connection to MPD and returns a boolean value for the status, to save time this handle is stored in this class
Tags:
Overrides
localplay_controller::connect() (parent method not documented)
method delete_instance [line 155]
void delete_instance(
$uid)
|
|
delete_instance
This takes a UID and deletes the instance in question
Tags:
Overrides
localplay_controller::delete_instance() (parent method not documented)
Parameters:
method delete_track [line 304]
void delete_track(
$object_id)
|
|
delete_track
This must take a single ID (as passed by get function) from Ampache and delete it from the current playlist
Tags:
Overrides
localplay_controller::delete_track() (parent method not documented)
Parameters:
method get [line 463]
get_songs
This functions returns an array containing information about The songs that MPD currently has in it's playlist. This must be done in a standardized fashion
Tags:
Overrides
localplay_controller::get() (parent method not documented)
method get_active_instance [line 266]
method get_description [line 52]
method get_instance [line 192]
void get_instance(
[
$instance = ''])
|
|
get_instance
This returns the specified instance and all it's pretty variables If no instance is passed current is used
Tags:
Parameters:
method get_instances [line 172]
method get_version [line 62]
method install [line 85]
method instance_fields [line 230]
instance_fields
This returns a key'd array of [NAME]=>array([DESCRIPTION]=>VALUE,[TYPE]=>VALUE) for the fields so that we can on-the-fly generate a form
Tags:
Overrides
localplay_controller::instance_fields() (parent method not documented)
method is_installed [line 72]
method move [line 450]
void move(
$SrcPos,
$DestPos)
|
|
move
This tells MPD to move song from SrcPos to DestPos
Tags:
Parameters:
method next [line 383]
next
This just tells MPD to skip to the next song
Tags:
method pause [line 405]
pause
This tells MPD to pause the current song
Tags:
method play [line 329]
play
This just tells MPD to start playing, it does not take any arguments
Tags:
Overrides
localplay_controller::play() (parent method not documented)
method prev [line 394]
prev
This just tells MPD to skip to the prev song
Tags:
method random [line 439]
random
This tells MPD to turn on or off the playing of songs from the playlist in random order
Tags:
Parameters:
method repeat [line 428]
repeat
This tells MPD to set the repeating the playlist (i.e. loop) to either on or off
Tags:
Parameters:
method set_active_instance [line 245]
void set_active_instance(
$uid, [
$user_id = ''])
|
|
set_active_instance
This sets the specified instance as the 'active' one
Tags:
Overrides
localplay_controller::set_active_instance() (parent method not documented)
Parameters:
method skip [line 352]
skip
This tells MPD to skip to the specified song
Tags:
Parameters:
method status [line 534]
get_status
This returns bool/int values for features, loop, repeat and any other features That this localplay method support
Tags:
Overrides
localplay_controller::status() (parent method not documented)
method stop [line 341]
stop
This just tells MPD to stop playing, it does not take any arguments
Tags:
Overrides
localplay_controller::stop() (parent method not documented)
method uninstall [line 110]
method update_instance [line 210]
void update_instance(
$uid,
$data)
|
|
update_instance
This takes an ID and an array of data and updates the instance specified
Tags:
Overrides
localplay_controller::update_instance() (parent method not documented)
Parameters:
method volume [line 417]
volume
This tells MPD to set the volume to the parameter
Tags:
Parameters:
method volume_down [line 372]
This tells MPD to decrese the volume by 5
Tags:
method volume_up [line 362]
This tells MPD to increase the volume by 5
Tags: