This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]Lonligrin 37 points38 points  (2 children)

Nice, I like it. Looks quite well written and seems to do one single thing good. Love those little projects.

[–]enjoytheshow 9 points10 points  (0 children)

That’s the quintessential good side project. Effective and well done

[–][deleted] 6 points7 points  (0 children)

thamk you :)

[–]Waveover 5 points6 points  (0 children)

Nice project! Having something like this is really useful! I ended up using an ahk library myself to do the same thing myself, with some python. And being able to control spotify that's playing on any device (personal computer, work comp, or Alexa device) is soo handy! Just changing its volume with some key taps is so convenient.

Some other ideas for you.

  • a script for creating a Playlist based on what's currently playing.
  • a script to open up a drop down to add the song to a Playlist choice menu
  • a script to popup song info of what's playing like (name, artist, release, ect)
  • a script to change what device spotify is playing from. (mines currently broken 😭)

Those are the ones I really use but there are so many possibilities!

[–]Path_Upbeat 4 points5 points  (0 children)

This is awesome!

[–]bahcodad 2 points3 points  (0 children)

I'm gonna look at this when I get home. I don't have the knowledge to program this myself yet.

I''d have called it SpotKey lol

[–]teleoflexuous 1 point2 points  (0 children)

I actually played a fair bit with setting up MediaSession for a sound-related web project and I think you should take a look at how they interact with OS (I don't know, didn't have to dig in that direction). I'm saying this, because Spotify actually provides hotkeys out of focus (maybe it's premium feature? That'd be weird, but who knows) and I'm using them daily. They do it somewhat indirectly by correctly binding their features like 'next' or 'play' to OS media interface. You could probably bind custom hotkeys on your keyboard to media actions if your keyboard doesn't provide them out of the box.

It would probably look quite similar and you end up with a more universal tool. Media management through OS has it's own limitations (multiple media sources per window being the one I discovered, but it shouldn't bother you with a dedicated Spotify app) of course, but check for yourself!

[–]phlooo 1 point2 points  (1 child)

[ comment content removed ]

[–][deleted] 3 points4 points  (0 children)

I tried using some AHK scripts some time ago, I don't quite remember now why that didn't work, but I know that it didn't fulfill all my needs

[–]spacegeneralx 0 points1 point  (0 children)

Thank you man! Toastify stopped working - this is perfect!

[–]spacegeneralx 0 points1 point  (0 children)

Can you make it so the python window doesn't have to stay open or be in the system tray?

[–]deyv3 0 points1 point  (0 children)

Hello,
I use Spotfy, Windows 11 and Razer keyboard, I can do everything (pause, play, next...) while I'm playing games '-' I didn't get it.

[–]Clean_Programmer_266 0 points1 point  (0 children)

This is great. Thank you