plex-media-player icon indicating copy to clipboard operation
plex-media-player copied to clipboard

Interested in Flatpak package?

Open TingPing opened this issue 8 years ago • 23 comments

I've made a Flatpak package of PMP and wanted to know if you would be interested in it being a supported package. Flatpak is a cross-distro solution that should be fairly supportable. I can add it to Flathub for hosting and easy discovery for users.

TingPing avatar Apr 05 '18 08:04 TingPing

Hello we apreciate your work, but currently I don't think there are any plans to support anything else than the current distros :)

Thanks.

LongChair avatar Apr 10 '18 13:04 LongChair

@TingPing please add it to Flathub anyway! @LongChair Flatpak is cross-distro, no need to support any exotic Linux flavour ;-) .

I am a lifetime pass user, i would really like you to support flatpak-ed PMP.

beelzetron avatar Apr 29 '18 08:04 beelzetron

https://forums.plex.tv/discussion/319076/linux-flatpak-ed-plex-media-player#latest

beelzetron avatar Apr 29 '18 09:04 beelzetron

@TingPing please add it to Flathub anyway!

How their build system is designed takes a bit of work to update so I'd really prefer upstream involvement.

TingPing avatar Apr 29 '18 18:04 TingPing

The reason I’d love to see this player in Flatpak is that it crashes with current Qt versions. With Flatpak (I believe) it would be possible to ship an older version of Qt as well, and avoid crash both of PMP and my system. see #743

TamasBarta avatar Jul 21 '18 19:07 TamasBarta

The reason I’d love to see this player in Flatpak is that it crashes with current Qt versions. With Flatpak (I believe) it would be possible to ship an older version of Qt as well, and avoid crash both of PMP and my system.

Correct, currently the Flatpak uses Qt 5.9 (latest LTS release).

TingPing avatar Jul 21 '18 21:07 TingPing

I think that this would be a great idea of it helps support other platforms and not having to downgrade to older versions of qt

redxtech avatar Jul 27 '18 21:07 redxtech

Hi folks, thanks for continued comments. I'll re-open to discuss with folks at Plex much more skilled in building than I. Making it easier for Linux users and taking heat off of the Qt upgrade, #743, both seem like great wins. I'm unsure what it entails but will speak with folks. :)

One of the challenges for upgrading Qt is our Chromium patches. Will need to make sure that's accounted for.

mseeley avatar Jul 27 '18 21:07 mseeley

Anecdotally, I've seen more AppImages lately than Flatpaks, although it seems to be a similar idea. Maybe that's worth consideration?

danarnold avatar Jul 27 '18 22:07 danarnold

Flatpaks have much stronger guarantees of portability, they are sandboxed and cannot interact with host state, services, or libraries by default. This ensures a reproducible and supportable environment for the developers. AppImage instead pulls in a mixture of host state and thus requires developers explicitly test against all distros it wishes to support.

It also has integration with stores like Ubuntu's Software Center (GNOME Software), Plasma Discover, Linux Mint's store, etc where it can be discovered, managed, and updated.

TingPing avatar Jul 27 '18 22:07 TingPing

So far building TingPing's Flatpak is the closest I've gotten to running PMP again after the AppImage stopped working after a graphics driver update and the ongoing issue with QT versions.

Tithis avatar Aug 02 '18 14:08 Tithis

Is there a build flatpak for the PMP available anywhere at the moment?

hcoohb avatar Aug 03 '18 04:08 hcoohb

@hcoohb

flatpak remote-add tingping https://dl.tingping.se/flatpak/tingping.flatpakrepo
flatpak install tingping tv.plex.PlexMediaPlayer

TingPing avatar Aug 03 '18 14:08 TingPing

@TingPing This is what I get trying to run that flatpak:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libEGL warning: DRI2: failed to authenticate
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Qt: Session management error: None of the authentication protocols specified are supported
libpng warning: iCCP: known incorrect sRGB profile
Logging to /home/psi-jack/.var/app/tv.plex.PlexMediaPlayer/data/plexmediaplayer/logs/plexmediaplayer.log
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

erenfro avatar Aug 11 '18 22:08 erenfro

flatpak install flathub org.freedesktop.Platform.GL.nvidia-390-48 Fixed the above issue.

erenfro avatar Aug 11 '18 22:08 erenfro

The flatpak image seems to be slow and can become unresponsive. It also doesn't look like it supports subtitles (complains about vobsob?) and transcodes media that would be directly played on the non flatpak version.

I installed it running the commands suggested by @TingPing. Is there something else I should be doing?

Deus-Rex avatar Aug 21 '18 17:08 Deus-Rex

My bad. I got here via the #743 issue regarding QT support causing the Linux version of PMP to pretty much get dropped. A lot of the users there suggested using this as an alternative, and seemed to think it was fully working, so I had hoped I was just forgetting something.

Deus-Rex avatar Aug 21 '18 18:08 Deus-Rex

The flatpak image seems to be slow and can become unresponsive. It also doesn't look like it supports subtitles (complains about vobsob?) and transcodes media that would be directly played on the non flatpak version.

@Deus-Rex, @TingPing just a note that the vobsub issue was fixed in PMS. I believe the fix will be available in PMS 1.13.7 and later.

mseeley avatar Aug 21 '18 18:08 mseeley

Not gonna lie, this would be great. I can concur that flatpaks are easy to use, and well integrated. I prefer flatpaks over ubuntu snaps for ease, and specifically for media related applications. (I'm running RetroArch in a flatpak with no issues)

Flatpaks are also managed via repos, where AppImages aren't, which is basically like going back to the archaic days of Windows where you have to explicitly download the update yourself. Seriously I don't feel like being a pleb on Linux.

It's just an overall win win in terms of use. And cross distro deployment.

rijnhard avatar Sep 29 '18 20:09 rijnhard

https://knapsu.eu/plex/ also has flatpak

nomego avatar Dec 19 '18 23:12 nomego

Please add this Plex. Lifetime-Pass owner here and this would make distributing PMP across various linux distros easy.

Preisschild avatar Dec 27 '18 09:12 Preisschild

I believe this is for the player? I would be interested in a flatpak for the server. Would be easier for the user compared to setting up the docker

EduCampi avatar Jan 22 '19 20:01 EduCampi

@EduCampi yes, this is for the player. Flatpak isn't really supposed to be used for servers though. For servers you should really look into docker.

Preisschild avatar Jan 23 '19 13:01 Preisschild