Radiopy is a set of Python scripts that fetches playlists from various radio stations and feeds them into Spotify playlists. The project is still in its early stages and only supports a few radio stations.
The easiest way to run the scripts is to use Docker. You can use the docker-compose.yml
file to run the container.
docker-compose up -d # Start the container in the background
docker-compose exec scheduler ./login.sh # Login to Spotify
Make sure to restart the container after logging in to Spotify if the scheduler has already started a script.
By default, the script will add a new playlist for each radio station/channel and update the playlist every week.
You can change this behaviour by modifying the cronfile
and adding a volume mapping to the docker-compose.yml
file.
volumes:
- ./cronfile:/app/cronfile # use this if you want to use a custom cronfile
- bigFM (uses Regiocast API)
- Antenne Bayern
Regiocast has many endpoints. Mostly radiorepo.io and loverad.io. Both have many subdomains. It seems that the endpoint completely ignores timezones and uses the server's timezone. Probably Europe/Berlin.
- GraphQL (
permanentLivestream
) - Current Songs:
https://programm-api.ard.de/radio/api/channel/{coreId}?pastHours=1
ARD features many radio stations. The most popular ones are:
The GraphQL endpoint seems to cover all data for all radio stations.