z411 / trackma

Open multi-site list manager for Unix-like systems. (ex-wMAL)
https://z411.github.io/trackma
GNU General Public License v3.0
775 stars 81 forks source link

Indicate when you are behind watching an ongoing anime [feature request] #659

Open RaitaroH opened 1 year ago

RaitaroH commented 1 year ago

At the moment anilist has a calendar view where I can see what shows I am behind on: image

It would be really nice to have some indicators of this information in trackma. I suppose an easy way of doing it is just to color the titles diffrently like so: image

A more complicated calendar view can be found in justfoolingaround/animdl, if this is useful.

I am particularly interested in this for the cli variant of trackma.

Note: to produce the img, I have sent the trackma -a 1 list output to a file, changed 0;34m to 0;31m to be red and took a screenshot.

z411 commented 1 year ago

I also like this feature of Anilist. It'd be worth implementing.

z411 commented 1 year ago

Implemented it in the latest commit, see if it works.

image

It needs to be done for the rest of the CLIs, but the logic is very easy as the function to get the number of aired episodes is already there.

EDIT: SpyxFamily is wrong since it thinks it's the first season. Got to fix that as well.

RaitaroH commented 1 year ago

@z411 I can confirm the latest commit works (pip). Thank you for the quick implementation.