print $streams->openTheDir($_GET['dir']); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "getHomeNavigation") { print $streams->getHomeNavigation(); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "openMyRadio") { print $streams->openMyRadio(); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "search") { print $streams->search($_GET['q']); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "clearPlaylist") { print $streams->clearPlaylist(); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "addToPlaylist") { print $streams->addToPlaylist($_GET['dir']); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "addToPlaylistFile") { print $streams->addToPlaylistFile($_GET['dir'], $_GET['file']);