1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
* www-data (#56)
This commit is contained in:
Éric Gaspar 2021-06-19 18:32:36 +02:00 committed by GitHub
parent 92439c2d12
commit f1dbd8ae91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 48 deletions

View file

@ -1,7 +1,3 @@
---
<!--
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.
@ -10,29 +6,24 @@ It shall NOT be edited by hand.
# Navidrome for YunoHost
[![Integration level](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg)
[![Install navidrome with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
[![Install Navidrome with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install navidrome quickly and simply on a YunoHost server.
> *This package allows you to install Navidrome quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
Modern Music Server and Streamer compatible with Subsonic/Airsonic
**Shipped version:** 0.43.0~ynh1
**Shipped version:** 0.43.0~ynh2
**Demo:** https://demo.navidrome.org/app/#/login
## Screenshots
![](./doc/screenshots/ss-desktop-player.png)
![](./doc/screenshots/ss-desktop-player.png)
## Disclaimers / important information
@ -48,8 +39,6 @@ You can configure an alternative path to you music files by editing the path `Mu
You must activate *public site* if you want to connect a client player to Navidrome.
## Documentation and resources
* Official app website: https://www.navidrome.org

View file

@ -1,30 +1,25 @@
# Navidrome pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/navidrome.svg)](https://dash.yunohost.org/appci/app/navidrome) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/navidrome.maintain.svg)
[![Installer navidrome avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
[![Installer Navidrome avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=navidrome)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install navidrome quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
> *Ce package vous permet d'installer Navidrome rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue d'ensemble
Serveur de musique moderne et Streamer compatibles avec Subsonic/Airsonic
**Version incluse:** 0.43.0~ynh1
**Démo:** https://demo.navidrome.org/app/#/login
**Version incluse :** 0.43.0~ynh2
**Démo :** https://demo.navidrome.org/app/#/login
## Captures d'écran
![](./doc/screenshots/ss-desktop-player.png)
![](./doc/screenshots/ss-desktop-player.png)
## Avertissements / informations importantes
@ -40,16 +35,14 @@ Vous pouvez personnaliser le dossier de stockage de vos fichiers de musique en
Vous devez activer *site public* si vous souhaitez connecter un lecteur client à Navidrome.
## Documentations et ressources
* Site official de l'app : https://www.navidrome.org
* Documentation officielle utilisateur: https://yunohost.org/en/app_navidrome
* Documentation officielle de l'admin: https://www.navidrome.org/docs
* Dépôt de code officiel de l'app: https://github.com/deluan/navidrome
* Documentation YunoHost pour cette app: https://yunohost.org/app_navidrome
* Signaler un bug: https://github.com/YunoHost-Apps/navidrome_ynh/issues
* Site officiel de l'app : https://www.navidrome.org
* Documentation officielle utilisateur : https://yunohost.org/en/app_navidrome
* Documentation officielle de l'admin : https://www.navidrome.org/docs
* Dépôt de code officiel de l'app : https://github.com/deluan/navidrome
* Documentation YunoHost pour cette app : https://yunohost.org/app_navidrome
* Signaler un bug : https://github.com/YunoHost-Apps/navidrome_ynh/issues
## Informations pour les développeurs
@ -58,8 +51,8 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno
Pour essayer la branche testing, procédez comme suit.
```
sudo yunohost app install https://github.com/YunoHost-Apps/navidrome_ynh/tree/testing --debug
or
ou
sudo yunohost app upgrade navidrome -u https://github.com/YunoHost-Apps/navidrome_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications:** https://yunohost.org/packaging_apps
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -13,8 +13,8 @@ Port = "__PORT__"
# Base URL (only the path part) to configure Navidrome behind a proxy (ex: /music)
BaseURL = "__PATH_URL__"
# How frequently to scan for changes in your music library. Set it to 0 to disable scans
ScanInterval = "90s"
# Configure periodic scans using “cron” syntax. To disable it altogether, set it to "" (empty string)
ScanSchedule = "@every 1m30s"
# Size of transcoding cache. Set to 0 to disable cache
TranscodingCacheSize = "150MB"

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.43.0~ynh1",
"version": "0.43.0~ynh2",
"url": "https://www.navidrome.org",
"upstream": {
"license": "free",

View file

@ -86,7 +86,7 @@ ynh_setup_source --dest_dir=$final_path --source_id="$architecture"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
@ -115,7 +115,7 @@ mkdir -p "$config_path"
ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
chmod 600 "$config_path/navidrome.toml"
chown -R $app:$app "$config_path"
chown -R $app "$config_path"
#=================================================
# SETUP SYSTEMD

View file

@ -66,7 +66,7 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# SPECIFIC RESTORATION
@ -86,7 +86,7 @@ ynh_script_progression --message="Restoring various files..." --weight=2
ynh_restore_file --origin_path="/var/lib/$app"
chmod 600 "/var/lib/$app/navidrome.toml"
chown -R $app:$app "/var/lib/$app"
chown -R $app "/var/lib/$app"
#=================================================
# RESTORE SYSTEMD

View file

@ -89,7 +89,7 @@ fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# NGINX CONFIGURATION
@ -117,7 +117,7 @@ config_path="/var/lib/$app"
#ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
chmod 600 "$config_path/navidrome.toml"
chown -R $app:$app "$config_path"
chown -R $app "$config_path"
#=================================================
# SETUP SYSTEMD