Code Monkey home page Code Monkey logo

Comments (5)

devgianlu avatar devgianlu commented on May 25, 2024

There is no sleep mode in the client. What do you mean it is not accessible from the API? Do you see any error in the logs?

from spocon.

mrxflight avatar mrxflight commented on May 25, 2024

Hi,
so if I start the client I can play musik threw it from the spotify application. After I play musik it also appears on the device list from the Web Api and I can control it threw my python code. But after these 10 h it does not appear in the device list anymore. I read in the Spotify Web docs that one possible cause is that the device has a sleep mode. Here is the link: https://developer.spotify.com/documentation/web-api/guides/using-connect-web-api/

Do you know any possible solutions for this? I run the client on my raspberry pi and want to use it as a morning clock.

from spocon.

devgianlu avatar devgianlu commented on May 25, 2024

Can you attach the spocon logs around the time it stops showing up?

from spocon.

mrxflight avatar mrxflight commented on May 25, 2024

spocon Mar 25 - Mar 26.log
Here is the log file from Mar 24 - 26. It should have been accessible on Mar 25 06:43 and Mar 26 06:43 (That's the time I set up the clock). In this logs it did not work.
spocon Mar 28 - Mar 29.log
This is one example from today were it worked.

By the way Thank you for your quick answers.

from spocon.

devgianlu avatar devgianlu commented on May 25, 2024

Looks like the usual reconnection issue librespot-java has. You could try setting up a program that restarts it every now and then.

from spocon.

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.