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

TOOLS/umpv: add optional argument --socket-file to umpv #10001

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

invokah
Copy link

@invokah invokah commented Mar 21, 2022

using argparse, add an optional argument to specify the socket file
used by the umpv script. Adding this feature can allow things such as
keeping a music playlist and video playlist separate, while retaining
the features of umpv, namely on-the-fly playlist appending. One could
bind a program (web browser, file manager, etc.) to open only to a
specified instance of mpv, and the uniqueness provided by the script can
be used to provide some rudimentary separation of content. Music and
video being separated are one hypothetical, but another is a playlist
of television content and youtube content. If you want to watch a
youtube video in the middle of a playlist, you can open to a "youtube"
instance of mpv (launched with umpv) and simply pause your television
content, without disrupting your playlist position.

using argparse, added an optional argument to specify the socket file
used by the umpv script.  Adding this feature can allow things such as
keeping a music playlist and video playlist separate, while retaining the features
of umpv, namely on-the-fly playlist appending.  One could bind a program (web browser, file
manager, etc.) to open only to a specified instance of mpv, and the uniqueness provided
by the script can be used to provide some rudimentary separation of content.  Music and
video being separated are one hypothetical, but another is a playlist of television content
and youtube content.  If you want to watch a youtube video in the middle of a playlist, you can
open to a "youtube" instance of mpv (launched with umpv) and simply pause your television
content, without disrupting your playlist position.
@invokah invokah changed the title Add optional argument --socket-file to umpv tools/umpv: Add optional argument --socket-file to umpv Mar 21, 2022
@invokah invokah changed the title tools/umpv: Add optional argument --socket-file to umpv tools/umpv: add optional argument --socket-file to umpv Mar 21, 2022
@invokah invokah changed the title tools/umpv: add optional argument --socket-file to umpv Tools/umpv: add optional argument --socket-file to umpv Mar 21, 2022
@invokah invokah changed the title Tools/umpv: add optional argument --socket-file to umpv TOOLS/umpv: add optional argument --socket-file to umpv Mar 21, 2022
"--player-operation-mode" removed as option in favor of previous "--no-terminal"
@Dudemanguy
Copy link
Member

Giving umpv the ability to open multiple windows is kind of funny but I suppose it doesn't hurt. Needs a rebase, a squash and the commit message fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants