馃悰 Kodi not showing progress indicators for video add-on widgets using PercentPlayed because value is always 0 #25204
Labels
Triage: Needed
(managed by bot!) issue that was just created and needs someone looking at it
Bug report
Describe the bug
Players that use setresolvedurl inside Kodi aren't showing progress indicators when set up as widgets on the Home Screen.
Once you're inside the add-on, the progress indicators show up just fine in the Add-On/Library view.
Plugins (like ones that use Trakt sync lists) that set the 'WatchedProgress' property don't have this issue.
The PercentPlayed value is always 0 in the widget for a plugin despite being exactly the same content when opened as a view container.
So there appears to be some bug in Kodi not properly setting PercentPlayed value for plugin widgets because otherwise resume point would be visible for YouTube widgets that are resumable since I know for certain youtube uses setresolvedurl
The option to resume shows up in the context menu of the item, but it doesn't have the progress indicator.
This seems more of a cosmetic glitch.
Expected Behavior
Progress indicator visible in all plugin widgets
Actual Behavior
Add any video-add on widget that uses setresolvedurl (eg. YouTube) to the Home Screen and you'll notice the missing progress indicator.
Possible Fix
Fixing the way PercentPlayed value is set in the widgets
To Reproduce
Steps to reproduce the behavior:
Make a home screen widget with a plugin that uses setresolvedurl (eg. YouTube)
Progress Indicators are missing
NOTE: Context menu with resume point might work with some add-ons.
Debuglog
The debuglog can be found here: https://paste.kodi.tv/larafagoka.kodi
Screenshots
Home Screen - No Progress Indicator
Library View - Progress indicator visible inside the folder
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
Android
iOS
tvOS
Linux
macOS
Windows
Windows UWP
webOS
Operating system version/name: webOS 23
Kodi version: 21 Omega (nightly build)
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
The text was updated successfully, but these errors were encountered: