diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 22:17:13 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 22:17:13 +0000 |
commit | f89098d3ac6ea2045f34c586d1433ca40e6df9c7 (patch) | |
tree | f382e112dae91b392a38671f81c9a798766f1505 /lib | |
parent | b1b7998a0f9a6438725fb574e63e27859a6bd2e6 (diff) | |
download | ampache-f89098d3ac6ea2045f34c586d1433ca40e6df9c7.tar.gz ampache-f89098d3ac6ea2045f34c586d1433ca40e6df9c7.tar.bz2 ampache-f89098d3ac6ea2045f34c586d1433ca40e6df9c7.zip |
few more tweaks to localplay, added in the mpd table creation mojo, just need to finish install and then build the interface
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/localplay.class.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/class/localplay.class.php b/lib/class/localplay.class.php index d9d19841..d2611609 100644 --- a/lib/class/localplay.class.php +++ b/lib/class/localplay.class.php @@ -58,6 +58,22 @@ class Localplay { } // _get_info /** + * player_loaded + * This returns true / false if the player load + * failed / worked + */ + public function player_loaded() { + + if (is_object($this->_player)) { + return true; + } + else { + return false; + } + + } // player_loaded + + /** * format * This makes the localplay/plugin information * human readable |