-
Notifications
You must be signed in to change notification settings - Fork 29
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
MacOs support working #20
Comments
Thank you for your contribution. We will test this an include this in out build chains. The idea is not to use lincastor in this list. So we try to provide everything necessary. 👍 |
I heard the author of NZB Donkey (a NZB Monkey browser plugin) is working on a iOS version. Please keep you eyes open for "NZB Donkey" in the app store (its not yet there). |
If you want to register to URL handler without using lincastor, you can do it manually with an application bundle created from an Apple Script.
# for Apple Silicon
PATH="/opt/homebrew/bin:$PATH"
# for x86_64
PATH="/usr/local/bin:$PATH"
on open location this_URL
do shell script "$HOME/path/to/nzbmonkey-vX.Y.Z-linux/nzbmonkey.command " & quoted form of this_URL
end open location
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>NZBLNK URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>nzblnk</string>
</array>
</dict>
</array>
|
@mstilkerich thanks for your instructions, but I can not get it to run the nzbmonkey.command script works fine when I call it from the command line but the AppleScript-app doesn't seem to do anything. When I open a "nzblnk"-URL I see the script editor app appearing in the dock for a few seconds and then it disappears again and nothing was sent to sabnzbd do you have any idea what might be the problem? Edit: the output of the AppleScript is:
Edit2: I guess the problem is that nzbmonkey prompts the user to choose a category for the download and the AppleScript aborts the script at that point Edit3: it works fine when "categorize" is set to "auto" in nzbmonkey.cfg |
Can confirm that the combination of @e-skulk and @mstilkerich works flawlessly on macOS Monterey 12.5.1 |
@mstilkerich Works great, thanks for that. But do you know if there is a way to show the output of the script while it's being executed? Like, just the simple Terminal windows or something. Would be great to be able to track what's happening, right now it's just the AppleScript icon in the task bar as only indication. Thanks! |
Hi,
With the following steps you will get the monkey working on MacOs Mojave (10.14):
#!/bin/sh
cd "$(dirname "$0")"
echo "$1" > last_call.txt
./nzbmonkey.py "$1"
Enjoy
The text was updated successfully, but these errors were encountered: