Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ListItem HH:SS duration. #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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