kittinan / spotify-github-profile

Show your Spotify playing on your Github profile

Home Page:https://spotify-github-profile.kittinanx.com/api/login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When nothing is being played, it will show random songs on your playlist

lucasmz-dev opened this issue · comments

commented

I have been having this issue on which it will show random songs from the playlist I left Spotify with, while I'm not listening to anything.

This is kind of annoying since you can't confirm if someone is actually listening to that song or not.

Not sure if this is an issue on my part but I don't think so? This doesn't seem to handle it properly when you're not listening to anything, adding support for that would be great! I would love to see support for it! :)

It's feature writing here. when a song is not playing it will randomly pick one from the recent_plays.

idx = random.randint(0, size_recent_play - 1)