-
Notifications
You must be signed in to change notification settings - Fork 36
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
Mac: Not works out of the box #48
Comments
Does the script work fine after running that command? |
No, as a windows portable mpv user, I can confirm that the script works well even though out of PATH. |
It is, for those who don't have it in path and are launching mpv from outside its own directory. eko: Does replacing Line 293 in 14b6a1e
Will try to add auto detection of the currently running executable path for a not-too-messy solution. |
hooke007/MPV_lazy#186 (comment) The only problem is the bundle app can be placed anywhere, we didn't find the solution to check it. |
The docs mention |
see mpv-player/mpv#10009 Another info we noticed in that thread is the old thumbnailer(worker) doesn't have this issue(Mac). |
At first glance this uses the ((os.getenv('PWD') or mp.get_property('working-directory')) .. ':' .. os.getenv('PATH')) I've used functionally similar code before, but I don't know if that's enough to find the mpv path on Mac. |
We already have the PID. There has got to be a way of getting the path from the pid on every OS. On linux |
on my arch system: $ ps -o comm= -p PIDHERE
mpv
$ which mpv
/usr/bin/mpv Is that enough on Mac? stackoverflow says this could work: realpath /proc/PIDHERE/exe |
Yes, after running this command it works well on my Mac. |
Can you install thumbfast from the Open a file in mpv through the terminal, hover on the timeline once. Post the output of the 3 commands you ran. |
Open second terminal:
|
What about the ps+which commands (: |
I reedited, please take a look. |
Seems like |
Does the script work out of the box on the latest commit? |
Yes |
I've been able to set up a Mac VM and try this out. It doesn't even work out of the box, and the reason it doesn't generate extra icons is because it uses ffmpeg by default? |
Workaround:
ln -s /Applications/mpv.app/Contents/MacOS/mpv /usr/local/bin
Is there another way to fix this?
The text was updated successfully, but these errors were encountered: