PM4K / PlexMod for Kodi (18, 19, 20, 21, 22+)

Wohooo! :partying_face:
It’s really amazing how many changes have happened since I’ve been away for a few days.

Thanks for all the updates!

Would it be possible to add an watchlist section like in the app?

This feature makes this PlexMod perfect!

1 Like

It’s on my list but it’s not the easiest to implement.

Edit: I’m in core-fixes mode right now; features will be tackled at lot later. We’ve now hardened the server/connection-core, media selection is next, then we’ll see.

Well it also did it in regular Kodi too, which is why I asked them to fix it :stuck_out_tongue: Thankfully you did their job for them :slight_smile:

Has the toggle for auto skip when selecting an episode been removed or is it just broken for now?

How do you mean?

On the pre-play page, wasn’t there an option to enable auto skip per show? Or am I imagining it? xD

It looks like ā€œenable/disable binge modeā€ has replaced the ā€œenable/disable auto skipā€ option in the episode options menu. Appears from the code it was intentional but maybe it was just a merging issue.

1 Like

Ah yes. That’s binge-mode now. It’s essentially intro-skip with a little adjustment (never auto intro skip the first episode of a season; skip post-play between episodes)

1 Like

Gotcha. But what about if you want to automatically skip the intro for a specific show (just the intro, not credits or recaps), but not all shows? And without going straight into the next episode? :thinking:

Hmm. Would you want the skip option separately, or would a configuration for the binge mode suffice, where you could toggle all of its features separately?

In case of the former, it might get too crowded in the little menu.

1 Like

A configuration would no doubt be best, yes. Wouldn’t want to take up too much menu space :+1:

Hmm, not sure. I’m thinking about a separate menu that opens from where the current binge mode per show setting is, and allows for all available playback modes to be customized per show.

That way everyone gets what they want I guess. I’ll see when I get around to that.

2 Likes

Does manual subtitle positioning work for you guys on Kodi Nexus v20 with Nvidia Shield TV? I used custom position on older v19 version and older plex for kodi addon version, but now, if I change to ā€œmanualā€ and change the subtitle position under video calibration, subtitles stay at the bottom. But when I make same adjustments on PC, same kodi v20 and same 0.6.2 release of addon, it works fine.

Is this Android, Nvidia Shield TV, Kodi or Addon issue?

Will both be fixed in the next version :+1:

3 Likes

Some observations:
Multi part playback seems broken serverside. Still confirming with PlexInc, but I’m fairly certain it’s not fixable by PM4K right now and doesn’t work properly in any client (at least pt2 resume doesn’t, tested on Plex Web and Plex Windows)

Kodi cache readfactor seems somewhat broken. Its default in the PM4K cache template is 5, which should be sufficient, as in theory it would try to fill the buffer at five times the Bitrate of the Video. In reality it seems like the cache/buffer implementation is somewhat broken right now.
The cache is often starved to a very low point and then kodi tries to fill it again.

1st party tip from a very bad hotel wifi: set it to 20 on a wonky connection. It’s counter intuitive and there’s been suggestions that a readfactor that high would saturate the link and lead to CPU issues, but I can’t see any issues with a FireTV 4K Stick. This makes DirectPlay possible on a very fluctuating connection.

Still waiting on an answer by kodi staff, but I might raise the default to at least 10. I’ll test 20 on a good connection to see whether the SHIELD misbehaves with high bitrate content and passthrough.

Edit: the 0.6.3-beta10 I’m driving right now on a short vacation shows the buffer/cache state on the timeline, which is why I can see how the cache behaves. It has multiple-media-versions handling, uses a new optional low-drift timer for time-left/ends-at (no OCD-triggering seconds-jumping anymore), and trailers are fixed (they were clamped to SD and stream selection didn’t work). Rewrote a bunch of things for stability as well. And a lot I don’t remember right now. I’m attaching a WIP build, use at your own risk (it’s great; not for Kodi 18; please report back!). 0.6.3 will be ready once I have a final solution for binge mode config and generic skip Config. Might take a little while.
script.plexmod.zip (3.4 MB)

5 Likes

Continuing the monolog as you guys’d rather hit the like button than actually giving feedback:

Im thinking about a hotel mode, that would let the player wait after initially seeking (to 0 or actual seek) until a set percentage of the cache is filled. Kodis current cache/buffer handling is so bad that directplay on a wonky connection almost always implies having to pause until one is able to see any amount of buffer.

Do you think that could be default behavior? I mean, a healthy setup would always fill the cache immediately, so there’d be no downsides? (perhaps)

Edit: btw, did anyone test 0.6.3-beta10?
Edit: explicit hotel mode setting, which sets readfactor to 20 and a cache amount to reach, or readfactor to 20 by default and setting just the cached percentage?

1 Like

Forgot to ask: do you have any core fixes you’d like to see? Apart from playback (binge mode) settings I have a couple of core fixes open, but other than that I think we’re at a pretty good state.

One thing I’d like to do in the future is modernizing the UI a little bit. Mostly styling. Matching what the other official clients do right now is probably possible but will take months. I’m pretty sure I’ll tackle that, but I want PM4K at a state that you guys are happy enough with, before that.

For my use case the core features work really well, nothing that I use is missing. And I actually like the UI the way it is for the most part. I’m using it in a home theater with a big screen and a remote so I don’t want a ton of fancy things. I think simple is better in that setting. But what I would really like to see is the ability to adjust the UI, especially reordering/editing the hubs and libraries on the fly.

As you know I’m using this on a Zidoo player so I can’t test the beta and it’s buffer changes since that isn’t used on the Zidoo player. And I’ve never used the multi part stuff because plex never seemed to handle it very well so I’ve always re-muxed those movies into a single file.

Thanks for all the hard work on moving this project forward.

Is it possible to implement ā€œwatch togetherā€?

I promise that the monologue is appreciated. I haven’t replied because I’ve had people staying with me and there’s been no time to mess.

Anyhow, I think I’m trying your 0.6.3-beta 10 now. Initially I tried ā€œinstall from zipā€ but I think I’m right in thinking your zip needs to be unzipped and then it replaces script.plexmod in my addons directory. ( my addon.xml says beta 10 but about in the addon settings still says 0.6.2-1) I’ll use it later today and will report back if I notice anything.EDIT I now know it takes a reboot to come into effect.

My only wish list comment might not fall under core fixes. Despite efforts to never do it, I regularly leave the addon without going thro ā€œare you ready to exit Plex?ā€. If I do this, I have to restart kodi to get the addon to load again. Not a showstopper.

Having used 0.6.3-beta 10 for a couple of days, I’ve not much to say. It works as I expect it to and it’s a pleasure to use.