mirror of
https://github.com/YunoHost-Apps/audiobookshelf_ynh.git
synced 2024-09-03 18:06:19 +02:00
commit
c54c818899
6 changed files with 28 additions and 20 deletions
|
@ -31,7 +31,7 @@ Audiobookshelf is a self-hosted audiobook server for managing and playing your a
|
||||||
* Chromecast support on the web app
|
* Chromecast support on the web app
|
||||||
* Fetch metadata and cover art from several sources
|
* Fetch metadata and cover art from several sources
|
||||||
|
|
||||||
**Shipped version:** 2.6.0~ynh1
|
**Shipped version:** 2.7.0~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Audiobookshelf est un serveur auto-hébergé pour gérer et lire vos livres audi
|
||||||
* Support de Chromecast dans la webapp
|
* Support de Chromecast dans la webapp
|
||||||
* Récupération des métadonnées et des pochettes depuis plusieurs sources
|
* Récupération des métadonnées et des pochettes depuis plusieurs sources
|
||||||
|
|
||||||
**Version incluse :** 2.6.0~ynh1
|
**Version incluse :** 2.7.0~ynh1
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Audiobookshelf"
|
||||||
description.en = "Audiobook server for managing and playing your audiobooks"
|
description.en = "Audiobook server for managing and playing your audiobooks"
|
||||||
description.fr = "Serveur de livres audio pour gérer et lire vos livres audio"
|
description.fr = "Serveur de livres audio pour gérer et lire vos livres audio"
|
||||||
|
|
||||||
version = "2.6.0~ynh1"
|
version = "2.7.0~ynh1"
|
||||||
|
|
||||||
maintainers = ["Navan Chauhan"]
|
maintainers = ["Navan Chauhan"]
|
||||||
|
|
||||||
|
@ -36,8 +36,8 @@ ram.runtime = "50M"
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.6.0.tar.gz"
|
url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.7.0.tar.gz"
|
||||||
sha256 = "fa705ca0096c5eefc4358cebd6eb84f741327fb1cd940689cf80717ce0472e78"
|
sha256 = "6202136ca7bcd00d3275d77dc3b007d116d1515f8b390203c9bd39996e99047b"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
|
@ -16,6 +16,9 @@ ynh_script_progression --message="Installing dependencies..." --weight=10
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
|
# Upgrade NPM
|
||||||
|
ynh_npm install --global npm@7.21.1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -10,6 +10,16 @@
|
||||||
source ../settings/scripts/_common.sh
|
source ../settings/scripts/_common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REINSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=10
|
||||||
|
|
||||||
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
|
# Upgrade NPM
|
||||||
|
ynh_npm install --global npm@7.21.1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD RESTORATION STEPS
|
# STANDARD RESTORATION STEPS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -45,14 +55,6 @@ chown -R $app:www-data "$data_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
#=================================================
|
|
||||||
# REINSTALL DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=10
|
|
||||||
|
|
||||||
# Define and install dependencies
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE SYSTEMD
|
# RESTORE SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -9,6 +9,16 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# INSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading dependencies..." --weight=10
|
||||||
|
|
||||||
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
|
# Upgrade NPM
|
||||||
|
ynh_npm install --global npm@7.21.1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -68,13 +78,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# UPGRADE DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=10
|
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue