Skip to content

Install ffmpeg 4.4 with Spotify so Local Files can play - #10370

Open
cempack wants to merge 2 commits into
omacom:quattrofrom
cempack:fix/spotify-local-files-ffmpeg4.4
Open

Install ffmpeg 4.4 with Spotify so Local Files can play#10370
cempack wants to merge 2 commits into
omacom:quattrofrom
cempack:fix/spotify-local-files-ffmpeg4.4

Conversation

@cempack

@cempack cempack commented Sep 5, 2026

Copy link
Copy Markdown

Summary

Linux Spotify still dlopens FFmpeg 4.4 sonames (libavcodec.so.58, libavformat.so.58, libavutil.so.56). Arch's current ffmpeg is 9 (libavcodec.so.63 only), so Local Files look imported and even start, then die after about a second with Spotify can't play this content / If you have the file on your computer, you can import it.

The files are fine. The decoder libraries are gone. ArchWiki already documents this: Local Files need ffmpeg4.4 plus zenity for the folder picker.

  • New installs via Install > Service > Spotify pull in ffmpeg4.4 and zenity next to spotify
  • Existing Spotify installs get the same packages on the next omarchy update
  • Manual notes why a "import this file" toast is usually a missing 4.4 decoder, not a bad file

Test plan

  • Fresh Install > Service > Spotify installs ffmpeg4.4 and zenity
  • On a machine that already has Spotify, the migration installs them; machines without Spotify skip it
  • Add a Local Files folder, play an MP3: it continues past the first second instead of toasting
  • ldconfig -p | grep libavcodec.so.58 finds the 4.4 library after install

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@cempack
cempack requested a review from dhh as a code owner September 5, 2026 21:17
Copilot AI lite review requested due to automatic review settings September 5, 2026 21:17
@cempack
cempack requested a review from ryanrhughes as a code owner September 5, 2026 21:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are small, consistent with existing installer/migration patterns, and address the described Spotify Local Files dependency gap.

Pull request overview

Ensures Spotify Local Files playback works on Arch by installing the legacy FFmpeg 4.4 soname-compatible libraries (and Zenity for the folder picker) during Spotify install and for existing installs via migration, and documents the behavior for users.

Changes:

  • Install ffmpeg4.4 and zenity alongside Spotify in the Spotify service installer.
  • Add a migration that installs ffmpeg4.4 and zenity on systems where spotify is already installed.
  • Document why Spotify Local Files may fail without FFmpeg 4.4 libraries and Zenity.
File summaries
File Description
migrations/1788642930.sh Adds a migration to install ffmpeg4.4 + zenity when Spotify is already installed.
manual/24-commercial-apps-services.md Documents Spotify Local Files requirements and the expected failure mode without legacy FFmpeg libs.
bin/omarchy-install-service-spotify Updates Spotify installer to also install ffmpeg4.4 and zenity.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread migrations/1788642930.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants