Skip to content

Playback seek and push notifications #135

Description

@Saiyato

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions