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.

Plugin Dependencies - Bad Form?

Featured Replies

Hi Programmers - First post, be gentle!

 

I'm dabbling with a new plugin related to VMs, and learning as I go. Looking at the Dynamix-VM-Manager plugin, there's a bunch of functions buried in helper includes that are perfect for what I need to do (generating lists of GPU, USB and PCI devices).

 

Just wondering if it's considered good practice or bad form to call such functions directly from within my own plugin. Otherwise, I'd need to spend a lot of time writing exactly the same thing myself.

 

Advice appreciated.

 

 

1 hour ago, meep said:

Hi Programmers - First post, be gentle!

 

I'm dabbling with a new plugin related to VMs, and learning as I go. Looking at the Dynamix-VM-Manager plugin, there's a bunch of functions buried in helper includes that are perfect for what I need to do (generating lists of GPU, USB and PCI devices).

 

Just wondering if it's considered good practice or bad form to call such functions directly from within my own plugin. Otherwise, I'd need to spend a lot of time writing exactly the same thing myself.

 

Advice appreciated.

 

 

CA / FCP does this very extensively (with the dynamix.docker.manager and dynamix.plugin.manager) 

 

Only thing you have to be aware of is that there is no guarantee that the functions you want don't change from unRaid version to version.  Although this is very rare.

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.