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

Most recent version causes MPV.net to lose focus #51

Open
BlepBlep opened this issue Jan 31, 2024 · 0 comments
Open

Most recent version causes MPV.net to lose focus #51

BlepBlep opened this issue Jan 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BlepBlep
Copy link

Description of the bug
The script "opens" and closes after opening a video, which causes MPV to lose focus. This does not happen with the previous version of the script (v0.5.2)

To Reproduce
Steps to reproduce the behavior:

  1. Put scripts into scripts folder
  2. Open video file with MPV.net
  3. MPV.net opens, but immediately loses focus from script running

Expected behavior
In the previous version of the script (v0.5.2), the MPV.net window does not lose focus.

Environment

  • OS: Windows 11
  • mpv version: MPV.net v6.0.4.0-stable
  • mpv_thumbnail_script version: v0.5.3
  • other scripts or special config that might be relevant: No other scripts running

Additional context
This script doesn't currently work with MPV.net 7.1.0.0 but the same issue happens where the window loses focus. I have noticed that when running just normal MPV it runs the scripts before opening, so it might have something to do with MPV.exe needing to be run after MPVnet.exe is started. Regardless, this issue wasn't present on the previous version of this script with MPV.net, so I think it's worth looking in to. I'm not too code-savvy so I'm not that good at figuring out exactly what's wrong so I apologize for that.

@BlepBlep BlepBlep added the bug Something isn't working label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant