Coder Social home page Coder Social logo

Comments (9)

nagyrobi avatar nagyrobi commented on July 19, 2024

Snapshot and Restore works perfect on my device, just tested.
If you run the 4STREAM app on your phone, how many presets do you see in the app? (cog icon > Preset Content)

from home-assistant-custom-components-linkplay.

pierremalgorn avatar pierremalgorn commented on July 19, 2024

Thanks for your reply!
0 presets... I didn't saw this before : "Spotify (snapshot will use the device's highest preset number to store and recall the current playlist, playback may restart the same track or not, depends on Spotify settings)."

I added a preset and it's now working without errors.

Maybe it can be useful to test if there is any presets, and if not, just don't play nothing?

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

What's your firmware version?

from home-assistant-custom-components-linkplay.

pierremalgorn avatar pierremalgorn commented on July 19, 2024

4.2.9214.118

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

And what audio source are you playing?

from home-assistant-custom-components-linkplay.

rroller avatar rroller commented on July 19, 2024

Just want to say I'm having this exact same issue.

I've now added a preset. But on linkplay.restore, it seems to just pick a random Spotify song and not actually restore to the previous played song and location. Is that expected?

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

Yes it's restoring just the playlist. Spotify is closed source in Linkplay module, no documentation available about how they implemented.

from home-assistant-custom-components-linkplay.

nagyrobi avatar nagyrobi commented on July 19, 2024

Currently I can't do more tests as I don't (and don't want to) have a paid account to Spotify, just to debug an error. I don't use Spotify otherwise.

from home-assistant-custom-components-linkplay.

rroller avatar rroller commented on July 19, 2024

I can let you borrow a paid account. I have a family plan and can create you an account if you like.

from home-assistant-custom-components-linkplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.