Skip to content

Fix ListItem HH:SS duration.#1

Open
rysson wants to merge 1 commit into
Goldenfreddy0703:masterfrom
rysson:fix_list_item_duration
Open

Fix ListItem HH:SS duration.#1
rysson wants to merge 1 commit into
Goldenfreddy0703:masterfrom
rysson:fix_list_item_duration

Conversation

@rysson
Copy link
Copy Markdown

@rysson rysson commented Sep 4, 2024

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
Copy Markdown
Author

rysson commented Sep 4, 2024

Sorry, something differs. I try to resolve conflict in few days. I have a lot of work now.

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.

1 participant