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 Members Posts: 97 ✭✭

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?

Tagged:

Best Answer

Answers

  • coryo123coryo123 Members, Plex Pass Posts: 158 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:

    <a href="/profile/indirect">@indirect</a>
    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 Members Posts: 14 Plex Pass

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

  • kapeerkapeer Members Posts: 97 ✭✭

    @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 Members, Plex Pass Posts: 4 Plex Pass

    cannot play Telewizjada.bundle on plex app on iphone

  • 0adbylad0adbylad Members Posts: 2

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

    Any idea what i might be doing wrong :)

  • kapeerkapeer Members Posts: 97 ✭✭

    @0adbylad said:
    SHAME
    Not working for me....but im brand new to Plex so could well be my fault :)

    Any idea what i might be doing wrong :)

    There was an update to the site, and I need to update the plugin, but I did not find any time to do it yet. It will not work at the moment!

Sign In or Register to comment.