Example #1
0
     die;
 } else {
     if ($_GET['action'] == "addToPersonalRadio") {
         print $streams->addToPersonalRadio($_GET['dir']);
         die;
     } else {
         if ($_GET['action'] == "removeFromPersonalRadio") {
             print $streams->removeFromPersonalRadio($_GET['dir'], $_GET['station']);
             die;
         } else {
             if ($_GET['action'] == "saveMyRadio") {
                 print $streams->saveMyRadio($_GET['name']);
                 die;
             } else {
                 if ($_GET['action'] == "viewMyRadio") {
                     print $streams->viewMyRadio();
                     die;
                 } else {
                     if ($_GET['action'] == "loadStation") {
                         print $streams->loadStation($_GET['station']);
                         die;
                     } else {
                         if ($_GET['action'] == "removeRadioStation") {
                             print $streams->removeRadioStation($_GET['station']);
                             die;
                         } else {
                             if ($_GET['action'] == "suggest") {
                                 print $streams->suggestRadioStationItem($_GET['term']);
                                 die;
                             } else {
                                 if ($_GET['action'] == "addToRadioStation") {