1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/audiobookshelf_ynh.git synced 2024-09-03 18:06:19 +02:00

Merge pull request #109 from YunoHost-Apps/testing

Testing v2.8.0~ynh1
This commit is contained in:
Thomas 2024-02-25 18:51:32 +01:00 committed by GitHub
commit 54e04dded3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 10 deletions

View file

@ -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. 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 * 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.7.2~ynh1 **Shipped version:** 2.8.0~ynh1
## Screenshots ## Screenshots
@ -57,4 +57,4 @@ or
sudo yunohost app upgrade audiobookshelf -u https://github.com/YunoHost-Apps/audiobookshelf_ynh/tree/testing --debug 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>

View file

@ -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. 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 * 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.7.2~ynh1 **Version incluse :** 2.8.0~ynh1
## Captures décran ## Captures décran

View file

@ -9,3 +9,4 @@ AUDIOBOOKSHELF_GID=__APP__
FFMPEG_PATH=/usr/bin/ffmpeg FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe FFPROBE_PATH=/usr/bin/ffprobe
SOURCE=local SOURCE=local
TONE_PATH=__INSTALL_DIR__/tone

View file

@ -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.7.2~ynh1" version = "2.8.0~ynh1"
maintainers = ["Navan Chauhan"] maintainers = ["Navan Chauhan"]
@ -36,10 +36,16 @@ 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.7.2.tar.gz" url = "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.8.0.tar.gz"
sha256 = "3e813c5c0bd3e7e1e616a9097247b0696f3d3d289ec55729bd6c6115442abd87" sha256 = "bbe6b96a791aa11ab91369bdfc82b1984650a5e026c676df6faaaf0ab84510ed"
autoupdate.strategy = "latest_github_tag" 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.system_user]
[resources.install_dir] [resources.install_dir]

View file

@ -25,7 +25,8 @@ ynh_npm install --global npm@7.21.1
ynh_script_progression --message="Setting up source files..." --weight=1 ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # 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 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"

View file

@ -18,7 +18,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
# Upgrade NPM # Upgrade NPM
ynh_npm install --global npm@7.21.1 ynh_npm install --global npm@7.21.1
#================================================= #=================================================
# CHECK VERSION # CHECK VERSION
#================================================= #=================================================
@ -64,6 +63,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src # 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" --keep=".env"
ynh_setup_source --dest_dir="$install_dir" --source_id="tone"
fi fi
chmod 750 "$install_dir" chmod 750 "$install_dir"