1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
* Fix linter warnings
* Update README.md

Co-authored-by: deckname <58575263+deckname@users.noreply.github.com>
This commit is contained in:
Éric Gaspar 2020-12-18 09:52:10 +01:00 committed by GitHub
parent 4d1c880e0c
commit 71ff221835
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 18 deletions

View file

@ -1,7 +1,7 @@
# Invidious for YunoHost
[![Integration level](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg)
[![Install Invidious with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=invidious)
[![Install Invidious with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=invidious)
*[Lire ce readme en français.](./README_fr.md)*
@ -23,11 +23,11 @@ Invidious is an alternative front-end for accessing YouTube videos without going
## Configuration
You can configure Invidious by modifying the configuration file `/var/www/invidious/config/config.yaml` with the help of this [documentation](https://github.com/iv-org/invidious/wiki/Configuration).
You can configure Invidious by modifying the configuration file `/var/www/invidious/config/config.yaml` with the help of this [documentation](https://github.com/iv-org/documentation/blob/master/Configuration.md).
## Documentation
* Official documentation: https://github.com/iv-org/invidious/wiki
* Official documentation: https://github.com/iv-org/documentation
* YunoHost documentation: https://yunohost.org/#/app_invidious
## YunoHost specific features
@ -50,7 +50,6 @@ Invidious require a dedicated root domain, ie. invidious.domain.tld
## Links
* Report a bug: https://github.com/YunoHost-Apps/invidious_ynh/issues
* App website: https://invidio.us/
* Upstream app repository: https://github.com/iv-org/invidious
* YunoHost website: https://yunohost.org/

View file

@ -1,7 +1,7 @@
# Invidious pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/invidious.svg)](https://dash.yunohost.org/appci/app/invidious) ![](https://ci-apps.yunohost.org/ci/badges/invidious.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/invidious.maintain.svg)
[![Installer Invidious avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=invidious)
[![Installer Invidious avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=invidious)
*[Read this readme in english.](./README.md)*
@ -23,11 +23,11 @@ Invidious est une interface permettant d'accéder aux vidéos YouTube sans passe
## Configuration
Vous pouvez configurer Invidious en modifiant le fichier de configuration `/var/www/invidious/config/config.yaml` avec l'aide de cette [documentation](https://github.com/iv-org/invidious/wiki/Configuration).
Vous pouvez configurer Invidious en modifiant le fichier de configuration `/var/www/invidious/config/config.yaml` avec l'aide de cette [documentation](https://github.com/iv-org/documentation/blob/master/Configuration.md).
## Documentation
* Documentation officielle : https://github.com/iv-org/invidious/wiki
* Documentation officielle : https://github.com/iv-org/documentation
* Documentation YunoHost : https://yunohost.org/#/app_invidious_fr
## Caractéristiques spécifiques YunoHost
@ -50,7 +50,6 @@ Invidious nécessite un domaine racine dédié, par exemple. invidious.domain.tl
## Liens
* Signaler un bug : https://github.com/YunoHost-Apps/invidious_ynh/issues
* Site de l'application : https://invidio.us/
* Dépôt de l'application principale : https://github.com/iv-org/invidious
* Site web YunoHost : https://yunohost.org/

View file

@ -16,8 +16,6 @@
multi_instance=0
port_already_use=0
change_url=0
;;; Levels
Level 5=auto
;;; Options
Email=
Notification=none

View file

@ -20,7 +20,7 @@ about: Create a report to help us debug, it would be nice to fill the template a
- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...*
- YunoHost version: x.x.x
- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...*
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: *no / yes*
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes*
- If yes, please explain:
- Using, or trying to install package version/branch:
- If upgrading, current package version: *can be found in the admin, or with `yunohost app info navidrome`*

View file

@ -6,7 +6,7 @@
"en": "Alternative front-end to YouTube",
"fr": "Front-end alternatif à YouTube"
},
"version": "0.20.1~ynh1",
"version": "0.20.1~ynh2",
"url": "https://invidio.us/",
"license": "GPL-3.0-only",
"maintainer": {
@ -48,8 +48,8 @@
"fr": "Est-ce un site public ?"
},
"help": {
"en": "You must activate public site if you want to connect a client player to Navidrome. This can be changed later via the webadmin.",
"fr": "Vous devez activer site public si vous souhaitez connecter un lecteur client à Navidrome. Vous pourrez changer ceci plus tard via la webadmin."
"en": "If enabled, Invidious will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, Invidious sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
},

View file

@ -188,7 +188,7 @@ chmod 0644 /etc/logrotate.d/$app
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Invidious is an alternative front-end to YouTube"
yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -100,14 +100,14 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
ynh_script_progression --message="Restoring the systemd configuration..." --weight=5
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl enable $app.service --quiet
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Invidious is an alternative front-end to YouTube"
yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -150,7 +150,7 @@ chmod 0644 /etc/logrotate.d/$app
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description "Invidious is an alternative front-end to YouTube"
yunohost service add $app --description="Invidious is an alternative front-end to YouTube" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE