mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
v2
This commit is contained in:
parent
d3c2945908
commit
b598071cc1
4 changed files with 0 additions and 116 deletions
|
@ -1,31 +0,0 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld"
|
||||
path="/path"
|
||||
is_public=1
|
||||
port="4533"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
# 0.40.0~ynh1
|
||||
upgrade=1 from_commit=e41c919ddb65673ea6b452e138d36c240be3b6b7
|
||||
# 0.47.0~ynh1
|
||||
upgrade=1 from_commit=d7eb59fdd7a47ef4365af59db857e763f70564a4
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
port_already_use=0
|
||||
change_url=1
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=e41c919ddb65673ea6b452e138d36c240be3b6b7
|
||||
name=Testing (#43)
|
||||
; commit=d7eb59fdd7a47ef4365af59db857e763f70564a4
|
||||
name=Testing (#70)
|
||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
|
@ -1,63 +0,0 @@
|
|||
{
|
||||
"name": "Navidrome",
|
||||
"id": "navidrome",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Modern Music Server and Streamer compatible with Subsonic/Airsonic",
|
||||
"fr": "Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic"
|
||||
},
|
||||
"version": "0.49.3~ynh1",
|
||||
"url": "https://www.navidrome.org",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-only",
|
||||
"website": "https://www.navidrome.org",
|
||||
"demo": "https://demo.navidrome.org/app/#/login",
|
||||
"admindoc": "https://www.navidrome.org/docs",
|
||||
"code": "https://github.com/deluan/navidrome",
|
||||
"cpe": "cpe:2.3:a:navidrome:navidrome"
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"maintainer": {
|
||||
"name": "eric_G"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 11.1.6"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
"nginx"
|
||||
],
|
||||
"arguments": {
|
||||
"install": [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"example": "/navidrome",
|
||||
"default": "/navidrome"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"help": {
|
||||
"en": "You must activate public site if you want to connect a client player to Navidrome. This can be changed later via the webadmin.",
|
||||
"fr": "Vous devez activer site public si vous souhaitez connecter un lecteur client à Navidrome. Vous pourrez changer ceci plus tard via la webadmin."
|
||||
},
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "language",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Choose the application language",
|
||||
"fr": "Choisissez la langue de l'application"
|
||||
},
|
||||
"choices": ["de", "en", "es", "fr", "it", "nl", "pt"],
|
||||
"default": "fr"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -10,23 +10,6 @@
|
|||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
#=================================================
|
||||
|
||||
# Exit if an error occurs during the execution of the script
|
||||
#REMOVEME? ynh_abort_if_errors
|
||||
|
||||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
#=================================================
|
||||
#REMOVEME? ynh_print_info --message="Loading installation settings..."
|
||||
|
||||
#REMOVEME? app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
#REMOVEME? #REMOVEME? install_dir=$(ynh_app_setting_get --app=$app --key=install_dir)
|
||||
#REMOVEME? domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||
|
||||
#=================================================
|
||||
# DECLARE DATA AND CONF FILES TO BACKUP
|
||||
#=================================================
|
||||
|
|
|
@ -26,11 +26,6 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
#=================================================
|
||||
ynh_script_progression --message="Loading installation settings..." --weight=1
|
||||
|
||||
# Needed for helper "ynh_add_nginx_config"
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
language=$(ynh_app_setting_get --app=$app --key=language)
|
||||
|
||||
enable_downloads=$(ynh_app_setting_get --app=$app --key=enable_downloads)
|
||||
scanner_extractor=$(ynh_app_setting_get --app=$app --key=scanner_extractor)
|
||||
enable_animation=$(ynh_app_setting_get --app=$app --key=enable_animation)
|
||||
|
|
Loading…
Add table
Reference in a new issue