-
Notifications
You must be signed in to change notification settings - Fork 23
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
mpv config: window is forced even when running mpv in terminal #86
Comments
This is a bit beyond me. You're trying to set default actions for both bl-mpv and plain mpv? Shouldn't we just support one or the other, or are you trying to go the extra mile here? |
Trying to avoid bl-mpv's settings spilling over into regular mpv calls. This one's for @2ion I guess. |
What's the problem? Do you get a black window when playing audio
streams? Video streams *should* have a window…
The reason why I do immediate window mapping in mpv (personal
preference, too) is that when you launch mpv on an URL (for example
https://youtube.com/*) and then switch (virtual) desktops, the window
will map on the current desktop/screen and not the desktop/screen you
were on when you launched mpv.
|
The problem is that if I want to listen to an audio stream in the terminal, controlling mpv from the terminal, ie It adds nothing to the functionality I already had, and I think users who want to enforce a pseudo-gui window for audio should invoke Of course video streams will open new windows anyway, and I can see the value of |
Suggested workaround in this PR: #88 |
#88 seemed to do the job. |
When running plain
mpv <uri>
(notbl-mpv
) in a terminal, if the uri points to http or https then an unwanted pseudo-gui window is opened. This is because our /etc/mpv/mpv.conf invokes an auto profile:This applies both to bl-mpv ( invoked with [pseudo-gui] or [audio-only] ) and mpv.
I think it would be desirable to insulate mpv from configurations for bl-mpv as far as possible, giving users something close to the vanilla mpv settings.
I disabled the window in my personal ~/.config/mpv/mpv.conf with:
but this disables the presumably desirable
force-window=immediate
also when running bl-mpv.Is there some way to apply [protocol-http] only when running as bl-mpv (or if a user has specifically enabled it)?
I notice there is support for lua scripting, and a script exists to conditionally apply profiles: https://github.com/wm4/mpv-scripts/blob/master/auto-profiles.lua
I don't know if that could be used, or something simpler written?
The text was updated successfully, but these errors were encountered: