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

Does it not scroll?

Yeah, you’d copy it as custom_bundle.crt and add your own.

It does not unfortunately.

Noted, thanks for reporting, mate :slight_smile:

1 Like

Back!

0.8.0-beta2: script.plexmod.zip (2.8 MB)

Changelog:

  • Core/plexnet/http: Fix session cert bundle usage by using the correct attribute (verify vs cert); should fix kodi 18 connectivity and will actually use the correct bundle on Kodi 18+
  • Core/SSL: Replace default plex.direct certificate with ACME root bundle (Letsencrypt, ZeroSSL), valid until 2035
  • Core/AddonSettings: Adjust default plex.tv timeouts to 1s (connect), 2s (read); (was: 5s, 20s)
  • Core/KodiGUI: When broken template is detected, make sure to stop current playback as well
  • Core/Autostart: Harden autostart; only autostart when we’re at the home view and we have no dialogs active; stop trying to autostart after 120s
  • Core/Service: Add inline documentation
  • Core: Wait for properly-set properties if wanted/necessary

Most of these changes will probably be backported to 0.7.9-rev3, as that’s going to be PR’d to the official Kodi repository.

Edit: I’ve compiled a pretty huge list of bugs/changes for 0.8.0 while being on my break. Watchlist is still the top #1 feature for 0.8.0.

Edit 2: Updated zip (13.09. 15:25 CEST)

9 Likes

Welcome back panni :slight_smile:

4 Likes

I’ve downloaded your beta 2 twice and installed it but I’m still seeing beta1 in the about. Is it just me?

My bad, updated the zip :slight_smile:

Moien, the logo of my username always stays the same, even if I change it on Plex. I have already deleted Plex on Kodi and no change. Where is the image saved?

Thank you

In Kodi’s thumbnail cache, you need to clean that. https://kodi.wiki/view/Artwork/Cache

Pushed 0.7.9-rev3 to Don’t Panic, backported changes/fixes from 0.8.0-beta:

  • Player: Only send timeline events if playstate has changed or we haven’t sent one for 15 seconds; fixes #137
  • AddonSettings: Fix default cert bundle setting
  • Core/plexnet/http: Fix session cert bundle usage by using the correct attribute (verify vs cert); should fix kodi 18 connectivity
  • Core/AddonSettings: Adjust proper defaults for plextv timeouts
  • Core/Networking/MyPlex: Don’t use custom certificate for plex.tv connections
  • Core/SSL: Replace default plex.direct certificate with ACME root bundle (Letsencrypt, ZeroSSL), valid until 2035
  • Core/AddonSettings: Adjust default plex.tv timeouts to 1s (connect), 2s (read)
  • Core/KodiGUI: When broken template is detected, make sure to stop current playback as well
3 Likes

0.7.9 PR open in the official Kodi repository (finally): [script.plexmod] 0.7.9 by pannal · Pull Request #2645 · xbmc/repo-scripts · GitHub

With 0.8.0 beta i get an error on kodi before pm4k starts. Plex error.

2024-09-13 17:43:47.303 T:23997 info : Skipped 1 duplicate messages…
2024-09-13 17:43:47.303 T:23997 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class ‘IndexError’>
Error Contents: list index out of range
Traceback (most recent call last):
File “/storage/emulated/0/Android/data/net.kodinerds.maven.kodi21/files/.kodi/addons/script.plexmod/default.py”, line 34, in
boot_delay = int(sys.argv[2])
~~~~~~~~^^^
IndexError: list index out of range
–>End of Python script error report<–

Did you restart Kodi? Seems like service.py is still running the old version.

Yessir, multiple times. When i revert to 0.7.9 rev 2 then no error.

Ah yeah, you’re not using a boot delay, do you? Let me fix that.

No sir.

Do you have PM4K autostart enabled?

Yes i do.

Does that fix it for you? script.plexmod.zip (2.8 MB)

Yessir, boots right in to pm4k now. No error.
Thank you much!