GithubHelp home page GithubHelp logo

Comments (5)

GioF71 avatar GioF71 commented on July 17, 2024

Hello,
when you say "I have already tested several images", do you refer to my images or also other librespot images?
The issue you mentioned has never occurred to me. Surely otoh I never deployed the image to a kubernetes cluster.
Is the pi3 somehow under heavy cpu/memory load?
I believe your configuration is correct. I generally don't change the alsa defaults, but I target my output card in the container configuration, but I don't think this can be an issue.

About this:
[2022-10-23T14:55:41Z ERROR librespot_connect::spirc] subscription terminated

of course you are sure your subscription is actually not terminated?

Thank you

from librespot-docker.

yanover avatar yanover commented on July 17, 2024

Mostly your image, I have try other but I choose this one because it is maintained. Anyway, I'm not sure it's really related to the image itself. It use to work for several month (It was not very stable, we were disconnected from time to time but no errors in the logs.

The host hasn't change at all in any way since those problems appear.

Now, if I restart the pod, it works for a few songs and after a while it starts to bug. The spotify connect access point disappears and I have to restart the pod if I want it to work again.

2022-10-28T21:29:37Z INFO  librespot_playback::player] Loading <Inspiring Ambience for Gaming> with Spotify URI <spotify:track:0EUScTgIUzoGj3T6d28Ty3>
[2022-10-28T21:29:39Z INFO  librespot_playback::player] <Inspiring Ambience for Gaming> (137183 ms) loaded
[2022-10-28T21:32:24Z ERROR librespot_playback::player] Unable to load audio item: MercuryError
[2022-10-28T21:32:24Z ERROR librespot_core::session] Connection reset by peer (os error 104)
[2022-10-28T21:32:24Z ERROR librespot_connect::spirc] Cannot flush spirc event sender.
[2022-10-28T21:32:24Z WARN  librespot_connect::spirc] Cannot flush spirc event sender.
[2022-10-28T21:32:24Z WARN  librespot_playback::player] Skipping to next track, unable to load track <SpotifyId { id: 237286849939745773777394934953587868235, audio_type: Track }>: ()
[2022-10-28T21:32:24Z WARN  librespot] Spirc shut down unexpectedly
[2022-10-28T21:32:24Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:4070
[2022-10-28T21:32:24Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:443
[2022-10-28T21:32:24Z WARN  librespot_core::apresolve] Ignoring blacklisted access point ap-gew4.spotify.com:80
[2022-10-28T21:32:24Z INFO  librespot_core::session] Connecting to AP "ap-gae2.spotify.com:4070"
[2022-10-28T21:32:26Z INFO  librespot_core::session] Authenticated as "31ha3znra77vzf5xmna5x6fr2bh4" !
[2022-10-28T21:32:26Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)

Thank you !

from librespot-docker.

GioF71 avatar GioF71 commented on July 17, 2024

I see, but it did not happen to me. Also my subscription is currently terminated, I will probably renew it in a few weeks.

Have you tried with librespot alone, without docker/k3s, on the same hardware?
You probably already know how to do that, but anyway, just in case: librespot
You might have to install cargo before installing librespot: cargo

It would be interesting to see if this happens on the binary without containerization,

Cheers

from librespot-docker.

GioF71 avatar GioF71 commented on July 17, 2024

Also, would it be possible to try in a simple docker environment instead of k3s, just to eliminate a few variables?
Thanks

from librespot-docker.

GioF71 avatar GioF71 commented on July 17, 2024

Hello, I am closing this for now. Feel free to re-open or create a new ticket is the issue is not solved.

from librespot-docker.

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.