Open port19x opened 4 weeks ago
I don't get how this is supposed to be used. Mind expanding on this
nvm, a second late realisation hits hard. we can certainly do this but as with most ani-cli features, we will need to properly inform of its existence. doubt anyone lurks around random code to find available feat.
looks like this is also available for mac os
what do u think should trigger this? any type of invocation(download, debug links) or just playback?
Good question. I believe just playback is enough
i'd prefer a builtin flag for a journalctl
and log
wrapper . smth like this
-l | --logview)
case "$(uname -s)" in
Darwin*) log show --predicate 'eventMessage contains "ani-cli"' --info ;;
Linux*) journalctl -t ani-cli ;;
esac
exit 0
;;
That would really round off the feature, yes. This should then make it into the help text and man page as well
i have the basic structure ready, i can start off after merging #1366
i'm highly in favor of this
Is your feature request related to a problem? Please describe.
Some people don't yet use a plattform like anilist to track their anime. Assuming users don't distrohop all the time, having info in the systemd log could be useful.
Describe the solution you'd like
We can extend our player mechanics to do a
logger -t ani-cli $NAMEofEP
before playback. The tagani-cli
means users can then review viajournalctl -t ani-cli
An opt-out environment variable would also be a good idea.Describe alternatives you've considered
We could also just not
Additional context
logger
is part of util-linux