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

True. Has that changed with that beta? It might’ve always been this way. In any case, it’s counter intuitive and I’ll change that.

Not yet, no. I rarely let a movie play out fully, though. Never till the last second. I’ll try and reproduce this. Got any logs to share via DM?

Do you really mean the home menu or the movie view? So you exit the movie view after watching, get back to home, and it hangs?

Edit: can’t reproduce on SHIELD

No exit. Need to let it play through without touching or giving any input. Will get logs tonight.

You talked about home hanging. So clearly there’s an exit event at least from the movie view after watching?

Not sure if it has changed with the beta but yeah, it should be changed to not exit and go back to the previous option.

Just to be clear, I’m talking about skipping video on Coreelec using an Odroid N2.(Ng Kodi21) and on a generic S905x4 running NE Kodi 21 Both are using beta 6.2.

I do get a short time after the seek when there’s video but audio and the delay seems longer if I’ve done multiple right arrow presses on the remote. It is a bit of an issue for multiple presses.

I’d have replied earlier but I’ve been away and stuck with a dreaded fire stick.

Interesting, so this might be a generic CoreELEC issue @bowlingbeeg

I think it is generic @bowlingbeeg and @panni. I’ve just tried it on the latest New Order Kodi 22 on a Beelink GT King. Delays are there but not every time. I’m not using passthrough in audio settings as I’m only in stereo if this has any relevance. Output has been either via USB or optical to dac.

Hope this helps

Maybe we should give you a version with the workaround and you could try it out. Just to make sure it’s the same issue.

I’d be happy to try it on the 3 versions I have.

PM sent. Thanks for testing.

First time commenting, started using this add-on a few weeks back and our house loves it. Thanks so much panni and contributors! Watch Together is our main missing feature, but glad that’s been mentioned here as something to be hopefully added.

One question I had was is there a way to disable showing Skip Intro / Skip Credits at the user level that I’m not aware of? I want the option for other users, but I personally don’t want the UI popping up and never use the feature.

Also, I tried the beta7.1. The multi-settings worked fine for me! Was able to add/remove the subtitle option easily enough. Thanks!

1 Like

Will be in one of the next betas, thanks for the suggestion!

1 Like

Captured a log file of the freezing/hanging event.

This happens for me on film libraries (not TV) - PM4K will lock up for several minutes at a time if I let the movie run out the time on its own to 0:00. When the movie finishes, PM4K then tries to load the UI again, but freezes for several minutes, no inputs are accepted during this time.

01_KODI.log (4.6 MB)

Starts here:

2024-06-25 13:44:24.447 T:23271 info <general>: CVideoPlayer::OnExit()

It then takes roughly 4 minutes to do the following:

2024-06-25 13:44:25.377 T:13254    info <general>: script.plex: SeekHandler: Showing post-play
2024-06-25 13:44:25.382 T:13254    info <general>: script.plex: SeekDialog: Closing
2024-06-25 13:44:25.702 T:13254    info <general>: script.plex: VideoPlayer: Starting post-play
2024-06-25 13:44:25.702 T:13254    info <general>: script.plex: API: GET https://192-168-4-21.0ea8e66afe034a52b8064484ae0ea8b6.plex.direct:32400/hubs/metadata/67210/postplay?X-Plex-Token=****
2024-06-25 13:44:26.204 T:13183    info <general>: Loading skin file: /storage/.kodi/addons/script.plexmod/resources/skins/Main/1080i/script-plex-busy.xml, load type: LOAD_ON_GUI_INIT
2024-06-25 13:46:01.862 T:13183    info <general>: Samba is idle. Closing the remaining connections
2024-06-25 13:46:47.703 T:13297    info <general>: script.plex: Section is stale: 11 REFRESHING - update: True, failed before: False
2024-06-25 13:46:47.844 T:23608    info <general>: script.plex: BGThreader: (queue.0:worker.0): Active
2024-06-25 13:46:47.845 T:23608    info <general>: script.plex: API: GET https://192-168-4-21.0ea8e66afe034a52b8064484ae0ea8b6.plex.direct:32400/hubs/sections/11?count=10&includeMarkers=1&X-Plex-Token=****
2024-06-25 13:46:48.370 T:23608    info <general>: script.plex: Showing hubs - Section: 11 - Update: True
2024-06-25 13:46:48.370 T:23608    info <general>: script.plex: HUB: movie.inprogress.11 [movie.inprogress](10, None)
2024-06-25 13:46:48.386 T:23608    info <general>: script.plex: HUB: movie.recentlyreleased.11 [movie.recentlyreleased](10, None)
2024-06-25 13:46:48.428 T:23608    info <general>: script.plex: HUB: movie.recentlyadded.11 [movie.recentlyadded](10, None)
2024-06-25 13:46:48.430 T:23608    info <general>: script.plex: HUB: movie.topunwatched.11 [movie.topunwatched](10, None)
2024-06-25 13:46:48.431 T:23608    info <general>: script.plex: HUB: movie.recentlyviewed.11 [movie.recentlyviewed](10, None)
2024-06-25 13:46:48.433 T:23608    info <general>: script.plex: BGThreader (queue.0:worker.0): Idle
2024-06-25 13:47:29.921 T:13183    info <general>: ADDON: Dll Destroyed - Asteroids
2024-06-25 13:48:11.564 T:13183    info <general>: Activate of window '10000' refused because there are active modal dialogs
2024-06-25 13:48:12.453 T:13254    info <general>: script.plex: PostPlay: Showing video info
2024-06-25 13:48:12.453 T:13254    info <general>: script.plex: API: GET https://192-168-4-21.0ea8e66afe034a52b8064484ae0ea8b6.plex.direct:32400/library/metadata/67210/similar?count=36&X-Plex-Token=****&X-Plex-Container-Start=0&X-Plex-Container-Size=8
2024-06-25 13:48:14.069 T:13254    info <general>: script.plex: Monitor: OnScreensaverActivated
2024-06-25 13:48:14.069 T:13254    info <general>: script.plex: Notification: xbmc GUI.OnScreensaverActivated null
2024-06-25 13:48:14.069 T:13254    info <general>: script.plex: Monitor: OnScreensaverDeactivated
2024-06-25 13:48:14.069 T:13254    info <general>: script.plex: Refreshing last section after wake events
2024-06-25 13:48:14.073 T:13254    info <general>: script.plex: Section is stale: 11 REFRESHING - update: False, failed before: False
2024-06-25 13:48:14.123 T:23690    info <general>: script.plex: BGThreader: (queue.0:worker.0): Active
2024-06-25 13:48:14.123 T:23690    info <general>: script.plex: API: GET https://192-168-4-21.0ea8e66afe034a52b8064484ae0ea8b6.plex.direct:32400/hubs/sections/11?count=10&includeMarkers=1&X-Plex-Token=****
2024-06-25 13:48:14.129 T:13254    info <general>: script.plex: Wake event, resuming updates
2024-06-25 13:48:14.129 T:13254    info <general>: script.plex: Notification: xbmc GUI.OnScreensaverDeactivated {"shuttingdown":false}
2024-06-25 13:48:14.176 T:23690    info <general>: script.plex: Showing hubs - Section: 11 - Update: False
2024-06-25 13:48:14.176 T:23690    info <general>: script.plex: HUB: movie.inprogress.11 [movie.inprogress](10, None)
2024-06-25 13:48:14.503 T:23690    info <general>: script.plex: HUB: movie.recentlyreleased.11 [movie.recentlyreleased](10, None)
2024-06-25 13:48:14.507 T:23690    info <general>: script.plex: HUB: movie.recentlyadded.11 [movie.recentlyadded](10, None)
2024-06-25 13:48:14.518 T:23690    info <general>: script.plex: HUB: movie.topunwatched.11 [movie.topunwatched](10, None)
2024-06-25 13:48:14.561 T:23690    info <general>: script.plex: HUB: movie.recentlyviewed.11 [movie.recentlyviewed](10, None)
2024-06-25 13:48:14.565 T:23690    info <general>: script.plex: BGThreader (queue.0:worker.0): Idle

and return to the below screen after the hang or freeze is complete:

Hmm. That’s not easy to debug. Could you open up a Github ticket so we can dive in deeper?

1 Like

Guys, I need your opinion.

I’ve widened the existing “player theme” support to cover all interfaces, not just the video player/seekdialog. So every view with playback related buttons now adheres to the theme setting starting with the next beta.

For episodes I’m on the fence:

With background (same color/opacity as the navigation background in the video player):

With light background:

Without background:

Without background, basic button size is the same as with the classic buttons:

Without background, classic size, smaller itemgap:

I’m leaning towards the last one, or the “With light background” one. All other views don’t have an issue here, because they’ve got a different layout, so the more floating buttons don’t visually “disturb”, for example the movie view:


Here it doesn’t really matter that the icons are “floaty”, as they align well with the rest of the view.

Of course, this currently means that once you select any of the “modern” themes, the whole interface will change.

Pinging The Squad™: @sonofdibnah @ecsjjgg @jamal2367 @THGhost @bowlingbeeg @Buttzy10169 @SmarthyMcFly @pl37919

  • With dark background
  • With light background
  • Without background
  • Without background (classic size)
  • Without background (classic size, smaller gap)
0 voters

Keep in mind about the dark background: It looks good in this TV series, but very out of place in others (as it’s the only distinct black-backgrounded element in any view, anywhere, except for the player UIs)

2 Likes

Oh god, I just had the simplest idea on how to support more dynamic theming. Testing first with the black background for episodes.

Edit: Yeah. We’ll have an actually semi-dynamic XML theme compiler engine based on ibis (django/jinja2-like, but very lean; I’ve already fully backported it to work with Python 2.7 (Kodi 18)), which will dynamically compile the static XML files Kodi uses to render PM4K based on a theme we can define.

Template inheritance and includes are also possible with this, though, in the first version, this will be a very simple implementation.

This’ll enable us to massively declutter and reduce the amount of duplicated XML.

I already have a version with the old theming method running (you can see the result in the screenshots above), but I’ll rewrite that attempt completely based on the new theme engine (a lot of work). The vote obviously still counts, but this enables us to actually enable you to fine-tune themes (such as: button sizes, do we want a button background in the case above, etc.).

@bowlingbeeg this might be a game changer :slight_smile:

6 Likes

Low priority request: Is it possible to add “Bitrate” into the sort settings?

Similar to the official client here:

“Randomly” would be awesome too. Kind of like a shuffle that you can pick from.

1 Like

Hi, could you please tell me how I can add these options (ratings IMDb, pop-coron %, and flag HDR and DV) I need to add in my plex server?

Regards.

1 Like

Kometa can help add those. It’s very customizable so you can pick and choose exactly what elements you want displayed, and where.

1 Like