Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite bufferization in iOS. #53

Closed
lisichkinpavel opened this issue Aug 26, 2016 · 4 comments
Closed

Infinite bufferization in iOS. #53

lisichkinpavel opened this issue Aug 26, 2016 · 4 comments

Comments

@lisichkinpavel
Copy link

Hi everyone!
Do anybody have same problem? During playing channels from list, the bufferization ring doesn't disappears. On Mac and ps4 plex client everything is ok.

@arag00rn
Copy link

Same issue for me

@Cigaras
Copy link
Owner

Cigaras commented Nov 10, 2016

Before Plex developers fix their client You can use this workaround for now by adding duration in __init__.py file at the end of line 251, like this:

        items = [
            MediaObject(
                #container = Container.MP4,     # MP4, MKV, MOV, AVI
                #video_codec = VideoCodec.H264, # H264
                #audio_codec = AudioCodec.AAC,  # ACC, MP3
                #audio_channels = 2,            # 2, 6
                parts = [
                    PartObject(
                        key = GetVideoURL(url = url), duration = 1000
                    )
                ],
                optimized_for_streaming = Prefs['optimized_for_streaming'] # ...
            )
        ]

However the progress bar will always read 1 second for the duration of the video witch might not be an issue but I do not like this solution enough to include it in the code, maybe I'll read the duration from m3u file or program guide, not sure jet...

@Cigaras Cigaras removed the Can't fix label Nov 10, 2016
@Cigaras
Copy link
Owner

Cigaras commented Nov 11, 2016

After testing on a few clients I noticed that smarter ones recognize that it's the live stream and ignore provided duration value, looks like only iOS client have this issue, so this workaround is implemented in latest release v1.2.6.

@Cigaras
Copy link
Owner

Cigaras commented Mar 7, 2017

Plex fixed this in latest iOS player so plug-in no longer defines duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants