Skip to content

no terminal output on osx #2061

Closed
Closed

Description

@troex

If I run mpv on osx (using /Applications/mpv.app/Contents/MacOS/mpv) from terminal it works but I don't have any output in terminal, even if I type --help or --list-options - nothing.

If I add terminal=yes to config it shows up everything (before 0.90 it didn't have this problem).

I guess it's because of pseudo-gui profile which mutes terminal output, but still I think it should respond in terminal to core commands. And it doesn't work correctly selecing pseudo-gui when execured without mpv.app

(I'm using latest Chris build from http://sva.wakku.to/~chris/mpv_builds/mpv_latest.zip)

Activity

  1. pigoz commented on Jun 20, 2015

    @pigoz
    Member

    Considering on newer versions of OSX the finder doesn't use a psn to start the application it could be not trivial to figure out who started the application. At the moment we use [[NSBundle mainBundle] resourcePath] which doesn't care where the application was started from (Finder or shell).

  2. troex commented on Jun 20, 2015

    @troex
    Author

    Shouldn't mpv.app explicitly pass --profile=pseudo-gui to the bin while when executed?

    Maybe another approach is to set env variable like MPV_PROFILE – but these are just ideas, it's not critical anyway, I just spent some time to get the output

  3. lucianmarin commented on Jun 22, 2015

    @lucianmarin

    The manual says you should use --no-config when testing. Using this mpv displays the terminal output.

    A mpv.conf is bundled within mpv.app which states profile=pseudo-gui (disables terminal output).

    This is a non-issue and should be closed.

  4. sumyungguy commented on Dec 12, 2015

    @sumyungguy

    You have bundle_started_from_finder, which is false if an argument is given on the command line. That prevents the terminal output from being redirected to the log file. Could you also use that to tell it not to read the bundled mpv.conf file? It's not perfect because it will still happen if mpv is called from the comand line with no arguments, but maybe it's an improvement.

  5. added 3 commits that reference this issue on Feb 3, 2017
    7f289ba
    cf5c863
    f380ea7
  6. added a commit that references this issue on Feb 16, 2017
    757916e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions