echo 9 > last-episode mpv s01e09.mkv
mpv tvshow/season1
Now use Shift+Q to exit. The next time you run mpv tvshow/season1, it will resume from where you left.