pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.34k stars 530 forks source link

feat: allow -c to continue from dub #1372

Open ykhan21 opened 2 weeks ago

ykhan21 commented 2 weeks ago

Pull Request Template

Type of change

Description

This is a POC for #1371. It adds a sub/dub column in the history file so -c knows whether to continue subbed or dubbed. It is not thoroughly tested. It should work with old history files (without the sub/dub column). The current behavior (in this PR) is so that if you switch between subbed and dubbed, the history file should reflect the latest switch. If we want to track subbed and dubbed separately, a change can be added to allow for that.

Checklist

Additional Testcases