mirror of
https://github.com/YunoHost-Apps/audiobookshelf_ynh.git
synced 2024-09-03 18:06:19 +02:00
commit
54e04dded3
6 changed files with 18 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -31,7 +31,7 @@ Audiobookshelf is a self-hosted audiobook server for managing and playing your a
|
|||
* Chromecast support on the web app
|
||||
* Fetch metadata and cover art from several sources
|
||||
|
||||
**Shipped version:** 2.7.2~ynh1
|
||||
**Shipped version:** 2.8.0~ynh1
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
@ -57,4 +57,4 @@ or
|
|||
sudo yunohost app upgrade audiobookshelf -u https://github.com/YunoHost-Apps/audiobookshelf_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
|
@ -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
|
||||
* Récupération des métadonnées et des pochettes depuis plusieurs sources
|
||||
|
||||
**Version incluse :** 2.7.2~ynh1
|
||||
**Version incluse :** 2.8.0~ynh1
|
||||
|
||||
## Captures d’écran
|
||||
|
||||
|
|
|
@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__
|
|||
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
FFPROBE_PATH=/usr/bin/ffprobe
|
||||
SOURCE=local
|
||||
TONE_PATH=__INSTALL_DIR__/tone
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Audiobookshelf"
|
|||
description.en = "Audiobook server for managing and playing your audiobooks"
|
||||
description.fr = "Serveur de livres audio pour gérer et lire vos livres audio"
|
||||
|
||||
version = "2.7.2~ynh1"
|
||||
version = "2.8.0~ynh1"
|
||||
|
||||
maintainers = ["Navan Chauhan"]
|
||||
|
||||
|
@ -36,10 +36,16 @@ ram.runtime = "50M"
|
|||
[resources]
|
||||
[resources.sources]
|
||||
[resources.sources.main]
|
||||
url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.7.2.tar.gz"
|
||||
sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87"
|
||||
url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.8.0.tar.gz"
|
||||
sha256 = "bbe6b96a791aa11ab91369bdfc82b1984650a5e026c676df6faaaf0ab84510ed"
|
||||
autoupdate.strategy = "latest_github_tag"
|
||||
|
||||
[resources.sources.tone]
|
||||
url = "https://github.com/sandreas/tone/releases/download/v0.1.5/tone-0.1.5-linux-x64.tar.gz"
|
||||
sha256 = "29c197b21c6e36a3b889ebd6bb1fbdd2c95e489ac6508d010adcf6f69ab8ceba"
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
autoupdate.upstream = "https://github.com/sandreas/tone"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
[resources.install_dir]
|
||||
|
|
|
@ -25,7 +25,8 @@ ynh_npm install --global npm@7.21.1
|
|||
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="main"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="tone"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
|
@ -18,7 +18,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
|||
|
||||
# Upgrade NPM
|
||||
ynh_npm install --global npm@7.21.1
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
@ -64,6 +63,7 @@ then
|
|||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="tone"
|
||||
fi
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue