Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Playing live streams from m3u

kapeerkapeer Posts: 96Members ✭✭

I am working on a plugin to play live streams from m3u file which contains .ts links. They start fine, though playback stops after 10 seconds (due to defined chunk duration?). Is there any workaround for this, or live streams like that can't be used with plex?


Best Answer


  • coryo123coryo123 Posts: 158Members, Plex Pass Plex Pass

    How is your url service handling the playlist?

    if they are HLS playlists, you do something like this, where url is the m3u8:

    def Play(url, **kwargs):
        return IndirectResponse(VideoClipObject, key=HTTPLiveStreamURL(url))

    see my Twitch.tv channel, or a youtube channel for an example of that.

  • AlexgilsegAlexgilseg Posts: 14Members Plex Pass

    @kapeer Any chance you could share this plugin with the rest of us? <3

  • kapeerkapeer Posts: 96Members ✭✭

    @Alexgilseg said:
    @kapeer Any chance you could share this plugin with the rest of us? <3

    Sure: https://github.com/kapeer/Telewizjada.bundle

  • ccxxvr@gmail.comccxxvr@gmail.com Posts: 4Validating, Plex Pass Plex Pass

    cannot play Telewizjada.bundle on plex app on iphone

  • 0adbylad0adbylad Posts: 2Members

    Not working for me....but im brand new to Plex so could well be my fault :)

    Any idea what i might be doing wrong :)

Sign In or Register to comment.