diff --git a/content/posts/spotify-on-musl.md b/content/posts/spotify-on-musl.md index 243f404..0a814dd 100644 --- a/content/posts/spotify-on-musl.md +++ b/content/posts/spotify-on-musl.md @@ -1,11 +1,9 @@ --- -title: "WIP: Running Spotify on musl" +title: "Running Spotify on musl" date: 2021-11-19T16:22:02+01:00 draft: false --- -Note: this post is not finished yet (and might never be) - it's more of a collection of notes. - When trying to run Spotify on Alpine, most answers on the internet pointed to [Flatpak](https://flatpak.org/). And don't get me wrong - Flatpak is great and allows for running glibc-based apps with minimal setup, but... I'd really like to get Spotify to run natively, mostly because containers a bit heavier in terms of disk space and interoperability is . @@ -176,3 +174,12 @@ Unfortunately, it still shows the white window and `strace` reveals that it stil This is where the post ends, at least for now (2021-11-19). If you manage to make it further than I did, please DM me on [Telegram](https://t.me/ptrcnull) or send an [e-mail](mailto:hello@ptrcnull.me). + +### Update (2021-12-03) + +Thanks to an email I got from [Filip](https://github.com/filipkania), I was finally able to make it work! + +It turned out that the missing piece of the puzzle was `--single-process` - it somehow forces CEF into submission +and while it's not perfect (segfault after closing the window), it launches successfully and even plays music (tested on PulseAudio and PipeWire). + +![Spotify window, with song "Oh No!" by "Marina" shown paused, partially obscured by terminal window with command "./spotify --single-process"](/posts/spotify-on-musl/working.png) diff --git a/static/posts/spotify-on-musl/working.png b/static/posts/spotify-on-musl/working.png new file mode 100644 index 0000000..92f6c9f Binary files /dev/null and b/static/posts/spotify-on-musl/working.png differ