trackma
trackma copied to clipboard
Is this compatible with ani-cli?
Out of the box it doesn't seem to be.. Is it just that I'm doing something wrong?
https://github.com/pystardust/ani-cli
You'll have to use mpv-mpris and mpris tracker.
Sorry, could you elaborate on what mpris tracker is
mpris tracker is the module that tracks your playback using the org.mpris.MediaPlayer2.Player interface.
You also have to hope that the media title is set correctly or the URL is decipherable, otherwise trackma has no chance of guessing what you're currently viewing. At least in the preview gif it seemed to have a lot of gibberish from HTTP GET parameters.
You also have to hope that the media title is set correctly or the URL is decipherable, otherwise trackma has no chance of guessing what you're currently viewing. At least in the preview gif it seemed to have a lot of gibberish from HTTP GET parameters.
is that good enough for trackma to guess?
I doubt it since this kind of mix of spaces and hyphens isn't accounted for in the title matching code, although you may be lucky. Stripping ani-cli:
from the title would certainly improve it, though.
hi there, ani-cli maintainer. in the latest ani-cli release the title has been changed for better compatibility with trackma, an example would look like this in mpv "Akebi Chan No Sailor Fuku Episode 5" additionally, if for some reasons externals trackers don't work for you (for example i use OSX, which doesn't have any good mpv trackers afaik). EDIT: i'm currently working on a trackma wrapper, which works with ani-cli, you can find it here wrapper script
@Merulox
You also need to pip install pydbus
.
Consider my adl script as a possible alternative. @justchokingaround is also interesting.