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

[Discord RPC Hook] Add "View Anime", cover image and also track ignored episodes #641

Closed sitiom closed 1 year ago

sitiom commented 1 year ago

Closes #640 Resolves https://github.com/z411/trackma/issues/640#issuecomment-1263006607

It looks like this: image

Disclaimer: I don't code in Python. So if I did something wrong, pointers are welcome.

ahmubashshir commented 1 year ago

On Sat, Oct 1 2022 at 02:16:49 AM -07:00:00, sitiom @.***> wrote:

"View %s" % engine.api_info['mediatype'] would do, something like View TV or just TV seems weird for show['type'].

This'd show "View anime" / "View manga" or other supported types of api...

Mubashshir
sitiom commented 1 year ago

On Sat, Oct 1 2022 at 02:16:49 AM -07:00:00, sitiom @.***> wrote:

"View %s" % engine.api_info['mediatype'] would do, something like View TV or just TV seems weird for show['type'].

This'd show "View anime" / "View manga" or other supported types of api...

Mubashshir

Yep, thats good enough

z411 commented 1 year ago

Cool stuff. Thank you.