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

Spotify controller module #305

Closed
StormFireFox1 opened this issue Aug 22, 2018 · 12 comments
Closed

Spotify controller module #305

StormFireFox1 opened this issue Aug 22, 2018 · 12 comments
Labels
💥 feature "Good luck, you're gonna need it."

Comments

@StormFireFox1
Copy link
Contributor

What problem does this solve?

I have recently downloaded this program and have used it consistently on all my devices. One thing I do find important in my developer workflow, however, is music. It would be cool if WTF had a music player (possibly linked with Spotify) module that could be added on the grid.

How do envision it working?

It would be a module that would contain the media player's current song info, etc (no need for album image) and would have a few keys (like p, left and right arrow) to play/pause, change song, etc. The integration with Spotify would probably be a lot easier than it seems, as well. (considering there are libraries to interface with Spotify in Go)

@senorprogrammer
Copy link
Collaborator

That would be awesome. I hope someone builds this.

@senorprogrammer senorprogrammer added the 💥 feature "Good luck, you're gonna need it." label Aug 22, 2018
@senorprogrammer senorprogrammer changed the title Music Functionality Spotify controller module Aug 22, 2018
@sticreations
Copy link

I'll look into this.

@anandsudhir
Copy link
Member

Can this be closed now? #317 has been merged

@senorprogrammer
Copy link
Collaborator

Good idea. I'll do that as soon as I add some documentation for the Spotify module.

@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Oct 4, 2018

Added by @sticreations.

@StormFireFox1
Copy link
Contributor Author

Thank you very much for this! Whenever I get time, I'll try to contribute and add Windows support for this module.

@senorprogrammer
Copy link
Collaborator

That would be great. Looking forward to rolling that in @StormFireFox1

@sticreations
Copy link

I actually wanted to do that, but it seems that OSX and Windows don’t have something like linuxes dbus. So you would have to use the Spotify API.
My goal was to have as little configuration as possible, but I think using the api would be way more easier to generalize than finding a hacky way to control it via something else.

@StormFireFox1
Copy link
Contributor Author

I found a Web API for Spotify written in Go:

https://github.com/zmb3/spotify

This should technically work, but for a normal user, it takes time to configure that some might not put in.
If I find a way to make the current version of the widget work with Windows as well, I'll do that. Otherwise, the package linked seems reasonable enough.

@voldemortensen
Copy link

I submitted a PR to @sticreations package that adds OSX support via apple script: sticreations/spotigopher#3

@senorprogrammer
Copy link
Collaborator

@StormFireFox1 That looks interesting indeed. I would support the adoption of either a) a single Spotify module that can be configured to work with either the web API or the local client, or b) two Spotify modules, one for the web API and one for the local client.

@sticreations
Copy link

I submitted a PR to @sticreations package that adds OSX support via apple script: sticreations/spotigopher#3

Accepted, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 feature "Good luck, you're gonna need it."
Development

No branches or pull requests

5 participants