Skip to content

Commit

Permalink
feat: add reload all action
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed Jun 13, 2022
1 parent 9124322 commit 8861b73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gridplayer/player/managers/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,11 @@
"show_if": "is_active_multistream",
"menu_generator": "menu_generator_stream_quality",
},
"Reload All": {
"title": "Reload All",
"key": "Shift+F5",
"func": "reload_all",
},
}
)

Expand Down
1 change: 1 addition & 0 deletions gridplayer/player/managers/video_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def commands(self):
"is_videos": lambda: bool(self._ctx.video_blocks),
"is_seek_synced": lambda: self._ctx.is_seek_synced,
"switch_seek_synced": self.switch_seek_synced,
"reload_all": self.reload_videos,
}

def cmd_play_pause_all(self):
Expand Down

0 comments on commit 8861b73

Please sign in to comment.