mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Testing (#2)
* Fix linter warnings * Update README.md Co-authored-by: deckname <58575263+deckname@users.noreply.github.com>
This commit is contained in:
parent
4d1c880e0c
commit
71ff221835
8 changed files with 14 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
# Invidious for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/invidious)  
|
||||
[](https://install-app.yunohost.org/?app=invidious)
|
||||
[](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/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Invidious pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/invidious)  
|
||||
[](https://install-app.yunohost.org/?app=invidious)
|
||||
[](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/
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
multi_instance=0
|
||||
port_already_use=0
|
||||
change_url=0
|
||||
;;; Levels
|
||||
Level 5=auto
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
|
@ -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 n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||||
},
|
||||
"default": true
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue