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

Playback seek and push notifications #135

Open
Saiyato opened this issue Sep 26, 2017 · 0 comments
Open

Playback seek and push notifications #135

Saiyato opened this issue Sep 26, 2017 · 0 comments

Comments

@Saiyato
Copy link

Saiyato commented Sep 26, 2017

First of all, awesome work! I've been using your work for over a year now without problems! So kudo's to you sir.

The thing is, I'd like an LCD to show what I'm playing, I can get the info from /api/info/metadata and status. But I'd like to react to pushed notifications instead. This would make it less heavy than polling every x seconds.

Secondly, and actually I'd like this one a bit more, I'd like to show the progression of playback. Since there's no seek (or played time) property I can only time it myself, but this is not too accurate... especially when I pause playback. Don't get me wrong, I love your work, I just thought maybe this would improve it? :)

Current metadata object:

{
  "album_name": "Brothers In Arms (Remastered)", 
  "album_uri": "spotify:album:1NF8WUbdC632SIwixiWrLh", 
  "artist_name": "Dire Straits", 
  "artist_uri": "spotify:artist:0WwSkZ7LtFUFjGjMZBMt6T", 
  "context_uri": "spotify:internal:search:tracklist:bt-4", 
  "cover_uri": "spotify:image:78ace3900b14d836c3d45603872dd63300cb89f5", 
  "data0": "", 
  "duration": 424000, 
  "track_name": "Brothers In Arms", 
  "track_uri": "spotify:track:7EmSPZ9f1AiLR9eVHNSI62", 
  "volume": 59636
}
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