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

youtube-search: ctrl+i breaks searching. #12

Closed
MintMain21 opened this issue Dec 18, 2021 · 2 comments
Closed

youtube-search: ctrl+i breaks searching. #12

MintMain21 opened this issue Dec 18, 2021 · 2 comments
Labels
bug Something isn't working youtube-search

Comments

@MintMain21
Copy link

Another MPV Plugin (Youtube+Download) uses the crtl+i command (by default) for downloading videos with subtitles embedded. While testing this command for conflicts, I found it summoned the search bar for youtube-search, which is weird because the default command for that (and likewise how I have it set) is ctrl+y. I tried ctrl+y, and it wouldn't summon the search bar. Tried ctrl+i again, and nothing happened. Tried shift+y twice, nothing happened. Closed MPV and restarted it, and shift+y and ctrl+y worked as intended, but using ctrl+i again would summon the search bar randomly, and break the plugin as previously detailed until I refreshed MPV. Likewise, if I use ctr+i before using any other youtube-search commands, no Search Bar will appear, but the ctrl+y command will be broken anyway.

tldr: using the ctrl+i keyboard command breaks the plugin and makes it impossible to use the search functionality without closing the session and starting a new one.

Looking at the plugin's code, nowhere is Ctrl+i ever mentioned, which makes this even weirder.

@CogentRedTester
Copy link
Owner

CogentRedTester commented Dec 18, 2021

I believe it is caused by mpv-user-input. I have updated user-input.lua in this commit, so download the latest version of the file and see if it is now working.

@MintMain21
Copy link
Author

That fixed it.

@CogentRedTester CogentRedTester added the bug Something isn't working label Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working youtube-search
Projects
None yet
Development

No branches or pull requests

2 participants