External player with flatpak - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: External player with flatpak (/showthread.php?tid=376886) |
External player with flatpak - mcfang - 2024-04-02 How do external players work with the flatpak? Testing flatpak now that the Ubuntu builds are retired and using mpv as an example it will not play: Code: sh: line 1: /usr/bin/mpv: No such file or directory RE: External player with flatpak - delbruck - 2024-08-07 You couldn't make it work, could you? I'm trying to set this up with Flatpak on Debian 12, following the instructions on both the Wiki and this thread, with no success. Even giving All possible permissions to the program via Flatseal. I can get players to show under "Play using" but they just won't play anything. Can we please get confirmation that external players just don't get along with Flatpak? Or am I wrong and it can be done? RE: External player with flatpak - Sidewinder_2011 - 2024-08-07 (2024-08-07, 21:06)delbruck Wrote: You couldn't make it work, could you? What I've read that kodi flatpak run in a sandbox , like all flatpak haven't got access to the filesystem. Check this out https://davejansen.com/give-full-filesystem-access-to-flatpak-installed-applications/ maybe give permission for /usr/bin/mpv or what ever external players location is RE: External player with flatpak - Buschel - 2024-08-08 I recently worked on "Play using..." via JSON API, using Kodi 20.5 and 21.0 flatpack versions. I could play from Kodi 21.0 to Kodi 20.5 and to several TVs and Monitors which have UPnP support. RE: External player with flatpak - delbruck - 2024-08-08 Great! Thanks for confirming that it can be done. I'll keep trying. @Sidewinder_2011 Thank you for the link and the idea, I think I took care of that permission with Flatseal, but I'll double check with the CLI. RE: External player with flatpak - Buschel - 2024-08-08 Welcome 😊 One thing I forgot to mention. I also have 1 device which did not work. This is an „OpenHome“ device. Maybe this helps to narrow down the problem on your side. RE: External player with flatpak - delbruck - 2024-08-08 That might be a clue, thanks again! RE: External player with flatpak - mcfang - 2024-08-30 Solved. Grant permission to spawn on host: Code: flatpak override tv.kodi.Kodi --talk-name=org.freedesktop.Flatpak Update playercorefactory.xml: Code: <player name="mpv" type="ExternalPlayer" audio="false" video="true"> RE: External player with flatpak - delbruck - 2024-08-30 Yesss, this works. Thanks for posting your solution. RE: External player with flatpak - delbruck - 2024-08-30 In case anyone wants to use flatpak SMPLayer as an external player, this is the XML that worked for me. Thanks again, mcfang. Code:
|