Features

Set your default music app

3y agoClosed

I use spotify but when no music is playing the music widget shows a list of spotify and youtube music. I would prefer it to instead show the music app I use (spotify and show the last played song so I can just press play. It would look much better than having a list of two apps to still have the music art of the previous song with music controls.

4 comments

  1. Hi Nathan Barton, unfortunately, this is not possible as when music is not playing there are no sessions to pull information from and the app can't initiate a session, just interact with existing one. It's a limitation of the API. Maybe in the future, a native integration directly with Spotify could improve upon the UX.

    1. Wesley Jonathan Marcolino I'm not an Android developer but I wonder, if you are able to get the spotify cover art via API when there is a session, could you not store the image as a tempory / cache and keep it and display it when music is not playing and then once music starts playing it feeds in the new song - each new song could replace existing tmp / cache so wouldn't be storage intensive?

    2. Nathan Barton Yes, I have the metadata from what was playing before but the buttons wouldn't work because there is no MediaSession active and I can't initiate one. If the user uses Spotify outside while StandBy Mode is not open the app would show outdated metadata :/

    3. Wesley Jonathan Marcolino Understood thanks for explaining