Also fix up attributes and countrycode mapping as outlined in migration suggestions at https://api.radio-browser.info/
Co-authored-by: Thomas Endt <thomas.endt@uipath.com>
Co-authored-by: Jonathan Rawle <git@jonathanrawle.co.uk>
We now get the playable station URL directly from the Radiobrowser API.
This fixes the issue with playlists in the 'url' attribute.
Does not work if played station tracking would be disabled.
It _could_ work but we would need to create an additional API request for every single listed station, even the ones not enqueued for playing.
This would then be way slower and put extra strain on the Radiobrowser API.
This greatly improves loading times and takes some load off the APIs.
* Add generic directory class to also hold item count
* Radiobrowser: Get station count directly from API
* Optionally show broken stations and their count
* Remove minimum station bitrate to not filter away some listings
* Improve code wording
* Log API requests
* use flask for easier url handling and tidyness
* create radio-browser.info and vtuner api classes
* add support for more vtuner logic (logos, info messages, search, buttons, etc.)
* use radio-browser.info index and search
* prepare for python packaging