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
Bind pipe-viewer to the initial desktop? #154
Comments
@sun95n thanks for the suggestion, I tried setting the following in my pipe-viewer config file:
But now the mpv window does not play any sound. This is weird since both I also checked and the player is unmuted and the volume is set to a decent level, so it didn't just inherit parameters from some past instance (not that I think it should). |
Yes that's because umpv is a python script (not a player). So you don't need to modify |
@sun95n still no sound:
The |
Hi. Maybe you are forgetting something. These are my settings:
|
UPDATE: You need to pass the URL to mpv if you don't want to have problems with the |
@sun95n with your settings it just won't play past the first video. ( Output from pipe-viewer:
diff between my old config and the changes you proposed: 100,101c100,101
< video_player_selected => "mpv",
< video_players => {
---
> video_player_selected => "mpv",
> video_players => {
103c103
< arg => "--force-media-title=*TITLE* --no-ytdl *VIDEO*",
---
> arg => "--really-quiet --force-media-title=*TITLE* --no-terminal *URL*",
105,109c105,108
< cmd => "mpv",
< fs => "--fullscreen",
< novideo => "--no-video",
< srt => "--sub-file=*SUB*",
< },
---
> cmd => "/usr/bin/umpv",
> fs => "--fullscreen",
> srt => "--sub-file=*SUB*",
> }, |
Your output points to umpv failing to recognize the
If it fails again check that it is not a problem with umpv script or mpv otherwise this will not work in your case although for me the previous configuration and this one did. |
It plays, but the window does not remain in place, and after the video is over re-spawns in the focused desktop and not in place of the original window, here's the output from
|
I assume you mean mpv (video window) right? Then review the options that deal with this behavior: Although if you mean the window generated by the GTK version of pipe-viewer then you should consider it a bug and report it. I can't deal with it because I don't work as a developer of this project. Sorry. |
So if I start playing a series of videos, once a video finishes and a new one starts, I get am
mpv
window popping up in whatever desctop is focused. Can I make it just use whatever desktop it was started on, i.e. start subsequent mpv windows in place of the original one?The text was updated successfully, but these errors were encountered: