Plex is the leading streaming platform for personal media collections, also offering over-the-air Live TV and DVR capabilities, and curated news from over 200 global media partners. It’s the only solution that seamlessly combines your personal collection of TV shows, movies, music, photos, and videos alongside live and recorded TV. With a highly-customisable and easy-to-use interface, Plex is a top 10 most-watched app with 4+ star ratings on all major OTT platforms. Plex’s mission is to give users the very best OTT media experience.
At a company hackathon in September 2017, Software Engineer Tamas Szelei suggested creating a snap for Plex’s Media Server. As a long-term user of Ubuntu in his professional life, Tamas discovered snaps in related blogs. Tamas joined us at the Snapcraft Summit in Seattle this week to learn more and share his reasoning of why he sees snaps as an option for Plex moving forward.
Snaps is an attractive technology with a very simple installation mechanism – not unlike what is on Macs for example. From a user perspective, this is the biggest selling point. There is a fraction of our user base that is very technical on the whole, so confinement is also appealing to them – many of our users like to control things. It is not unusual for them to re-write scripts, for example. Confinement provides an additional sense of security and means users don’t have to worry about the installation having unintended effects on their systems, such as affecting system-wide configuration files.
From my perspective, the two biggest benefits were the ability to create the same package for different distributions and the auto-updating capabilities.
It was very refreshing actually – the yaml config file is a good choice. It makes everything neat and easy. A lot of thought behind Snapcraft has gone into designing the packaging experience, rather than just from the user perspective, which makes it so much better.
We will find out as we progress but I’m hopeful it will be smooth. Our build process produces distro-independent tarballs, and we process those to create the distro-specific packages. Since we saw that some community member managed to package Plex Media Server even without access to those tarballs, I expect that integrating snaps will be a smooth ride.
We aren’t at the stage where we have published a snap as yet but we can see the store being an easy way to distribute software. The snaps are easy to install from there which is a bonus. To a degree, any app store requires a level of commitment from us, unless the store can pull directly from us. It all depends on how easy it is to get it in the store – for example, can we do it from the CI? Or is it more in depth and we need to go through an approval process? Overall the store provides an additional discovery tool in addition to our website. As Plex Media Server normally has a positive reputation with many reviews, we would hope it would appear higher in the store.
Long term, yes we could look to make savings. We have discussed with Martin Wimpress at Canonical about pushing Ubuntu Core to NAS devices which can be challenging to package for.
In many cases, we have to deal with unusual package formats, which may differ even among different devices of the same vendor. If we were to ship Plex as a snap, then we would see big-time savings at the QA stage.
We would make use of all of these channels and they would be very useful for us. We actually already do similar releases manually: our bleeding edge users whom we call “ninjas” would appreciate an easy way to switch between channels. We might also find a use for this in our own internal dogfooding process.
Plex has a large group of technical users. We already have a Docker image which has similar advantages such as confinement. Just last week, we released an early preview build but didn’t have a Docker image. Our users wanted one to be able to try the build without taking big risks.
One suggestion would be for the interface to ask a user for permissions to access contacts or the camera etc like on smartphone apps. It would enhance general security. We had some issues with the discoverability of documentation: it’s all there, but as a newcomer, it can be overwhelming to find out what we needed.
Learn how the Ubuntu desktop operating system powers millions of PCs and laptops around the world.
ACPICA is an open-source project that provides an operating system (OS)-independent reference implementation. It also contains a list of utilities such as ASL compiler (iasl), acpiexec (an AML emulator). However, AML debugging on Linux in…
People frequently tell me they’d like to make a snap of an application they care about. Whether it’s in person at events like FOSDEM, or online via IRC or Telegram, there are developers who want to share their Linux software…
Two weeks ago, my colleague Alan wrote an article on how one goes about packaging an application as a snap. The focus of that piece was a handful of tips and tricks that should make the transition from raw code to a working snap easier and…