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

You can try installing this one or even the older (but leia-stable) version from last year, manually.

Sure, the releases on my kodi repository always included all my changes to the official client. The list of differences is pretty huge by now.

I’ll try that this afternoon.
Thank you very much, panni

The older versions still have the same addon identifier as the official addon; you’ll want to disable auto update immediately after installing, otherwise it’ll get overwritten. Also, if it doesn’t start, you’re missing dependencies (that can happen when manually installing an addon). In that case, you need to install the dependencies using the dependency-browser from the addon info/detail screen.

BTW, anyone using a SHIELD with my addon? I’m constantly running into this issue when the SHIELD’s woken up after sleep. The only fix right now is to exit Kodi before sleeping.

Sadly that old thread seems to be ignored. I might create a new one.

Sadly, my attempts were unsuccessful.
Unfortunately, the plexmod Addon does not start.
I have checked the dependencies.
All dependencies were up to date, but I updated them anyway.
Without success, unfortunately!
I don’t want to bug you any more, since you no longer support Leia.

this is what it looks like
image

I’m using the Shield Pro, but i don’t put it in deep sleep mode, so I don’t have this particular issue…

I think you can ask the shiled to kill all the background apps regularly in the developer section, it would be a workaround I guess.

Even though it’s not receiving updates, I can help with getting the older ones to work with Leia. Did Kodi throw errors when starting the addons? Do you have logs?

Kodi dont throw errors on screen

here the log:
2023-03-30 16:53:16.399 T:3600860032 WARNING: CAddonSettings[script.plexmod]: failed to parse old setting definition for ā€œpostplay_timeoutā€ of type ā€œintegerā€
2023-03-30 16:53:16.562 T:4063553408 WARNING: Previous line repeats 1 times.
2023-03-30 16:53:16.562 T:4063553408 ERROR: ExecuteAsync - Not executing non-existing script script.plex
2023-03-30 16:53:16.815 T:3382014848 ERROR: GetDirectory - Error getting plugin://script.plexmod/
2023-03-30 16:53:16.823 T:4063553408 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.plexmod/) failed

At least with the older one of the two, the directory should be script.plex, not plexmod. I’ll double check for the newer one later.

the log is from the installed v. 0.4.0

the original Plex addon is not needed in addition to your mod, is it?
because I have uninstalled it

No, just the dependencies of the one you install (they’re different between the two versions I’ve linked)

The dependencies of the two versions are up to date.

the log of v.0.1.7a3

2023-03-30 17:41:39.481 T:4060542848 WARNING: CAddonSettings[script.plexmod]: failed to parse old setting definition for ā€œpostplay_timeoutā€ of type ā€œintegerā€
2023-03-30 17:41:45.196 T:4060542848 ERROR: Control 50 in window 10001 has been asked to focus, but it can’t
2023-03-30 17:41:46.608 T:3037512576 WARNING: CAddonSettings[script.plexmod]: failed to parse old setting definition for ā€œpostplay_timeoutā€ of type ā€œintegerā€
2023-03-30 17:41:46.757 T:4060542848 WARNING: Previous line repeats 1 times.
2023-03-30 17:41:46.757 T:4060542848 ERROR: ExecuteAsync - Not executing non-existing script script.plex
2023-03-30 17:41:47.000 T:3012555648 ERROR: GetDirectory - Error getting plugin://script.plexmod/
2023-03-30 17:41:47.006 T:4060542848 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.plexmod/) failed

Are you sure the folder is named script.plex?

Oh wait. I’ve seen 18.9 on Elec with python3. That might be an issue. Can you check if you’re using python3? That might be why the newer versions work with your Kodi.

If so, you might be out of luck right now. I might be able to fix the search box issue in the matrix/Nexus builds next week. If you’re on Leia python3, that should be fine then.

That would also mean that only the newer zip would work as the older one’s on python2.

ok, i change manually script.plexmod (0.1.7a3) to
script.plex in
/storage/.kodi/addons and
/storage/.kodi/userdata/addon_data

is it right

Only in the addons folder.

Ok done but not working

2023-03-30 18:08:00.791 T:3627025280 ERROR: ExecuteAsync - Not executing non-existing script /storage/.kodi/addons/script.plexmod/plugin.py
2023-03-30 18:08:00.792 T:3627025280 ERROR: Unable to run plugin Plex
2023-03-30 18:08:00.792 T:3627025280 ERROR: GetDirectory - Error getting plugin://script.plexmod/
2023-03-30 18:08:00.792 T:4060542848 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.plexmod/) failed

Offhand, I don’t know how to find out which Python version I’m running!?

Hmm. Something’s weird. Can you screenshot the addons folder and the script.plex folder?

Possibly from the addon dependencies, not sure. Never used Leia with py3 before.

Edit: also enable debug logging in Kodi, please.