From 3edcda02cdb5a444780fd6eabe0795d2df7655e0 Mon Sep 17 00:00:00 2001 From: b3rs3rk Date: Tue, 22 Feb 2022 08:16:16 -0500 Subject: [PATCH] #35 Fix jellyfin app detection looking for the wrong image path --- gpustat.plg | 3 +++ src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page | 2 +- src/gpustat/usr/local/emhttp/plugins/gpustat/lib/Nvidia.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gpustat.plg b/gpustat.plg index 8f4196b..a3bd0c3 100644 --- a/gpustat.plg +++ b/gpustat.plg @@ -48,6 +48,9 @@ --> +###2022-02-22 +- #35 Fix jellyfin app detection looking for the wrong image path + ###2022-02-20 - PR #30 Add Shinobi Pro app detection for Nvidia (thanks @corgan2222!) - PR #30 Add nsfminer app detection for Nvidia (thanks @corgan2222!) diff --git a/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page b/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page index 722b024..3a4af27 100644 --- a/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page +++ b/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page @@ -31,7 +31,7 @@ Icon="gpustat.png" $gpu_nv = $gpu_intel = $gpu_amd = $gpu_unknown = false; $apps = [ - 'plex', 'jelly', 'handbrake', 'emby', 'tdarr', 'unmanic', 'dizquetv', + 'plex', 'jellyfin', 'handbrake', 'emby', 'tdarr', 'unmanic', 'dizquetv', 'deepstack', 'nsfminer', 'shinobipro', 'foldinghome', ]; diff --git a/src/gpustat/usr/local/emhttp/plugins/gpustat/lib/Nvidia.php b/src/gpustat/usr/local/emhttp/plugins/gpustat/lib/Nvidia.php index 7e701d2..7c25f57 100644 --- a/src/gpustat/usr/local/emhttp/plugins/gpustat/lib/Nvidia.php +++ b/src/gpustat/usr/local/emhttp/plugins/gpustat/lib/Nvidia.php @@ -40,7 +40,7 @@ class Nvidia extends Main const STATISTICS_PARAM = '-q -x -g %s 2>&1'; const SUPPORTED_APPS = [ // Order here is important because some apps use the same binaries -- order should be more specific to less 'plex' => ['Plex Transcoder'], - 'jelly' => ['jellyfin-ffmpeg'], + 'jellyfin' => ['jellyfin-ffmpeg'], 'handbrake' => ['/usr/bin/HandBrakeCLI'], 'emby' => ['emby'], 'tdarr' => ['ffmpeg', 'HandbrakeCLI'],