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

There’s a setting for that. “Use kodi keyboard for search” or something, I d remember exactly how it’s called.

Which PM4K version did you install? Did you get a prompt about plex.direct and if so, what did you do?

Gee thanks. Why even try then?

I installed it how described:

Installation (recommended)
- Add https://pm4k.eu/ (or https://pannal.github.io/dontpanickodi/) to your Kodi installation as a source in file manager
- Go to Settings->Addons, choose “Install from zip file”, choose the file source you added and install the repository
- Install Plex via Settings->Addons->Install from repository->Don’t Panic->Video add-ons->Plex
- Optional, recommended: Install Plextuary via Settings->Addons->Install from repository->Don’t Panic->Look and Feel->Skin->Plextuary

I did not receive a message with ‘plex.direct’. However, my Plex database was displayed in this Kodi addon. But completely without graphical elements of the movies.

Because i thought maybe something will have improved since kodi 18. That was the last time I tested it.

That’s usually due to DNS rebind issues and very uncommon nowadays, as we automatically try to work around that. It doesn’t always work and you probably ran into such a situation. If you want to continue to try this (unofficial, non Plex Inc) addon, you can either add “plex.direct” to your router’s DNS rebind protection exemption list, or go to the external AddonSettings (long press enter on the icon), then under system set both “Honor” DNS flags to off. Afterwards PM4K should show you the plex.direct prompt.

It has, massively. I don’t know whether you tried the official plex for kodi back then, or my fork, but either way, we’ve come a long way.

Ok Thank you, If we create bundle, shouldn’t the chain must be *.plex.direct>intermediate>root ?
But I don’t know how PM4K processes it. Also ISRG>R10 is the latest instead of R4 Intermediate.

I’ve seen the blank artwork on a fresh install before but then i just rebooted the box and the next time I opened it, the art was there…

Thanks for the help. The setting worked immediately.

However, Kodi still doesn’t seem to be right for me. I can’t get audio passthrough to work. Enabled passthrough in the system-audio settings and checked the plugin settings. But I only get multichannel PCM via HDMI.
I will continue to be happy with the Plex app. I don’t want to spend hours configuring a player…

Thanks for the quick help though.

You need to set up kodi for passthrough beforehand (in the kodi settings outside of the addon). You’re not spending hours, 5 minutes tops.

No, those are CA bundles, they don’t contain intermediates, they’re for verifying the root CA in this case. The client (Python-requests) checks the chain presented by the server for validity and the last CA from our bundle. The chain basically verifies itself, as the intermediates verify the previous one, up until the root CA, which we then verify against our bundle.

Hello. Does everybody here use an external Plex server with PM4K? Because, when I start PM4K, Plex ask me to loggin and says that I have no Plex Server configured !. I just plan to connect an USB hard drive to my Ugoos AM6+ and CoreElec (like in Kodi). Does PM4K be able to use the sources defined in Kodi? If yes, how? Sorry for that dumb question. Thanks

Are you not planning to utilize a Plex server? (even if it’s local and not remote it’s still a server)

Without a Plex server PM4K can’t function, that’s the whole server/client shtick.

If you just want to watch locally, you don’t need PM4K at all. The whole point of Kodi is for local streaming. Just plug in USB drive in and add that as a source in Kodi

I have experienced two crashes on resume of content. By no means is it every resume.

In the case of the crashes, when I try to resume, it triggers the template compilation.

What’s weird is that the content starts playing in the “background”, like I can hear the audio. If I exit PM4K, I can see the content playing on the Kodi homepage but it is “greyed out”. Only restarting Kodi fixes it.

Trying to resume again will not have an error.

How best should I try to capture this? It is so intermittent that I wasn’t able to get a log.

Whenever we create a window, we test for a specific element ID. If it doesn’t exist, the template is probably broken (0byte or garbage data), and we recompile everything.

I haven’t seen this personally, before, but there was one user in the 0.7.9 beta phase, who had the issue of corrupting templates.

I guess in the case of the templates used for the VideoPlayer/Seekdialog, this recompile handling isn’t properly implemented, as it should stop playback immediately.

I’ll address that.

Nevertheless: something’s wrong with your device’s storage, as it corrupts.

Thank you Mike. That’s what I do. But I follow a tuto to install CoreElec on a AndroidTV Box (Ugoos AM6+) to play MKV with Dolby Vision Profile 7 FEL, and install PM4K is part of the process. So I thought it was mandatory. Sorry to bother you. Thanks for tour help.

1 Like

Nah no need for PM4K. Only if you intend to use a Plex server.

Edit: all playback engine related things in PM4K are just Kodi with an overlay.

1 Like

Question. When my internet dies yet my network is still up, how can i get past the plex logo when pm4k starts? I know that is buried in this thread somewhere but i cannot find it.

In my plex server settings for list of ip addresses that are allowed without auth i have 192.168.1.1/255.255.255.0.

Did you add the IP of your server under the “manual connections” setting on PM4K?

No i have not made any changes in the pm4k network settings.

Then do it :smiley:

And/or enable local detection and prefer local over secure in PM4K.

PM4K should handle no internet pretty well by now. If it can connect via LAN.

You maybe also need secure connections: preferred instead of required in your PMS, but not necessarily.

1 Like

It takes 60 sec from plex logo to home screen. The android plex app takes 8 sec with no internet. Running kodinerds 21.1 and pm4k 0.7.9rev2
My pm4k settings. It works but is slow.