From 6c94dd22fc863cbc3084210d806c23f0623377e0 Mon Sep 17 00:00:00 2001 From: Alpha <43486986+sudoAlphaX@users.noreply.github.com> Date: Sun, 23 Feb 2025 16:48:53 +0530 Subject: [PATCH] refactor: just move next episode to the top When watching episodes, it makes sense to go to the next episode after completing the current one. Currently, when an episode is completed, replay button appears first in media_player_controls menu. This patch just moves replay button below such that the next episode button takes priority, and the user can watch the next episode with a single key press () which is less immersion breaking that ( ). --- fastanime/cli/interfaces/anilist_interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastanime/cli/interfaces/anilist_interfaces.py b/fastanime/cli/interfaces/anilist_interfaces.py index d27cb4b..756cafb 100644 --- a/fastanime/cli/interfaces/anilist_interfaces.py +++ b/fastanime/cli/interfaces/anilist_interfaces.py @@ -329,8 +329,8 @@ def media_player_controls( icons = config.icons options = { - f"{'🔂 ' if icons else ''}Replay": _replay, f"{'⏭ ' if icons else ''}Next Episode": _next_episode, + f"{'🔂 ' if icons else ''}Replay": _replay, f"{'⏮ ' if icons else ''}Previous Episode": _previous_episode, f"{'🗃️ ' if icons else ''}Episodes": _episodes, f"{'📀 ' if icons else ''}Change Quality": _change_quality,