Skip to content

Commit

Permalink
Timeshift improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
f-lawe committed Jul 5, 2024
1 parent 7f28f7d commit 9ec6031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lib/utils/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def create_video_item(stream_info: dict) -> ListItem:
list_item.setMimeType(stream_info["mime_type"])
list_item.setContentLookup(False)
list_item.setProperty("inputstream", "inputstream.adaptive")
list_item.setProperty("inputstream.adaptive.play_timeshift_buffer", "true")
list_item.setProperty("inputstream.adaptive.manifest_config", '{"timeshift_bufferlimit":14400}')
list_item.setProperty("inputstream.adaptive.license_type", stream_info["license_type"])
list_item.setProperty("inputstream.adaptive.license_key", stream_info["license_key"])

Expand Down

0 comments on commit 9ec6031

Please sign in to comment.