Moved to https://github.com/Xaero252/unraid-plex-nvdec/tree/master
-
-
Save Xaero252/9f81593e4a5e6825c045686d685e2428 to your computer and use it in GitHub Desktop.
How should I put that in my User Scripts Plugin? I just need to create a new Script and copy what is here and run it when? Array start? what trigger you suggest?
I have mine set to run slightly after my CA Auto Updater. The only time the script should be run is when the plex docker is updated. There's no built-in trigger for force updating or installing a docker, so if you manually reinstall the docker you'll need to manually run the script, or wait for whenever you schedule it to run.
I'll work on writing a conditional for a case where either Plex Transcoder2 already exists, or the Plex Transcoder doesn't look like the original.
For example, my CA Auto Updater is set to run at ~3am - when probably nobody is going to be doing much with my server. Just after that at ~3:15am, I have this script scheduled to run.
And yes, you can just copy the script from gist directly into a new script on the user scripts plugin.
@Xaero252 worked flawlessly with unRaid 6.7.0 and gtx1070
Thank you.
working fine with the oficial docker, the revised script did the trick, thanks!