Commit 20a487e
fix: detect user-level flatpak mpv install (io.mpv.Mpv, not io.mpv/Mpv)
Fedora Workstation ships no mpv package by default (needs RPM Fusion,
off by default), so most Fedora users install mpv via Flatpak/GNOME
Software. The Linux player-detection path checked for a directory at
$HOME/.local/share/flatpak/app/io.mpv/Mpv/ (slash), but the real
Flatpak app-id directory uses dots throughout: io.mpv.Mpv. That check
could never match a real user-level flatpak install of mpv, so ani-cli
would die with "No player found. Looked for mpv and vlc" even when
mpv was correctly installed. Confirmed against live Flathub metadata
(flatpak remote-info io.mpv.Mpv -> Ref: app/io.mpv.Mpv/x86_64/stable)
and by simulating dep_ch_failover against both path forms.
The system-wide path (/var/lib/flatpak/app/io.mpv.Mpv/, added in
b0993d4) was already correct and is unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent b0993d4 commit 20a487e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
0 commit comments