Some m3u8 questions

First post here, if I'm in the wrong forum just move it =D

 

Alright, so I'm completely new to both plex and python, but I'm currently making an NBA League Pass plugin (mostly for myself&friends, although I might publish it if I finish it). Streaming VOD's are working, although live feeds aren't. I have a few questions, though:

 

1: Is it possible to add m3u8 streams to a regular library? It would be much easier to develop some sort of agent that automatically updates a library with m3u8 files, instead of creating an entire channel around it.

 

2: Is it possible to download the streams as a video file to the browser? I know this is possible with FFMPEG itself, and I also know Plex uses ffmpeg to some extent. I think downloading is currently blocked through the python interpreter used with the plugins (please correct me if I'm wrong), and I imagine this is because PlexSync is a paid feature. It would be amazing to download existing VOD's from NBA league pass and be able to view it offline. This is somewhat related to the above question, because since PlexSync works with regular libraries, having m3u8 files in those libraries could allow for offline viewing without too much hassle.

 

Finally, I currently can't get live feeds to work in the plugin, but I think I need to create a seperate topic for that.

 

Thanks in advance for any help.

I'm going to move this topic to the Channel Development forum for further discussion.

1. I don't know if m3u8 is a file type that the Plex Scanner will recognize. I also don't know how the playback would be handled. My suggestion would be to do a quick test with a few m3u8 files in a "Home Videos" type section and see how well it works (or doesn't).

2. Plex does not provide an API for downloading content but, PlexSync will save online content for offline viewing. The intent is that it be used for content providers which already allow for downloading their media. If you wish to enable it for your plugin, you must add "allow_sync=True" to the @route decorator for any Menu which returns a list of "sync-able" media.

You will get a better response and find more helpful information in the Channel Development section of the forum at https://forums.plexapp.com/index.php/forum/42-channel-development/

As for live feeds, PMS is currently not capable of transcoding live streams. So the ability of any Plex client to play a live stream depends on the format offered and whether or not that format is compatible with the client you are using to access it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.