Potential bug on history in ani-cli
Version: 4.14.1 OS: Windows 11
Hello,
Is anyone experiencing a potentially weird bug on their history? My history amount seems to be stuck on just 6 anime and so when I watch anything else past my sixth option, the seventh anime won't log into my history and I am just stuck with the previous 6 anime I am currently trying to watch.
If it is just me experiencing this issue and no one else is having this issue, could I by any chance be told on how to fix it? because I am currently trying to watch new animes whilst catch up on the anime streaming currently this Summer of 2026 and It is quite the hassle to watch the new animes and remember which anime I am currently trying to catch up on the anime streaming this summer as there are multiple of them I am trying to watch. So if anyone has something that can work to fix this, please do let me know thanks!
Steps To Reproduce
- Run
ani-cli -c - View your history
- Exit
- Run 'ani-cli -insert any anime'
- Choose any anime in any episode
- Exit
- Run 'ani-cli -c'
- View your history and check whether you can have more than 6 anime in your watch history
v 4.14.1, EndeavourOS
There might be more to this bug, since for me ani-cli -c misbehaves in a different manner.
It immediately launches the next episode of the first entry in the history, skipping displaying the history entirely.
v 4.14.1, EndeavourOS
There might be more to this bug, since for me
ani-cli -cmisbehaves in a different manner. It immediately launches the next episode of the first entry in the history, skipping displaying the history entirely.
This is a feature! If your history has only one anime that isn't completed, it will immediately pick that one for continuing
This is a feature! If your history has only one anime that isn't completed, it will immediately pick that one for continuing
There should be 5 or 6 shows in my history. This only started happening recently, possibly after I started another show, so there's some faint resemblance to what OP is reporting, but in a different flavor. And it's not even playing that most recent show, but the one that has been on top of the list previously, so there's definitely some buggy behavior going on.
would you be willing to share your history file for easier debugging? that would certainly help
would you be willing to share your history file for easier debugging? that would certainly help
How would you be able to view your history file? I sent a screenshot using the command 'ani-cli -H' and it has shown me this and I am assuming it is not the history but do let me know how to access and send you the history file please, and sorry for the inconvenience and the time for this, thank you!
would you be willing to share your history file for easier debugging? that would certainly help
ani-hsts.txt (renamed to txt because github won't accept files without extension)
As you can see, there are several incomplete entries. When I did ani-cli -c yesterday, it auto-played Maou-jou de Oyasumi episode 6. That was reproducible yesterday.
Today, it lists Maou-jou de Oyasumi as well as One Piece, but not the other entries.
How would you be able to view your history file? I sent a screenshot using the command 'ani-cli -H' and it has shown me this and I am assuming it is not the history but do let me know how to access and send you the history file please, and sorry for the inconvenience and the time for this, thank you!
You're probably just listing shows with an H there. On my system, the file is called 'ani-hsts'. My file path won't help you, since you're on Windows, so you'll have to try searching for it. I hope port19x can clear it up, if you can't find it.
would you be willing to share your history file for easier debugging? that would certainly help
ani-hsts.txt (renamed to txt because github won't accept files without extension) As you can see, there are several incomplete entries. When I did
ani-cli -cyesterday, it auto-played Maou-jou de Oyasumi episode 6. That was reproducible yesterday. Today, it lists Maou-jou de Oyasumi as well as One Piece, but not the other entries.
Thank you
How would you be able to view your history file? I sent a screenshot using the command 'ani-cli -H' and it has shown me this and I am assuming it is not the history but do let me know how to access and send you the history file please, and sorry for the inconvenience and the time for this, thank you!
You're probably just listing shows with an H there. On my system, the file is called 'ani-hsts'. My file path won't help you, since you're on Windows, so you'll have to try searching for it. I hope port19x can clear it up, if you can't find it.
Yeah, that's all good. I probably am doing shows with the letter 'H' in the title but as far as I'm concerned, I'm just waiting on any of the people that owns/manages/maintains the ani-cli code itself to respond/work on this bug. I don't mind waiting, please take your time fixing on this bug, I've resorted to using sticky notes to keep track on all animes for now but it's annoying and a hassle to do whereas, ani-cli itself can just log into my history of all animes I've ever watched and all I have to do is just type in ani-cli -c and every anime I wasn't done watching and animes currently streaming this season has updated, all show up in the same cli. Man I really miss the times where I didn't need to do all this sticky notes stuff. I hope this (potential) bug gets fixed soon!.
$ ./ani-cli --version
4.15.0
$ cat ~/.local/state/ani-cli/ani-hsts
52 yLCKvGbhA6buygXad Fullmetal Alchemist: Brotherhood (64 episodes)
48 yquCdfW4DjcS533oR Dragon Ball (153 episodes)
3 KvBvdrsppnuMqGRcN Dorohedoro Season 2 (11 episodes)
1 aBbzyo4QBuRxYZBya Fukumenkei Noise (12 episodes)
$ ./ani-cli -c -q 480 -v --dub
shows all as (up to date)
We introduced a breaking change regarding the history file format for v5. So for better or worse, this issue is resolved