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']); $streams->print_gzipped_page(); die; } else { if ($_GET['action'] == "getRandomPlaylist") { if (isset($_GET['station']) && $_GET['station'] != null && $_GET['station'] != "undefined") {