Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this compatible with ani-cli? #600

Open
Merulox opened this issue Feb 5, 2022 · 10 comments
Open

Is this compatible with ani-cli? #600

Merulox opened this issue Feb 5, 2022 · 10 comments

Comments

@Merulox
Copy link

Merulox commented Feb 5, 2022

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

@ahmubashshir
Copy link
Contributor

You'll have to use mpv-mpris and mpris tracker.

@Merulox
Copy link
Author

Merulox commented Feb 6, 2022

Sorry, could you elaborate on what mpris tracker is

@ahmubashshir
Copy link
Contributor

ahmubashshir commented Feb 7, 2022

MPRIS Arch wiki entry.

XDG Specification

mpris tracker is the module that tracks your playback using the org.mpris.MediaPlayer2.Player interface.

@FichteFoll
Copy link
Collaborator

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.

@Merulox
Copy link
Author

Merulox commented Feb 13, 2022

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.

image

is that good enough for trackma to guess?

@FichteFoll
Copy link
Collaborator

FichteFoll commented Feb 14, 2022

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.

@justchokingaround
Copy link

justchokingaround commented Apr 6, 2022

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

@justchokingaround
Copy link

@Merulox

@imsamuka
Copy link
Contributor

You also need to pip install pydbus.

@RaitaroH
Copy link

RaitaroH commented Dec 9, 2022

Consider my adl script as a possible alternative.
@justchokingaround is also interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants