@panni
If it helps any, the relevant bits from Composite,
Getting the subtitles:
github:com/anxdpanic/plugin.video.composite_for_plex/blob/master/resources/lib/composite_addon/addon/playback.py#L469
Setting the subtitles:
github:com/anxdpanic/plugin.video.composite_for_plex/blob/master/resources/lib/composite_addon/addon/player.py#L198
github:com/anxdpanic/plugin.video.composite_for_plex/blob/master/resources/lib/composite_addon/addon/player.py#L361
Just put it on an RPi 3b for testing. I use Roku now but having Plex on an open platform is so important.
Edit: I actually have something. My server is remote but upload isnāt an issue. I always set Remote Quality to Original. Plex for Kodi is aware that screen resolution is ā1920x1080@60.00hz,ā per the āAboutā section. I have some movies with both 4k HEVC and 1080 H264 versions. Plex for Kodi is choosing the HEVC source by default. I have to use āPlay Versionā to select the H264.
As an example, my 4k capable Roku with a 1080p TV now chooses the highest bitrate 1080p version by default. Even though āOriginalā quality is selected, itās taking into account the display.
This is much more polished than I expected, I havenāt used Plex on Kodi in years.
I was on your regular Kodi 18 branch so I loaded up the develop branch to see if it behaves the same way. It is also choosing the HEVC 4k copies of movies even though the display is 1080p. I have a script that kills HEVC transcodes and leaves a message for the user. That message works in Roku but the stream just ends in the Kodi Add-on with no message displayed.
@panni is there a line of code in any of the .py files that I could change to reduce the amount of delay between episodes?
I found that this is something you can do with some other device players so figured it should be possible here too? I know this is something you wouldnāt necessarily recommend people to do, but itād be great if you could show how.
Yes thatās right. That would be perfect if you made it configurable, I know many have been asking for that in the main app for quite some time, so having it in the Kodi app would be fantastic.
As well as being able to configure the length in seconds (also hopefully 0 seconds so it just goes to the next episode), it would also be great if you could also set it to be in āminusā seconds too, so for example set it to be -20 seconds so it goes to the next episode without having to watch all way through the end credits etc. Not sure if that bit is possible, but itād be awesome if it was.=
Well then, if youāre adding options I sure would like to have a toggle to not make it skip postplay for very short episodes. (Iām not a fan of autoplay in general)
I have. It doesnāt apply to short episodes. They just skip postplay altogether and instantly start the next episode. I prefer to choose whether I want to start the next episode or not during postplay.
@panni It seems a lot better in general now, but I found one set of subs that the addon really didnāt like. With the addon the first few lines doesnāt show up properly and a few times it even crashed Kodi do desktop. It seems to plays āfineā in Kodi by itself (my HTPC wasnāt really fast enough to keep 100% up with the effects, I think), and similarly in the Plex Media Player, so It think itās something with the addon that crashes?
Weird. I can play the video file just fine, direct play HEVC, Plex for Kodi (my develop_kodi18 branch). Can you maybe post a log for when the crash happens?
Forcing postplay for short videos as well as being able to configure the postplay timeout have been added as an advanced setting to develop_kodi18 and develop_kodi19; pull request is open.
Setting the timeout to zero or below is possible, but will still show the postplay screen for now. I might improve this later. will directly skip to the next video. A negative value doesnāt do anything for now.