public function removeFromPlaylist($device, array $data) { Logger::debug(__METHOD__, self::$logfile); $playlist = new Playlist($device); $playlist->removeItem($data['ItemID']); }