Skip to content

Conversation

@rysson
Copy link

@rysson rysson commented Jan 21, 2023

Some addons sets a duration as [HH:]MM:SS but the Kodi requests an integer in ListItem.setInfo("duration": seconds).

The fix converts [HH:]MM:SS format to the seconds number.

Some addons sets a duration as [HH:]MM:SS but the Kodi requests an
integer in `ListItem.setInfo("duration": seconds)`.

The fix converts [HH:]MM:SS format to the seconds number.
@rysson
Copy link
Author

rysson commented Jan 21, 2023

@drinfernoo, wait a moment, I need make more tests.

@rysson
Copy link
Author

rysson commented Jan 21, 2023

OK, it seems to work.

@rahaaatul
Copy link

You may want to pull request here: https://github.com/Goldenfreddy0703/plugin.program.autowidget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants