Beispiel #1
0
        public ActionResult Get(int id)
        {
            RadioStation selectedStation = _radioStations.FirstOrDefault(x => x.Id.Equals(id));

            return(Json(selectedStation == null ? new SongMetadata() : MetadataWorker.SendRequest(selectedStation.ChannelUrl)));
        }
Beispiel #2
0
 public ActionResult Get()
 {
     return(Json(MetadataWorker.SendRequest("http://radio.vgmradio.com:8040/stream")));
 }