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

Cannot pass argument to mpv 0.25.0 using "open -a mpv --args" anymore #4354

Closed
gbstan opened this issue Apr 23, 2017 · 5 comments
Closed

Cannot pass argument to mpv 0.25.0 using "open -a mpv --args" anymore #4354

gbstan opened this issue Apr 23, 2017 · 5 comments
Labels

Comments

@gbstan
Copy link

gbstan commented Apr 23, 2017

mpv version and platform

mpv: 0.25.0
platform: macOS Sierra 10.12.4
If you're not using git master or the latest release, update.

Reproduction steps

Open a terminal
Type:
open -a mpv --args --vid=no https://www.youtube.com/watch?v=aatr_2MstrI

Expected behavior

In previous versions of mpv, this allowed to open mpv without video, i.e. just download and play the audio.
This now prevents scripting (in particular with Alfred) to use mpv for direct audio playback

Actual behavior

Since the upgrade to mpv 0.25.0, mpv does not recognise the arguments passed to it through "open -a mpv --args ..." anymore and thus does not play the audio as expected

Log file

Make a log file made with -v or --log-file=output.txt, paste it to
http://sprunge.us or a similar site, and replace this text with a link to it.

Providing a log file is strongly encouraged. It is very helpful for reproducing
bugs or getting important technical context. Without a log it might not be
possible to analyze and fix certain bugs.

Sample files

Sample files needed to reproduce this issue can be uploaded to https://0x0.st/
or similar sites. (Only needed if the issue cannot be reproduced without it.)

@Akemi
Copy link
Member

Akemi commented Apr 23, 2017

use the mpv binary directly instead of open?

@Akemi Akemi added the os:mac label Apr 23, 2017
@gbstan
Copy link
Author

gbstan commented Apr 23, 2017 via email

@Akemi
Copy link
Member

Akemi commented Apr 23, 2017

there is no need to repeat yourself again. i know it doesn't work anymore since i 'removed' that feature because of simplification in one commit. i deemed the case of opening mpv via "open" as useless since you can just use the mpv binary in the bundle directly.

so the only reason you use 'open' is because you always want the GUI? just use mpv --player-operation-mode=pseudo-gui and you get the same behaviour.

@gbstan
Copy link
Author

gbstan commented Apr 23, 2017 via email

@vitorgalvao
Copy link
Contributor

This can now be marked as resolved!

@gbstan You have to power to close the issue yourself (you can close issues you opened).

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

No branches or pull requests

3 participants