z411 / trackma

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

New 'Next episode column' in GTK and for MAL (Qt and GTK) + miscellaneous code refactor #722

Open BigBoyBarney opened 6 months ago

BigBoyBarney commented 6 months ago

I now realise this probably should have been a few different PRs instead of one.

Changelist

Screenshots are at the bottom

GTK

UI

Code

Qt

UI

Code

Other

Screenshots GTK

Default Default

Next episode sorting down (Anilist) Next episode sorting down

Next episode sorting up (Anilist) Next episode sorting up

MAL Support image

Context menu Anilist Context menu Anilist

Context menu MAL Context menu MAL

Screenshots Qt

Anilist image

MAL image

BigBoyBarney commented 5 months ago

Added MAL support, with all of their information. Kitsu provides no information and Shikimori is dead. 'Next episode' functionality can be considered complete at this point IMO. Updated the OP with Qt images.

The poetry update consists mostly of minor version changes, the only difference being urllib3, but I don't think this is an issue for Trackma, as only barebones urllib functionality is being used.

The other major change is obviously python 3.8 → 3.10, but I think this shouldn't be an issue either.


Could someone take a look? I promise the code is readable and well commented, so it shouldn't take too long. The GTK version is well tested, but Qt should be stable as well. @z411

v-fox commented 3 months ago

Doesn't apply cleanly to master due to some extraneous changes but easy to clean up by hand. Absolutely essential feature, especially now that Qt5 is obsoleted but PyQt6 port is stalled. But I wish it would show hours too.