Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.21 KB

File metadata and controls

69 lines (51 loc) · 1.21 KB

InternetRadio

Internet Radio is a web application created in .NET Core technology, based on the MVC pattern.

Dependencies

https://github.com/naudio/NAudio

Usage

Listenable radio stations are in the ../Models/WebRadiosRepository.cs, you can add more...

Web page

2021-07-03_202533

Web API - Available commands

Play station

https://localhost:44374/apiradio/Play
{
    "name": "ChiliZet",
    "url": "https://ch.cdn.eurozet.pl/chi-net.mp3"
}

Add station

https://localhost:44374/apiradio/addstation
{
    "name": "ChiliZet",
    "url": "https://ch.cdn.eurozet.pl/chi-net.mp3"
}

Remove station

https://localhost:44374/apiradio/removestation
{
    "name": "ChiliZet",
    "url": "https://ch.cdn.eurozet.pl/chi-net.mp3"
}

Increases the volume by 10%.

https://localhost:44374/apiradio/VolumeUp

Increases the volume by 20%.

https://localhost:44374/apiradio/VolumeUpUp

Decrease the volume by 10%.

https://localhost:44374/apiradio/VolumeDown

Decrease the volume by 20%.

https://localhost:44374/apiradio/VolumeDownDown