Code Camp - Web Radio with Spotify
You want to hear the BlaBla from some radio station (e.g. Radio SRF 1, News, etc.), but you can't stand the music there. You want both, good music AND blabla
Mix the your favourite music stream together with the Blabla from a chosen radio station. And be happy slightly smiling face
- Consume Blabla-Stream (SRF 1)
- Consume Music-Stream (Spotify) (API key)
- Create one final stream, where User can switch between Blabla and Music
- Automatic switching to Blabla-Stream, when blabla is broadcasted
- Smooth Transitions (Wait with Blabla until song has ended, or Smooth Fade-out/in)
- PowerPoint Slides
- ----- up to here happened in the CodeCamp in Emmetten -----
- Deployment to Incubator
- Nice UI for Spotify (Playlists, Artists, Skip Button, Login etc.)
- Display current song/Playlist/Blabla-Epiosode
- Radio station selectable from 50'000 stations (-> not possible due to lack of meta data)
- Go-Mobile: PWA
- Android/iOS app
- Mix Music from station 1 with Blabla from station 2
- Mix Music from station 1 with Spotify during the Blabla episodes
- Be millionaire and love-your-live!
- mvn clean install
- docker build -t blabla-backend .
- docker run -p 8080:8080 blabla-backend
- docker logs -f blabla-backend
- docker tag blabla-backend raffaelheinzer248/blabla-spotify-backend
- docker push raffaelheinzer248/blabla-spotify-backend
- docker rm -f blabla-backend
- oc create secret generic blabla-secrets --namespace=blabla-spotify --dry-run=client -o yaml --from-literal="SRF_CONSUMER_KEY=FIXME" --from-literal="SRF_CONSUMER_SECRET=FIXME" --from-literal="SPOTIFY_CLIENT_ID=FIXME" --from-literal="SPOTIFY_CLIENT_SECRET=FIXME"> blabla-secrets.yaml
- download https://raw.githubusercontent.com/baloise-incubator/okd4-cluster-infra-apps/refs/heads/master/sealed-secrets/kubeseal.crt > incubator-ca.crt
- kubeseal --cert incubator-ca.crt --namespace=blabla-spotify -oyaml < blabla-secrets.yaml > sealed-secret.yaml
- npm run build
- docker build -t blabla-frontend .
- docker run -p 4200:8080 blabla-frontend
- docker tag blabla-frontend raffaelheinzer248/blabla-spotify-frontend
- docker push raffaelheinzer248/blabla-spotify-frontend
- docker rm -f blabla-frontend
- Web API & Player API: https://developer.spotify.com/
- Our App: https://developer.spotify.com/dashboard/d524fc41ac744eb6878f3a1d29c71f70/settings
- Maybe a good openapi.yaml for the Web API: https://github.com/sonallux/spotify-web-api/blob/main/fixed-spotify-open-api.yml
- SRF API Program/Lineup: https://developer.srgssr.ch/api-catalog/srgssr-epg-v3
- SRF API Channels, Streams, etc.: https://developer.srgssr.ch/api-catalog/srgssr-audio-0
- Incubator: https://console.baloise.dev/add/all-namespaces
- Incubator Deployments: https://github.com/baloise-incubator/code-camp-apps
- ArgoCD: https://argocd.baloise.dev/
- Sealed Secrets: https://confluence.baloisenet.com/pages/viewpage.action?pageId=1867186764
- Sealed Secrets CA: https://github.com/baloise-incubator/okd4-cluster-infra-apps/blob/master/sealed-secrets/kubeseal.crt
- Material UI: https://m3.material.io/
- Material UI for Angular: https://material.angular.io/
- Radio Browser API with thousands of radio streams: https://www.radio-browser.info/
- Inofficial TuneIn API docs: https://tunein-api.corehacked.com/
- Media Elements for various services (not tried): https://github.com/muxinc/media-elements