Skip to content

feat: add episode progress tracking, resume playback, and last-watched reminder#1713

Open
VVAT3R wants to merge 2 commits into
pystardust:masterfrom
VVAT3R:feat/progress-tracking
Open

feat: add episode progress tracking, resume playback, and last-watched reminder#1713
VVAT3R wants to merge 2 commits into
pystardust:masterfrom
VVAT3R:feat/progress-tracking

Conversation

@VVAT3R
Copy link
Copy Markdown

@VVAT3R VVAT3R commented May 9, 2026

Adds per-episode progress tracking with three features:

1. Visual highlight in episode picker

  • Watched/started episodes show a ▶ marker in the episode list (fzf/rofi/dmenu)
  • Data stored in $hist_dir/ani-progress (format: id\tep_no\tposition)

2. Position-based resume (mpv)

  • Uses mpv's --save-position-on-quit to capture playback position
  • Passes --start=<pos> on next play to resume where you left off
  • Blocking mode (--no-detach) saves exact position; detached mode saves a watched marker

3. Last-watched reminder

  • On startup, shows: You were watching: <title> - episode <ep>
  • Reads from existing history file (ani-hsts)

Implementation details:

  • New file: $hist_dir/ani-progress
  • Modified episodes_list display to cross-reference progress data
  • Modified mpv launch to include --start, --save-position-on-quit, and --watch-later-dir
  • Post-playback position capture for blocking mode
  • Startup message reads last history entry

@VVAT3R VVAT3R requested a review from Derisis13 as a code owner May 9, 2026 17:50
@VVAT3R VVAT3R changed the title feat: add episode progress tracking with visual highlights and resume feat: add episode progress tracking, resume playback, and last-watched reminder May 9, 2026
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