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

I tried the pre-release3, I cannot even goto playback, because the keys are not working on that screen, but you posted pre-release2 in which it is working in some time, i mean to say if i wait about 5 secs on the home screen and then navigate to the episodes screen from hub it works, but when i open the addon and then navigate to the episode screen where there is multiple version it does not work.

I have no problem at all where the episodes don’t have multiple version

Please try 0.7.5-prerelease4: script.plexmod.zip (3.5 MB)

This is working fine (0.7.5-prerelease4), thank you

1 Like

Ok, one more issue is remaining, when opening the episodes screen, in the default episode the playback button focus works, but when I select another episode and want to play the episode by moving to playback buttons, the playback selection/focus does not comes again to playback buttons, as seen in here, it highlight the home screen directly when changing the episode skipping the playback buttons

Does this still happen with 0.7.5-prerelease5? script.plexmod.zip (3.5 MB)

yes, i am testing this with 0.7.5-prerelease5. But previous issue is resolved. Only issue is arising when another episode is selected.

I’ve just posted the version. You can’t possibly have tested that already :smiley:

Oh sorry my bad… Testing…

No it not working…

Nope not fixed, I was able to reproduce. Checking.

Now it should work properly, 0.7.5-prerelease6: script.plexmod.zip (3.5 MB)

3 Likes

Great… this solved the above issue. thank you once again.

Thank you for testing!

That’s up to the PMS. We just display what we receive. Seems Plex Series always relies on TMDB.

3 Likes

I am using 0.7.5-prerelease6 when i go to my movie library and select by last date added. Nothing happens. When i go to another library and then back to my movie library its sorted by last date added.

Is there a way to install this as a persistent repository via SSH? I am running a LibreElec RPi and that would make life much easier than typing with a remote!

When I try to install 0.7.5 prerelease6 upon beta10, it just restarts Kodi (Libreelec). We must uninstall previous beta first?

Use Yatse or Kore

Not sure what you mean? If you add the Don’t Panic repository, that’s persistent, isn’t it?
The zips I post here are just the pre-release test zips.

Any logs?

Is this your first test of 0.7.5? There was a library rewrite two weeks ago in the earlier betas.

Edit: Can reproduce.

@bowlingbeeg the library rewrite broke sorting somehow:

error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'NoneType' object has no attribute 'addedAt'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\panni\Kodi_21\portable_data\addons\script.plexmod\lib\windows\library.py", line 467, in onClick
                                                       self.sortButtonClicked()
                                                     File "C:\Users\panni\Kodi_21\portable_data\addons\script.plexmod\lib\windows\library.py", line 730, in sortButtonClicked
                                                       self.sortShowPanel(choice, forceRefresh)
                                                     File "C:\Users\panni\Kodi_21\portable_data\addons\script.plexmod\lib\windows\library.py", line 756, in sortShowPanel
                                                       self.showPanelControl.sort(lambda i: i.dataSource.addedAt, reverse=self.sortDesc)
                                                     File "C:\Users\panni\Kodi_21\portable_data\addons\script.plexmod\lib\windows\kodigui.py", line 729, in sort
                                                       self.items.sort(key=sort, reverse=reverse)
                                                     File "C:\Users\panni\Kodi_21\portable_data\addons\script.plexmod\lib\windows\library.py", line 756, in <lambda>
                                                       self.showPanelControl.sort(lambda i: i.dataSource.addedAt, reverse=self.sortDesc)
                                                   AttributeError: 'NoneType' object has no attribute 'addedAt'
                                                   -->End of Python script error report<--

I’ll see if I can fix it. Somehow we now have a lot of items in self.showPanelControl that are just empty mli’s

Edit: I’m guessing that’s the case because chunking is now used everywhere, resulting in totalSize amount of empty mli’s

Edit 2: Yeah, setting forceRefresh = True in sortButtonClicked solves this. That’d be a cheap way to fix this. Let me see if I can do one better.

Yes, of course. I just have the Pi elsewhere in the house and has no keyboard. I was hoping I could just do it from my PC remotely so when I went back into that part of the house it would already be there.

Sorry, I don’t know what those are. SSH tools?

What do you need a keyboard for if you have a repository in Kodi? Or are you talking about installing the zip files I post here.