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

The posters aren’t nearly as high resolution as they’d need to be, honestly. That would just look bad.

You can add your own season artwork in Plex (or select pre-existing, for some long running shows), per season and PM4K should display that.

Edit: BTW you can amend posts instead of posting multiple times :slight_smile:

Edit 2: Yep, tested, works on Home (will work in episode view with the next beta as well)

0.8.0-beta12.2: script.plexmod.zip (3.0 MB)

Changelog:

  • Home/Hubs: Use season thumbnail for episodes if possible
  • Settings: Add setting to enable season thumbnails/posters for episodes in hubs (default: On)
  • Episodes: Use season art as background if available
  • Home: Fix wrong background loaded in certain circumstances after boot or section change (sort hubs by index internally to fetch the first correct background of the first visible item)
  • Home/Core: Store last background per user/account
  • README: Add powered by Jetbrains
13 Likes

PSA: If and only if you’ve been running the latest Plex Pass PMS (Plex Server) betas: There’s been a bug in one of the previous betas, which fills up (likely has filled up) your library.db with garbage bandwidth statistics data if the transcode endpoint is used.

PM4K uses that endpoint to determine playback modes, so if used in conjunction with that beta, you might see a pretty large Plug-in Support\Databases\com.plexapp.plugins.library.db. You can either wait for the next release, which will fix that, or you can fix it on your own (you’ll have to use Plex SQLite manually, though).

In my example that amounted to a 50 GB DB file (it’s normally ~480 MB) and frequent crashes when it tried its DB optimization run.

Reference: Library.db size more than doubled in latest version - #209 by marcjt

Solution: Library.db size more than doubled in latest version - #188 by hlve
If you’re using docker, you might have to use the Plex SQLite binary from within your docker container:

docker inspect plexcontainername

note UpperDir (usually something like /var/lib/docker/overlay2/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/diff, then use:
/var/lib/docker/overlay2/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/diff/usr/lib/plexmediaserver/Plex\ SQLite on the host machine. You can also enter the docker container and use it there.

And a little teaser for you guys:

Edit: PMS update has been released

16 Likes

woow long age we’re waiting for watchlist :grinning_face: thank you.

1 Like

Yeah. It’s not that straight forward, though. It’s essentially a kind of “library” living on a distant server. Not easy to include this without being massively hacky.

Getting there, though!

7 Likes

Lmao, I found out about that when I received a notification from my syno that my SSD was full. The file was 108GB. Needless to say I just immediately set up a backup because cleaning the database with the DS920 would have taken… a very long time… And I updated to the new beta.
Edit: off course the SSD was getting full because of the two other 100GB+ autogenerated backups xD

Haha. You could’ve used the Plex SQLite binary on any other system btw, copy the DB over, fix it, copy it back.

I know… But I finally had a good reason for having used plextraktsync all this time ahah

Yeah, I never got plextraktsync to an acceptable stable state to rely on it. It broke too often for my liking.

Edit: Holy sh*t this project matured. Wow.
Edit 2: And yep, looked great at first, but ran into an issue again, instantly: Error: Error running sync command: 'eidr' · Issue #2251 · Taxel/PlexTraktSync · GitHub, just as I remembered this project. I have no idea why they’d allow it to fail this badly instead of just warning about issues.

Strange, it works pretty well for me, including the Watch feature. Only thing I had to remove recently was the watchlist sync, but from what I read it comes from new Trakt API limitations.

it’s also limited to X API calls if you dont have trakt vip. For me it cant sync my whole library because of that

That wasn’t an issue, they throttle regularly in this case, but PlexTraktSync retries smart enough.

Panni, massive thank you to you for your quick implementations and everything!

1 Like

This is awesome!
When are you going to cut a release?
I don’t want to put any pressure, but I think more users using the newer versions is better.

2 Likes

request for anyone using this - could you make a short video showing the latest version and its features? there have been so many updates and new things added, it would be nice to see as.

also perhaps some thoughts on using this vs plexkodiconnect, which I know imports items into Kodi and enables a different way to use them. but it would be nice to hear from people who’ve used both. I’m asking because I don’t have a working Plex server anymore but still follow all this with interest :slight_smile:

@panni Curious to what your thoughts are long term in terms of transitioning the Home UI to something similar to the current iteration of the Android TV app?

The Plex for Android TV app is likely to change to the “Plex Experience Preview” at some point soon, it would be nice if PM4K could fill that void that will be left in its wake. I know it would be a lot of work but I’m sure most would appreciate it a lot!

I would really love to be able to pin libraries from multiple servers in PM4K.

4 Likes

@panni just installed PM4K last night, and it’s great! My last minor issue to get it to match my Nvidia Shield experience - is there any way to reduce the size of the subtitles?

I looked everywhere, and couldn’t find it. I might just be blind too. Anyway, thank you for your work!

Subtitle size is controlled by Kodi settings. Just adjust it there. (I think you might be able to do it from the PM4K-Kodi settings during playback as well)
Edit: Thank you!

Soon™

That’ll be the main goal of 0.8.1, if it’s feasible (or even possible) :slight_smile:

9 Likes

I’m an idiot. Thanks for your guidance! I didn’t realize you could change the “views” of settings in Kodi (you need to change it to the Expert view) in the Subtitles section for the subtitle size to show up.

Why do you all still have those old yellow triangles for unwatched? Didn’t Plex ditch those years ago?

1 Like