https://github.com/synox/srf-radio-sync-to-spotify
When you ❤️ SRF radio, but not the talking.
https://github.com/synox/srf-radio-sync-to-spotify
Last synced: 9 months ago
JSON representation
When you ❤️ SRF radio, but not the talking.
- Host: GitHub
- URL: https://github.com/synox/srf-radio-sync-to-spotify
- Owner: synox
- Created: 2021-01-02T21:12:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-23T17:15:49.000Z (over 5 years ago)
- Last Synced: 2025-02-15T20:30:53.956Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 152 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
> Fetch songs from https://www.srf.ch/radio-srf-3/gespielte-musik and create a spotify playlist for each day.
# Usage
Create spotify app https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app and create file `spotify_credentials.json`
# Example
https://open.spotify.com/playlist/3kIk50muB3X5IUVHaMuCXq?si=_TAGFkReQZuAW0usXLM5lQ
# TODO
- Use refresh-token for automatic login to spotify. Currently the tokens are only valid for a few minutes.
- Wrap it in a docker container so it can be executed automatically.
- Error handling when creating the spotify playlist.
# Used resources:
- https://dev.to/tusharpandey13/getting-on-with-es6-nodejs-eslint-without-babel-4ip7
- https://github.com/xojs/xo