Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Headphones unMENU user script?

Featured Replies

I would like to create a user script to start Headphones via unMENU rather than a telnet session. I understand the very basics of this so I have created a script with the right name and number so this now appears in unMENU and I can select it. The basic code I need it to run is;

 

python /mnt/cache/_headphones/Headphones.py –d

 

So far the script I have looks like this;

 

#define USER_SCRIPT_LABEL Start Headphones
#define USER_SCRIPT_DESCR This will start the Headphones daemon
echo "<pre>"
python /mnt/cache/_headphones/Headphones.py –d

 

This doesn't work though and I'm at a bit of a loss as to where I start :-[ I'm sure this is quite basic but most of the other scripts I look at call another script based in "/etc/rc.d/unraid.d/rc.unraid_example start" and are far more complicated.

 

  • Author

Typical, sorted it myself just after posting this :)

 

Found another post that shows how to run the script manually to test from the prompt. Did this and found an error in the python line due to copy/paste via windows. Used mcedit to tidy up the script and it now works perfectly ;D

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.