Skip to content

Added key ("N") to manually trigger notification #8

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wrest64
Copy link

@wrest64 wrest64 commented Feb 8, 2023

This also makes it easy for people running mpv as an IPC-server to manually trigger the notification by calling

echo '{ "command": ["keypress", "N"] }' | socat - /path/to/mpv-socket

Resolves #5

This also makes it easy for people running mpv as an IPC-server to manually trigger the notification by running "echo '{ "command": ["keypress", "N"] }' | socat - /path/to/mpv-socket"
@Parranoh
Copy link
Owner

Thank you for the pull request.

I would like to avoid adding a keybind for users who haven't explicitly specified this. To this end I'd introduce a script option notify_send-key so that one can do --script-opts=notify_send-key=N to get this binding if one wants it.

I can implement this myself if you don't want to, just let me know.

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

Successfully merging this pull request may close these issues.

Manually trigger script?
2 participants