Skip to content

Commit

Permalink
Fix incorrect duration display in Kodi 18 and Kodi 19
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Nov 16, 2024
1 parent 979806b commit 97951af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def set_info(list_item, item, properties, set_play_count=True, resume=True):
list_item.addStreamInfo(info_type, {'duration': duration})

if duration is not None:
info_labels['duration'] = value
info_labels['duration'] = duration

elif isinstance(item, DirectoryItem):
info_type = 'video'
Expand Down

0 comments on commit 97951af

Please sign in to comment.