Simple bash script to install plugins from repo's.
- SSH into server
- Execute the below command:
sudo wget -O volumio_install_from_zip.sh https://raw.githubusercontent.com/Saiyato/volumio-plugin-helper/master/volumio_install_from_zip.sh && sudo chmod +x volumio_install_from_zip.sh
This will download the installation script.
- Execute the script (DO NOT USE sudo!) you've just downloaded
Parameters:
$1 = author
$2 = plugin name (zipfile must have the same name)
$3 = branch (will check if specified branch exists, otherwise it will fail; no time to add graceful catches)
E.g. if you want the kodi plugin by Saiyato:
./volumio_install_from_zip.sh Saiyato volumio-kodi-plugin
Update: use bash instead of sh, for more functionality (string comparison to cater for the new top-level branch naming convention on GitHub)
You can use this install script for any plugin (if they are hosted separately), just add $1 = author and $2 = repository. For example this script will not work (unless you alter it) for plugins hosted in a volumio-plugins collection.
- SSH into server
sudo wget -O volumio_install_zip_from_fork.sh https://raw.githubusercontent.com/Saiyato/volumio-plugin-helper/master/volumio_install_zip_from_fork.sh && sudo chmod +x volumio_install_zip_from_fork.sh
This will download the installation script
- Execute the script (DO NOT USER sudo!) you've just downloaded
Parameters:
$1 = author
$2 = category
$3 = plugin name
$4 = zip file name (optional, if it's omitted $3 is used)
E.g. if you want to install volspotconnect:
./volumio_install_zip_from_fork.sh balbuze music_service volspotconnect volspotconnect
Or, if you omit the optional zip file name (since it's the same as the plugin name)
./volumio_install_zip_from_fork.sh balbuze music_service volspotconnect
Lazy installation of unsanctioned versions from a forked repo (might need to download/build modules; which takes time!)
- SSH into server
sudo wget -O volumio_install_from_fork.sh https://raw.githubusercontent.com/Saiyato/volumio-plugin-helper/master/volumio_install_from_fork.sh
This will download the installation script
- Execute the script (DO NOT USER sudo!) you've just downloaded
Parameters:
$1 = author
$2 = category
$3 = plugin name
E.g. if you want to install the rotary encoder:
sh volumio_install_from_fork.sh Saiyato user_interface rotaryencoder
Or Qobuz from the volumio repo
sh volumio_install_from_fork.sh volumio music_service qobuz