pirateradiohack / Transistor_Deprecated

Open source DIY web radio receiver!
BSD 3-Clause "New" or "Revised" License
15 stars 2 forks source link

Integrate Radio-Browser.info in frontend through Javascript instead of the Python backend #5

Closed pirateradiohack closed 1 year ago

pirateradiohack commented 2 years ago

Right now adding a new radio is done in the main interface by clicking the +Radio button and sends the text entered by the user to a Python service running in the back end that in turn asks the radio-browser.info service to return a stream for the corresponding radio title.

The Python service should be removed and replaced by a proper javascript call to radio-browser.info directly from the front end. Then the answer returned from radio-browser.info should be used in the same way the +Stream works by sending the stream directly to the back end to be added to the list.

There are examples for NodeJS with the 3rd party library here: https://github.com/nepodev/radio-browser

pirateradiohack commented 1 year ago

This is being solved with V2.