Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Plan: Premium, although that doesn't matter for local files
Operating System: Debian bookworm/sid
$ spotify --version
Spotify version 1.1.84.716.gc5f8b819, Copyright (c) 2022, Spotify Ltd
Spotify can't play local files anymore (new laptop). They are being detected and show with the right metadata. Selecting them to play gives the dreaded "Spotify can't play this right now" message. All streaming (non-local) songs works fine.
Things already done reading various other reports on this:
Pretty stumped about what now. Any hints?
Got this same issue as well, on Gentoo Linux on the new spotify client; didn't use to have this issue and I have also tried everything you tried as well
Spotify only supports libavcodec/libavformat 54,56,57 and 58. Looks like a two new major versions of libavcodec have been released, 59 and 60. I can see that Debian bookworm/sid is on 59. Not sure how to check Gentoo, but I guess it is also on 59 or 60. I'll add a ticket internally to see if we can add support for 59 and 60.
I can reproduce the issue on Debian Sid, with Spotify 1.2.8.923.g4f94bf0d and libavformat59, although libavcodec58 is also installed.
BTW why is the client still able to play streamed songs, even with a unsupported libavformat?
Spotify is notorious for having issues with local files. Despite several community issues about issues with local playback, it seems like this will never be fixed. My client periodically crashes while trying to play local files, even if they are in a supported format.
I think it uses Vorbis for streaming, so it would presumably use libvorbis, while libavcodec is used for local mp3/aac files.
Yes, you're right! The only thing I don't understand is why it's able to play Vorbis when it's streamed but not when it's a local file 🤷
Yes, it would be nice if they added support for local Vorbis files (as well as Opus and flac).
Just in case, for those who use flatpak version - check this github issue https://github.com/flathub/com.spotify.Client/issues/243 , since it mentions the current workaround in this post.
FWIW I downloaded libavcodec.so.58 and libavformat.so.58 from https://snapshot.debian.org/ and put them in /usr/share/spotify. That was enough to make local MP3 files playable on Debian Sid.
HTH
Hi,
Did you download the standalone files or a package ? Can't seem to locate "libavcodec.so.58 and libavformat.so.58" individual files from the link you provided. Thanks !
I downloaded whole packages for libavcodec58 and libavformat58: https://snapshot.debian.org/binary/libavformat58/ and http://snapshot.debian.org/binary/libavcodec58/
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…