diff --git a/archive/NerdTools-2022.09.30a-x86_64-1.txz b/archive/NerdTools-2022.09.30a-x86_64-1.txz new file mode 100644 index 0000000..5cc775c Binary files /dev/null and b/archive/NerdTools-2022.09.30a-x86_64-1.txz differ diff --git a/contents/packages.6.11.json b/contents/packages.6.11.json index b80e80c..710b4f3 100644 --- a/contents/packages.6.11.json +++ b/contents/packages.6.11.json @@ -47,6 +47,22 @@ "download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/jdupes-1.19.1-x86_64-1_SBo.txz", "type": "file" }, + { + "name": "libmediainfo-19.09-x86_64-1_SBo.txz", + "path": "packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz", + "sha": "a8efcd09519097b6d53c80d8db0d1fd30e9200ba", + "size": 2359380, + "download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz", + "type": "file" + }, + { + "name": "libzen-0.4.37-x86_64-1_SBo.txz", + "path": "packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz", + "sha": "fe1b1a207f3dd30710f7e2e6b3838388d0a229bb", + "size": 366184, + "download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz", + "type": "file" + }, { "name": "mediainfo-19.09-x86_64-1_SBo.txz", "path": "packages/6.11/mediainfo-19.09-x86_64-1_SBo.txz", diff --git a/develop/create.json-6.11.sh b/develop/create.json-6.11.sh new file mode 100755 index 0000000..a41b352 --- /dev/null +++ b/develop/create.json-6.11.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +php create.json.php 6.11 > ../contents/packages.6.11.json + diff --git a/develop/leeme.txt b/develop/leeme.txt index b0d2b2d..c283435 100644 --- a/develop/leeme.txt +++ b/develop/leeme.txt @@ -2,7 +2,6 @@ php create.json.php 6.11 > ../contents/packages.6.11.json - # Generador de version de plugin ejemplos: diff --git a/packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz b/packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz new file mode 100644 index 0000000..a8efcd0 Binary files /dev/null and b/packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz differ diff --git a/packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz b/packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz new file mode 100644 index 0000000..fe1b1a2 Binary files /dev/null and b/packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz differ diff --git a/plugin/NerdTools.plg b/plugin/NerdTools.plg index 0a9080c..29f3a2a 100644 --- a/plugin/NerdTools.plg +++ b/plugin/NerdTools.plg @@ -3,8 +3,8 @@ - - + + diff --git a/source/NerdTools/usr/local/emhttp/plugins/NerdTools/js/jquery.NerdTools.js b/source/NerdTools/usr/local/emhttp/plugins/NerdTools/js/jquery.NerdTools.js index 7c88c65..5872f3c 100644 --- a/source/NerdTools/usr/local/emhttp/plugins/NerdTools/js/jquery.NerdTools.js +++ b/source/NerdTools/usr/local/emhttp/plugins/NerdTools/js/jquery.NerdTools.js @@ -47,7 +47,8 @@ $(function(){ $('#btnApply').click(Apply); - packageQuery(); + var url = window.location.href.split("?"); + packageQuery(url[1]); }); //list all available packages in a table @@ -158,39 +159,56 @@ function Apply() { function checkDepends() { try { - + if ($('#tmux')[0].checked) { - $('#ncurses-terminfo').switchButton({checked: true}); + $('#ncurses-terminfo').switchButton({ checked: true }); $('#ncurses-terminfo', '.pkgvalue').val('yes'); } - if ($('#expect')[0].checked) { - $('#tcl').switchButton({checked: true}); - $('#tcl', '.pkgvalue').val('yes'); - } - if ($('#iotop')[0].checked) { - $('#python2').switchButton({checked: true}); - $('#python2', '.pkgvalue').val('yes'); - } - if ($('#vim')[0].checked) { - $('#libsodium').switchButton({checked: true}); - $('#libsodium', '.pkgvalue').val('yes'); - } - if ($('#borgbackup')[0].checked) { - $('#python3').switchButton({checked: true}); - $('#python3', '.pkgvalue').val('yes'); - $('#python-setuptools').switchButton({checked: true}); - $('#python-setuptools', '.pkgvalue').val('yes'); - $('#llfuse').switchButton({checked: true}); - $('#llfuse', '.pkgvalue').val('yes'); - } - if ($('#irssi')[0].checked) { - $('#utf8proc').switchButton({checked: true}); - $('#utf8proc', '.pkgvalue').val('yes'); - } - } catch (error) { console.error(error); - // expected output: ReferenceError: nonExistentFunction is not defined - // Note - error messages will vary depending on browser + } + try { + if ($('#expect')[0].checked) { + $('#tcl').switchButton({ checked: true }); + $('#tcl', '.pkgvalue').val('yes'); + } + } catch (error) { + console.error(error); + } + try { + if ($('#iotop')[0].checked) { + $('#python2').switchButton({ checked: true }); + $('#python2', '.pkgvalue').val('yes'); + } + } catch (error) { + console.error(error); + } + try { + if ($('#vim')[0].checked) { + $('#libsodium').switchButton({ checked: true }); + $('#libsodium', '.pkgvalue').val('yes'); + } + } catch (error) { + console.error(error); + } + try { + if ($('#borgbackup')[0].checked) { + $('#python3').switchButton({ checked: true }); + $('#python3', '.pkgvalue').val('yes'); + $('#python-setuptools').switchButton({ checked: true }); + $('#python-setuptools', '.pkgvalue').val('yes'); + $('#llfuse').switchButton({ checked: true }); + $('#llfuse', '.pkgvalue').val('yes'); + } + } catch (error) { + console.error(error); + } + try { + if ($('#irssi')[0].checked) { + $('#utf8proc').switchButton({ checked: true }); + $('#utf8proc', '.pkgvalue').val('yes'); + } + } catch (error) { + console.error(error); } }