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
Script doesn't work when launching memento but works from command line #141
Comments
I can't reproduce your issue. Make sure that your script is in the |
@ripose-jp Yep it is in the scripts folder. This is the script I was trying to use: It worked perfectly when launching memento from the command line but not when opening the app normally |
It's probably a problem with Python (or the rather the correct Python) not being in the |
Also as a side-note which may be related is that my youtube-dl doesn't seem to currently be working when launching the app but works from command line. I think i may have something to do with the fact I installed yt-dlp through pipx? |
The reasons are all in #30. I make sure to put a link to the fix in each release at the bottom. https://github.com/ripose-jp/Memento#macos-streaming-video-doesnt-work |
I was looking into the problem and I'm getting a lot of indications that this may not be easily fixable. This StackExchange post seems to indicate it's possible to inject things into your The difficulty with this issue is that macOS package managers generally all install things to different areas and just append a I think the best way to fix this is by editing the code of your plugin's For these reasons I'm going to mark this as a can't fix. |
Version: v1.0.0
OS: macOS 13.1 (M1 Macbook Air)
When launching memento via the app my script doesn't seem to load for some reason. However, when launching memento from the command line (
/Applications/Memento.app/Contents/MacOS/Memento
), the script works perfectly and runs.If it makes any difference its an
mp.add_hook('on_load', 50, some_function)
lua scriptThe text was updated successfully, but these errors were encountered: