Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mood based random song generator #379

Open
amaziahub opened this issue Nov 26, 2024 · 0 comments
Open

Mood based random song generator #379

amaziahub opened this issue Nov 26, 2024 · 0 comments

Comments

@amaziahub
Copy link

Is your feature request related to a problem? Please describe.
I often find it difficult to discover new songs based on my mood. I wish there was an easy way to get song recommendations from YouTube that fit how I’m feeling.

Describe the solution you'd like
Python script that takes a mood as input (e.g., happy, sad, energetic) and fetches a random YouTube song related to that mood. The script should open the song in the default web browser.

Describe alternatives you've considered
I’ve considered using pre-built music recommendation APIs, but I wanted a solution that specifically pulls from YouTube and directly opens the song in the browser.

Additional context
This script uses the YouTube Data API to search for mood-based songs and opens a randomly chosen result in the browser. A valid YouTube API key is required to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant