Skip to content

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