1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
This commit is contained in:
ericgaspar 2023-02-12 09:10:11 +01:00
parent 996cd81f05
commit a00cefedea
6 changed files with 20 additions and 13 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.1/navidrome_0.49.1_Linux_x86_64.tar.gz
SOURCE_SUM=288d4d086b59a0789ceb5bddee90a003cf6298427da20a1e24989be01a8e90cf
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.2/navidrome_0.49.2_Linux_x86_64.tar.gz
SOURCE_SUM=582f41a3076f98e812503d83dae67f08a674839789e0307c49d8b4558aede8f3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.1/navidrome_0.49.1_Linux_arm64.tar.gz
SOURCE_SUM=7d1107ca66c064e4799411f4ea8fbb6232ad031b1b778277813e257490eeb53a
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.2/navidrome_0.49.2_Linux_arm64.tar.gz
SOURCE_SUM=8db7de9c2b62f59646ff0d25fda6525e5a955c40a2675d2c76d0cdadd18c3dd6
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.1/navidrome_0.49.1_Linux_armv7.tar.gz
SOURCE_SUM=8e2a2312f007fd4b036b9c7dd071ae873c82e8cd6c464c74193e316370c9f644
SOURCE_URL=https://github.com/deluan/navidrome/releases/download/v0.49.2/navidrome_0.49.2_Linux_armv7.tar.gz
SOURCE_SUM=2d7e73e0a21375709d99d564d6b912e9817e6cff2fec1f02fb554bf6ada2261b
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -40,6 +40,9 @@ UILoginBackgroundUrl = ""
# Add a welcome message to the login screen
UIWelcomeMessage = "__WELCOME_MESSAGE__"
# Enable image pre-caching of new added music
EnableArtworkPrecache = "true"
# Controls whether the player in the UI will animate the album cover (rotation)
EnableCoverAnimation = "__ENABLE_ANIMATION__"
@ -108,3 +111,7 @@ EnableSharing="__ENABLE_SHARING__"
# If SSOWat didn't authenticate a user, manual login will still work (eg. for API)
ReverseProxyUserHeader = "remote-user"
ReverseProxyWhitelist = "0.0.0.0/0"
# Path to ffmpeg executable. Use it when Navidrome cannot find it, or you want to use a specific version
FFmpegPath = ""

View file

@ -6,7 +6,7 @@
"en": "Modern Music Server and Streamer compatible with Subsonic/Airsonic",
"fr": "Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic"
},
"version": "0.49.1~ynh2",
"version": "0.49.2~ynh1",
"url": "https://www.navidrome.org",
"upstream": {
"license": "GPL-3.0-only",
@ -21,7 +21,7 @@
"name": "eric_G"
},
"requirements": {
"yunohost": ">= 11.1.5"
"yunohost": ">= 11.1.6"
},
"multi_instance": false,
"services": [

View file

@ -151,15 +151,15 @@ ynh_add_nginx_config
#=================================================
# UPDATE A CONFIG FILE
#=================================================
# ynh_script_progression --message="Updating a configuration file..."
ynh_script_progression --message="Updating a configuration file..."
#config_path="/var/lib/$app"
config_path="/var/lib/$app"
# Uncomment when there is new options added upstream
#ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
#chmod 600 "$config_path/navidrome.toml"
#chown -R $app:$app "$config_path"
chmod 600 "$config_path/navidrome.toml"
chown -R $app:$app "$config_path"
#=================================================
# SETUP SYSTEMD