RyanRussell00 / personal-dj

Personal DJ site that creates playlists given custom inputs. View it live at: http://personaldj.net/
http://personaldj.net/
MIT License
26 stars 12 forks source link

Toggle between explicit and non-explicit music #23

Closed RyanRussell00 closed 3 years ago

RyanRussell00 commented 3 years ago

The response from the Spotify API contains data about whether certain tracks are explicit or not. The user should have a toggle switch that lets them toggle between Explicit and non-explicit.

Maybe the easiest way to do this is to generate 2 separate lists when recommendations are loaded in, 1 with all the tracks and 1 with only non-explicit tracks. Then when the user toggles we just show different tracks and send the selected list to Save as playlist.

Idea suggested by: RippedGeek from Reddit. Thanks Geek!

image

megabyte98 commented 3 years ago

hey @RyanRussell00 can I handle this issue?

RyanRussell00 commented 3 years ago

@megabyte98 PR #25 has already been opened to resolve this. Please feel free to take up another issue, or add some more features to the app!

megabyte98 commented 3 years ago

ok @RyanRussell00 but @ad-dan please comment before working on an issue and making a PR so that others are informed