From f89098d3ac6ea2045f34c586d1433ca40e6df9c7 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 9 Sep 2007 22:17:13 +0000 Subject: few more tweaks to localplay, added in the mpd table creation mojo, just need to finish install and then build the interface --- lib/class/localplay.class.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/class') 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 @@ -57,6 +57,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 -- cgit