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

Adding a repository in the Kodi interface is just a pain. It is easy via SSH in a normal Debian build as in “sudo add-apt-repository ppa:…”

I just don’t know if Kodi works like that or not. Is there a file that can be edited via SSH or a command that can add it? I don’t currently have PM4K installed at all on that system.

You could just transfer the repository zip to your addons folder, then enable the repository in Kodi.

This for example for the omega repository: dontpanickodi/omega/zips/repository.dontpanic/repository.dontpanic-0.2.6-1.zip at master · pannal/dontpanickodi · GitHub

Yeah no better solution for now than to always invalidate the list. Sorting on the empty mli’s is painful (works for ASC but not DESC) and only using CHUNK_SIZE instead of totalSize doesn’t yield appropriate results, either (because we’re sorting a list that’s cut off at CHUNK_SIZE, so inverting that doesn’t benefit anyone).

Edit: Honestly it’s not that bad. As we’re way faster than before due to chunking, rebuilding the whole list on sort is OK.

So I can put this zip file into the root of the add-ons folder as is:

https://pannal.github.io/dontpanickodi/repository.dontpanic-0.2.6-1.zip

Then it will magically appear in Kodi to “enable” it?

No you need to unpack it there, so that there’s a repository.dontpanic folder inside your addons folder.

Afterwards it should also auto update itself.

1 Like

OK, here’s 0.7.5-prerelease8: script.plexmod.zip (3.5 MB)

Went out of the beta a little too soon. Release will be postponed (was planned for tonight). There’ve been core changes again to fix certain issues.

The Squad™ re-ping: @sonofdibnah @ecsjjgg @jamal2367 @THGhost @bowlingbeeg @Buttzy10169 @SmarthyMcFly @pl37919

@vtouw should be fixed with this version.

Edit: Re-uploaded 0.7.5-prerelease8, please re-download

1 Like

Hmm … yeah I guess I hadn’t thought about the sorting stuff. If I remember correctly that’s trying to do the sort locally right? Maybe we should be asking the server to do the sorting and then it would work just fine with the chunking.

As always, thank you!

1 Like

Yeah, the current solution just refills the list with the new sorting, which does essentially the same.

@bowlingbeeg this one is extremely funky: Core: Store once-requested hubidentifier in hub attrib; move getClean… · pannal/plex-for-kodi@5420a22 · GitHub (see comment; I thought you might be interested in this one)

Here is the log you requested:

Hmm not much in there, other than you seem to have connectivity issues. To further investigate this, please open a Github issue.

Everything fine so far.
Especially tested sorting in movie and series view.

Sorting works again in libraries on 0.7.5 prerelease8 Thank you

1 Like

I seem to have come across 2 bugs.

The first is a small one related to the stream info display when playing a video, if the video has subtitles the buffer line of the stream info gets covered by the cpu usage. Shown Below.

The second seems to be a bigger issue with watching a video that has been partially watched before. After the video ends the watched amount seems to get set to whatever the percentage was when the video started. Here is a partial log from when I finished watching an episode. Approx 5 minutes of 45 had been watched previously. I think it’s using the amount played when playback started to set amount played at the end.

PlexIssue.txt (2.5 KB)

Edit: If it helps the video was paused several times during playback, in case something is getting updated on pause.

1 Like

Maybe a potential bug:
If I select a movie from some of the hubs (e.g. Recently added), then doing something in the detail page (e.g. Set movie as watched) - then go back from detail page to the hub again and try to scroll further to the right within the hub it does not load the next 10±? movies for the row.
Also the other rows / hubs of the library are no more loading past the initial 10 entries.
A switch to Start page and back to the library does not help. Other libraries are not affected. Need to restart the addon to fix it.

Huh. Got any logs?

Thanks for the reply.

Will open Github Issue as suggested.

BTW - You mention connectivity issues. Between what?

I’ve seen multiple occasions in your log where the addon clearly fails to retrieve data from your Plex server. You seem to be able to play back stuff, but there’s a lot of connectivity errors in there.

Was able to reproduce. This only seems to happen when you pause before backing out of the video. I’ll investigate, thanks. No, it’s a timing edge case. This only happens when we seek on start (with resume or early auto skip intro), in certain situations (playback started, seekDialog not initializied, we’re talking <1ms edge case that happens depending on Kodi device performance).

All fixed in 0.7.5-prerelease9: script.plexmod.zip (3.5 MB)

Please re-test, thank you!