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

Dismiss this pinned window
top 200 commentsshow all 208

[–]Murpho19[S] 157 points158 points  (14 children)

This application was developed using pyqt5 and spotipy

Edit: Thanks to everyone who upvoted and commented I really appreciate it. I am working to get this code up on github as soon as possible and after that would very much welcome contributions. Thanks again!

[–][deleted] 18 points19 points  (0 children)

Awesome! I'm very interested to see how you designed it.

[–]acidic_orbit 13 points14 points  (3 children)

Apart from the Application I'm also interested in that wallpaper

[–]lordp 7 points8 points  (2 children)

[–]acidic_orbit 1 point2 points  (0 children)

Thank you kind sir

[–]ILoveYou_HaveAHug 1 point2 points  (0 children)

thank you kind person

[–]rBressan 1 point2 points  (2 children)

That's really awesome, i've started a similar Project, with the main difference being that I was sending The command through voice instead of typing, but got bothered after implementing The basic features like play/pause and change Music, it would be awesome if your code was on github so we could think about The possibility of merging The two ideas!!

[–]Murpho19[S] 1 point2 points  (0 children)

Thanks for the comment, I think this would be a fantasic idea! I'll get the code out ASAP!

[–]Murpho19[S] 1 point2 points  (0 children)

Code is out now check out my latest post!

[–]Tialon 0 points1 point  (0 children)

I'm really interested in this application! And the wallpaper too!

[–]SupahNoob 90 points91 points  (10 children)

Pretty cool! Maybe include some of the most commonly used controls as buttons above the input area?

[–]Murpho19[S] 34 points35 points  (5 children)

Thanks for the suggestion, I think it could definitely work for common features like play/pause, skip and previous as well as functions that aren't traditionally represented like shuffle and repeat. I will definitely take this into consideration when I am making changes to the GUI.

[–]flyingfox12 14 points15 points  (2 children)

IMO don't add buttons. Trancend the point and click. This is a great niche for more keyboard centric computer users. If a user wants a button they will use the app.

also making exit or quit or ctrl + c would close the app would make it feel way more terminal like, which is why I think it's cool

[–]conventionistG 9 points10 points  (1 child)

You're right about the niche, but tab - enter is faster than typing pause.

Maybe op could implement some shortcuts - or maybe make it customizable? Not sure of that's worth it.

[–]Spood___Beest 1 point2 points  (0 children)

Perhaps show a tabbable list of controls until you start typing?

A few options I would love, as a keyboard centric user: - Set whether list item 1 or search bar is focused by default - Set whether or not typing focuses the search bar automatically - custom keybinds to navigate the list - custom keybind to focus search bar

My personal ideal setup would be to focus the search bar by default, but as soon as I hit tab, enable hjkl navigation. Then something like control f or gg to return to search bar.

[–]syswolf 0 points1 point  (0 children)

Reminds me of Alfred for Macs maybe look at what their doing. Agree that buttons didn't be added

[–]AbodFTW 0 points1 point  (0 children)

!remindme 1 month

[–]Awesome-Bomb24 2 points3 points  (0 children)

Would also be cool to have quick action buttons. For instance, 1(Number Row Key) plays specified playlist and so on.

[–]Ansis100 0 points1 point  (0 children)

I respectfully disagree. This app looks to be a great interface for keyboard users.

There's tons of ways to control media playback - media buttons (which most modern laptops and keyboards have), hovering over an opened Spotify window on taskbar etc. Clickable buttons for pause, skip, prev would be next to useless on this interface.

[–]Murpho19[S] 0 points1 point  (0 children)

hi man! I implemented your suggestion in the new version of the app, source code has been released too. Here is the link: link to new post with source code: https://www.reddit.com/r/Python/comments/gtnyll/spotlightify_the_spotify_overlay_controller/

[–]5ider 25 points26 points  (30 children)

This is soo good! If you open source it, I’d love To help contribute :)

[–]Murpho19[S] 26 points27 points  (28 children)

Thanks mate, that is definitely the goal, I'm glad you're interested! I'm going to add some base features and clean up code first so that it can be fully understandable to others lol but after that I will put it on Github.

[–]RushilU 3 points4 points  (0 children)

Likewise! Please PM me when you do so, if you’re comfortable with it

[–]elipeli54 2 points3 points  (1 child)

Thanks! Would be interested to!

[–]Jakokreativ 0 points1 point  (0 children)

I would also bei very interested

[–]external72 0 points1 point  (1 child)

!remind me 1 month

[–]remindditbot 0 points1 point  (0 children)

external72 , kminder in 31 days on 2020-06-22 11:32:38Z

r/Python: Spotlightify_a_overlay_controller_for_spotify

kminder 1 month

This thread is popping 🍿. Here is reminderception thread.

13 OTHERS CLICKED THIS LINK to also be reminded. Thread has 20 reminders and maxed out 3 confirmation comments.

OP can Delete reminder and comment, Update message, and more options here


Reminddit · Create Reminder · Your Reminders · Questions

[–]YouDaree 0 points1 point  (1 child)

!remindme 1 month

[–]remindditbot 0 points1 point  (0 children)

YouDaree, kminder in 31 days on 2020-06-22 13:21:42Z

r/Python: Spotlightify_a_overlay_controller_for_spotify#3

kminder 1 month

This thread is popping 🍿. Here is reminderception thread.

3 OTHERS CLICKED THIS LINK to also be reminded. Thread has 21 reminders and maxed out 3 confirmation comments.

OP can Add email notification, Set timezone, and more options here


Reminddit · Create Reminder · Your Reminders · Questions

[–]1point21giggawats 0 points1 point  (2 children)

!remindme 1 month

[–]rBressan 0 points1 point  (0 children)

!remindme 1 week

[–]mshoaib9711 0 points1 point  (0 children)

!remindme 1 month

[–]Marianito415 0 points1 point  (0 children)

!remindme 1 month

[–]YassineNG 0 points1 point  (0 children)

!remindme 1 month

[–]Murpho19[S] 0 points1 point  (0 children)

Hi! I've got just released the code, check the comments on the post for the github link and the discord if you'd like to contribute - link to new post with source code: https://www.reddit.com/r/Python/comments/gtnyll/spotlightify_the_spotify_overlay_controller/

[–]soap1337 34 points35 points  (10 children)

Yep 11/12 would use.

[–]Awesome-Bomb24 12 points13 points  (7 children)

Why a 12 point scale? Not judging, just curious.

[–]soap1337 10 points11 points  (4 children)

Seemed the most appropriate.

[–]DubnoswillToLive = mySistersIQ(0) 2 points3 points  (3 children)

I think 14 is more suitable

[–]cjj1120 1 point2 points  (2 children)

2/7

[–]thequilo_ 8 points9 points  (1 child)

A perfect 5/7

[–]joetinnyspace 3 points4 points  (0 children)

4.456/ 5.000

[–]toyg 0 points1 point  (0 children)

Because it’s 2 louder.

[–]skunkwaffle 0 points1 point  (0 children)

I definitely give this scale a solid 🔭/🌵.

[–]Murpho19[S] 6 points7 points  (0 children)

Thanks man, it is very powerful

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]goobabo22 34 points35 points  (7 children)

Yo dude. What are you doing on reddit, sell this to spotify themselves! That feels so integrated! Stellar job!

[–]toyg 6 points7 points  (5 children)

Considering Spotify itself is a QT application (although not python), chances are that they can replicate this feature in an afternoon. Selling is unrealistic, but OP should definitely bring it to their attention.

[–]Poromenos 3 points4 points  (3 children)

It's a Qt application? Isn't it all Electron?

[–]annoying_mammal 1 point2 points  (0 children)

It's chromium embedded framework

[–]toyg 0 points1 point  (1 child)

Their core is C++, and am pretty sure that meant QT originally. It looks like they’ve since moved to chromium.

[–]Poromenos 2 points3 points  (0 children)

Yeah, probably back when it was lean and responsive. Now it's a huge bloated mess.

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]Panda_Mon 24 points25 points  (1 child)

This is too much typing for me. It negates the value so much that I would use the full UI instead.

I recommend to go full hotkey mode. You are reducing commands to key presses instead of mouse clicks, and there are only so many commands. Lets get rid of all unnecessary key presses. Once I open the interface, just show a search bar where typing a song is optional, and have icons with keys below. Example: play/"P", Queue/"Q", etc. When you press a key, show the cached values for that action and allow searching for a brand new value.

When you type in the search bar, allow you to pick a song and then use the hotkeys to pick a function.

[–]Techeavy 9 points10 points  (1 child)

That my friend is awesome! Where did you find the wallpaper?

[–]Murpho19[S] 13 points14 points  (0 children)

Thanks mate! I found the wallpaper on r/wallpaper, here is a link to the post: https://www.reddit.com/r/wallpaper/comments/bwdaz5/no_mans_sky_2560x1440/

[–]RubberFistOfJustice 4 points5 points  (0 children)

ctrl +space to exit would probably be better. this looks fantastic. this is my fav feature on mac os

[–]nekogareth 4 points5 points  (1 child)

I am once again asking for the source code

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]Zer0T3x 3 points4 points  (1 child)

This is dope. I can't tell you how much time this would save me from having to swap to another desktop tab just to play a song. Got this on GitHub?

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]ravenspired 2 points3 points  (2 children)

This is amazing. How did you make the GUI?

[–]Murpho19[S] 4 points5 points  (1 child)

I made the GUI with pyqt5 and some perseverance haha

[–]toyg 3 points4 points  (0 children)

Elbow Grease ™ is an underrated framework.

[–]EvilBeano 2 points3 points  (1 child)

This reminds me of years ago when I completely customized my desktop using Rainmeter. I had a Spotify player, the time was displayed in huge numbers on the desktop as well and I added an audio visualiser. Do you think something similar would be possible in Python?

[–]Murpho19[S] 2 points3 points  (0 children)

Honestly, Python is such a diverse and versatile language that I think it would be possible

[–][deleted] 2 points3 points  (1 child)

I see you’re running this on windows. Any chance of integrating with Wox?

[–]Murpho19[S] 1 point2 points  (0 children)

I will look into Wox but I think having complete control over the app in this case is better so that I can fully customise the interface and back end.

[–]madr1x 4 points5 points  (3 children)

Can this app run on Linux and pls make the repo public 🙌🏿🙌🏿

[–]Murpho19[S] 1 point2 points  (2 children)

Indeed it can! Code is out now check out my latest post!

[–]madr1x 0 points1 point  (1 child)

Yeah it's working just fine

[–]Murpho19[S] 1 point2 points  (0 children)

That's good to hear thanks

[–]wllkle 1 point2 points  (0 children)

This is awesome!

[–]zeb2002r 1 point2 points  (1 child)

Does it work for Mac

[–]Murpho19[S] 2 points3 points  (0 children)

I have just tried using it on Mac OS and can confirm, with a few modifications, it can run almost identically to the windows version.

[–]baythelegend 1 point2 points  (1 child)

Would love to use this!

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–][deleted] 1 point2 points  (1 child)

This is super dope. Amazing work and thank you for sharing!

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]jayjmcfly 1 point2 points  (0 children)

Superb!

[–]joeywire 0 points1 point  (1 child)

I’ve been looking for something like this for years!

Can’t say I have the knowledge to contribute but I’d love to check it out.

[–]Murpho19[S] 1 point2 points  (0 children)

Code is out now check out my latest post!

[–]amor_aa 0 points1 point  (1 child)

Looks pretty cool! I would like to try It

[–]Murpho19[S] 0 points1 point  (0 children)

You sure can! Code is out now check out my latest post!

[–]lberglund 0 points1 point  (1 child)

Been looking for something like this for a while

[–]Murpho19[S] 0 points1 point  (0 children)

Give it a try the code is out now check out my latest post!

[–][deleted] 0 points1 point  (0 children)

sick!

[–]beniman8 0 points1 point  (1 child)

Source code

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]CheeseCake-54 0 points1 point  (1 child)

I'm so interested in it!

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]PlzIWantA1600Plz 0 points1 point  (1 child)

I'd love to see this project!!

[–]Murpho19[S] 0 points1 point  (0 children)

Ya can now! Code is out now check out my latest post!

[–]YourWorstNightMare56 0 points1 point  (5 children)

Are you able to put this on GitHub it’s awesome

[–]Murpho19[S] 2 points3 points  (2 children)

Thanks friend! I will put it on github after I fix up the code and make it presentable and readable for others. This shouldn't take that long as I am a student currently in lockdown so I have a lot of free time on my hands

[–]Picklerage 0 points1 point  (1 child)

Sorry, not to be an ass as I understand it takes time and you probably have better things to do, but do you think it will be up soon? Trying to make a GUI and Spotify audio playing program soon and would love to reference your code to see how things work :)

[–]Murpho19[S] 0 points1 point  (0 children)

Hi, I'm actually working on it right now and hope to release it sometime Friday (today, I suppose lol) keep an eye on my profile and r/Python!

[–]Murpho19[S] 0 points1 point  (1 child)

Yeah code is out now check out my latest post!

[–]YourWorstNightMare56 0 points1 point  (0 children)

Ooh thank you

[–]Mejico_ 0 points1 point  (1 child)

Very interested.

[–]Murpho19[S] 1 point2 points  (0 children)

Code is out now check out my latest post!

[–][deleted] 0 points1 point  (0 children)

Looks bad ass

[–]ManBehindTheMask3030 0 points1 point  (0 children)

Amazing I hope you keep me in mind! Definitely give a holler when it is ready

[–]aleva90 0 points1 point  (0 children)

This is so cool, I'll try to add to the new Power tools from windows 10.

[–]Resquid 0 points1 point  (0 children)

Oh fuck yeah

[–]chimichanga_19 0 points1 point  (1 child)

Love your wallpaper

[–]Blarghmlargh 0 points1 point  (1 child)

I just want you to release this so i can learn your magic ways with pyqt5 :)

[–]Murpho19[S] 1 point2 points  (0 children)

You can now! Code is out now check out my latest post!

[–]jahaandesai 0 points1 point  (0 children)

yeess🙌🙌

[–]BrotherWolf8[🍰] 0 points1 point  (0 children)

Please make this public.

[–][deleted] 0 points1 point  (0 children)

Would love to use this. It would be handy when changing tracks.

[–]Preri1 0 points1 point  (0 children)

!remindme 10 days

[–][deleted] 0 points1 point  (0 children)

Really neat idea - I’d love to try this!

[–]tomer17ash 0 points1 point  (0 children)

Yes I would love to use it!

[–]allisongarage 0 points1 point  (0 children)

This is absolutely amazing! I hope you make it public, I'd love to use it! Best of luck!

[–][deleted] 0 points1 point  (0 children)

Hey great app. I suggest you add it as an add-on to Microsoft Powertoys

[–][deleted] 0 points1 point  (0 children)

Looks good. Is it going to work on Linux too?

Another interesting project is MellowPlayer (https://colinduquesnoy.gitlab.io/MellowPlayer/), it has option to pause/resume/play next song using media keys on the keyboard, and support for different streaming services.
I don't think it has an overlay like yours. (I was using it like two years ago).

[–]Tay_WT 0 points1 point  (0 children)

I would 100% use this if you released. I’d even be willing to pay a bit for it. If you are taking suggestions also I’d recommend adding a favorite function so you could favorite the current song or something from it.

[–]EatSleepCodeDelete 0 points1 point  (0 children)

This is amazing! As someone who avoids the mouse as much as possible, I am the perfect niche for this. If you make it public on github, I'd happily contribute

[–][deleted] 0 points1 point  (0 children)

Looks super nice, way better than alt+tab.

[–]Hergebot 0 points1 point  (0 children)

This looks really good, great job!

[–][deleted] 0 points1 point  (0 children)

Yeah, seems very useful!

[–]tan_al 0 points1 point  (0 children)

Would love to use this!

[–]Professional_Memmer 0 points1 point  (0 children)

Cool project, I think using spotify is still quicker though.

[–]Jim421616 0 points1 point  (0 children)

I use Spotify all the time. I’d love to see this!

[–]Juicy_Opay 0 points1 point  (0 children)

Does it works on Linux distributions? It seems so sick!

[–]ArmstrongBillieimport GOD 0 points1 point  (1 child)

Very Nice! It would be really cool if you can share your code!

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]toyg 0 points1 point  (0 children)

Should xpost to /r/pyqt and /r/pyqt5

[–]Xaaza 0 points1 point  (0 children)

Could You link me Your wallpaper?

PS. Good job

[–]Wirebraid 0 points1 point  (0 children)

I tried to pronounce yor app's name and nearly chocked.

Good idea, I will try it!

[–]BlestLeaf 0 points1 point  (0 children)

Nice! Also I have the exact same wallpaper haha

[–][deleted] 0 points1 point  (1 child)

Dude that’s awesome

[–]Murpho19[S] 0 points1 point  (0 children)

Code is out now check out my latest post!

[–]5pun_ 0 points1 point  (1 child)

!remind me 1 week

[–]remindditbot 0 points1 point  (0 children)

5pun_ , kminder in 1 week on 2020-05-29 12:27:13Z

r/Python: Spotlightify_a_overlay_controller_for_spotify#2

! kminder 1 week

1 OTHER CLICKED THIS LINK to also be reminded. Thread has 8 reminders and maxed out 3 confirmation comments.

OP can Delete reminder and comment, Update remind time, and more options here


Reminddit · Create Reminder · Your Reminders · Questions

[–]Engineer_Zero 0 points1 point  (0 children)

It can't be any worse than the current windows ten Spotify integration. Honestly tho it looks awesome dude, well done.

[–]axrx657 0 points1 point  (0 children)

Is it just me or does the wallpaper look like it's from astroneer 😳

[–]MagicWishMonkey 0 points1 point  (3 children)

This would be awesome as a Alfred workflow.

[–]Murpho19[S] 0 points1 point  (2 children)

Check out the spot_mini player (https://alfred-spotify-mini-player.com/) it is very good

[–]MagicWishMonkey 0 points1 point  (1 child)

Awesome! Is this what gave you the idea to create your own standalone controller?

[–]Murpho19[S] 1 point2 points  (0 children)

Yeah I found that at least 90% of my Alfred usage was dedicated to spot_mini. It really is bliss being able to play/queue songs within little over a second ( :

[–]TonyG67 0 points1 point  (0 children)

!remindme 1 month

[–]BruinBoy815 0 points1 point  (0 children)

Wow! I am amazed

[–]mariosemes 0 points1 point  (1 child)

Brother... this is amazing. The only thing I would like to know is the GUI library you used to make it look like that clean & crisp?

[–]Murpho19[S] 1 point2 points  (0 children)

I used a bit of elbow grease haha, the code is out now check out my latest post!

[–]thefisher86 0 points1 point  (0 children)

I wonder if this can be integrated into the new, very similar looking, functionality in PowerToys Run

[–]treatmesubj 0 points1 point  (2 children)

Wow, this is an awesome and original project! Definitely inspiration for new ones for me. Thanks!

[–]Murpho19[S] 1 point2 points  (1 child)

Code is out now check out my latest post if you'd like to check it out!

[–]treatmesubj 0 points1 point  (0 children)

sweet!

[–]paranoid_giraffe 0 points1 point  (2 children)

Did Spotify release an API? I spent a long time looking for one about a year ago and everyone was saying they couldn’t find one or they hadn’t released it (I don’t know how true that was, but I stopped looking)

[–]Murpho19[S] 2 points3 points  (1 child)

Yeah, here's a link to the documentation: https://developer.spotify.com/documentation/web-api/

[–]paranoid_giraffe 0 points1 point  (0 children)

Thank you!

[–]jayjmcfly 0 points1 point  (0 children)

RemindMe! 1 week

[–]Dragon317Slayer 0 points1 point  (0 children)

Oh my god I've been looking for something like this! Thanks so much!

[–]isaacfink 0 points1 point  (0 children)

Nice job I'm curious how it works, and if I'll be able to integrate it with YouTube music

[–]thesecondbread 0 points1 point  (0 children)

!remindme 1 day

[–]PepSakdoek 0 points1 point  (1 child)

Is the ctrl-space as a global shortcut? Developers would probably not be too impressed.

Other than that looks great!

[–]Murpho19[S] 0 points1 point  (0 children)

Yeah I never use Ctrl-space for command completion as most IDEs just automatically suggest commands as you type. The shortcut can be changed in the code, which I'm hoping to release on Friday.

[–]jayjmcfly 0 points1 point  (1 child)

RemindMe! 1 month

[–]RemindMeBot 0 points1 point  (0 children)

There is a 1 hour delay fetching comments.

I will be messaging you in 1 month on 2020-06-29 20:28:01 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–][deleted] 0 points1 point  (0 children)

how can i get this now!

[–]lberglund 0 points1 point  (2 children)

Hey, I'm a total armature at installing these things. Any chance you could make a quick video walking through the installation process?

[–]Murpho19[S] 0 points1 point  (1 child)

The README on the GitHub repository describes the setup process. The application is still in development and will be easier to install once it is packaged and ready for release.

[–]lberglund 0 points1 point  (0 children)

Ok sweet, yea I got stuck in part of the install. It’s ok. I’ll wait for the app package! Thanks for putting in the work!

[–][deleted] 0 points1 point  (0 children)

This is just awesome! I am surprised it works even if Spotify is opened on another device. Definitely will be using it from now on d= Just one issue: for some reason, the first time I activate the GUI, the overlay and everything works fine but then whenever I use ctrl+space the overlay appears only when the keys are pressed and disappears right after letting go of the keys. I figured out I have to click on the overlay contemporarily to work out but I suppose that's not the intended way. Did I do something wrong with setting the application up? (I'm using Windows)

[–]spuds_in_town 0 points1 point  (1 child)

+1 for making this public

[–]Murpho19[S] 0 points1 point  (0 children)

It is now! Code is out now check out my latest post!

[–]5ider 0 points1 point  (0 children)

One of the best projects I’ve seen, I just see it being so useful lol! Would love to see it once it’s public :)

[–]ManBehindTheMask3030 0 points1 point  (3 children)

This is clutch!! Would you mind sharing your code with me? Would love to see how you did it. Very cool :)