Closed McUberStein closed 2 years ago
Hey, it seems that ani-cli uses mpv under the hood. Have you tried using https://github.com/hoyon/mpv-mpris? It might just do the trick.
An automatic mpv integration would unfortunately be difficult, as mpv does not offer any kind of API by default. There is an JSON IPC, but it needs to be manually enabled anyway.
Tried MPRIS. Unfortunately it didn't work. I made sure that the plugin was in fact working, by using playerctl, and I could control mpv with it just fine.
I think I might just get it to work by downloading individual episodes and watching those. It's worth a try at least.
Didn't seem to work unfortunately
Ok, I think I got it. The problem was, that the first letter in the name of the downloaded episode wasn't capitalized. So if there was a way to change what ani-cli names the episodes, it could theoretically work, but I'm very new to Linux and I have absolutely no idea what I'm doing.
@pystardust hopefully you can try to do something regarding this, it'll be such a great qol feature
It seems like it should be working with b8b87f40f9b27eede1caa9d67e1467a6e9ad651c now (given that you have mpv-mpris installed as well). Please check the git version if you can, or otherwise this change will be included in the next Tundra release (probably around march-april, as I'm waiting for Gnome 42 Flatpak SDK to be released).
Can confirm, git version does scrobble ani-cli episodes. Thanks!
It'd be great if Tundra supported ani-cli. Right now the anime I'm watching doesn't even show up on Tundra.