1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sonarr_ynh.git synced 2024-09-03 20:26:19 +02:00

Merge pull request #15 from YunoHost-Apps/testing

This commit is contained in:
tituspijean 2024-04-07 11:12:37 +02:00 committed by GitHub
commit f3b6376955
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 17 additions and 13 deletions

View file

@ -19,7 +19,7 @@ It shall NOT be edited by hand.
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
**Shipped version:** 4.0.1.929~ynh1
**Shipped version:** 4.0.3.1413~ynh2
## Screenshots

View file

@ -19,7 +19,7 @@ EZ editatu eskuz.
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
**Paketatutako bertsioa:** 4.0.1.929~ynh1
**Paketatutako bertsioa:** 4.0.3.1413~ynh2
## Pantaila-argazkiak

View file

@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
Sonarr est un PVR pour les utilisateurs Usenet et BitTorrent. Il peut surveiller plusieurs flux RSS pour les nouveaux épisodes de vos émissions préférées et les récupérer, les trier et les renommer. Il peut également être configuré pour mettre à niveau automatiquement la qualité des fichiers déjà téléchargés lorsqu'un format de meilleure qualité devient disponible.
**Version incluse:** 4.0.1.929~ynh1
**Version incluse:** 4.0.3.1413~ynh2
## Captures décran

View file

@ -19,7 +19,7 @@ NON debe editarse manualmente.
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
**Versión proporcionada:** 4.0.1.929~ynh1
**Versión proporcionada:** 4.0.3.1413~ynh2
## Capturas de pantalla

View file

@ -7,7 +7,7 @@ name = "Sonarr"
description.en = "Series collection manager for Usenet and BitTorrent users"
description.fr = "Gestionnaire de collection de séries pour utilisateurs de Usenet et BitTorrent"
version = "4.0.1.929~ynh1"
version = "4.0.3.1413~ynh2"
maintainers = ["tituspijean"]
@ -40,12 +40,12 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
amd64.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.1.929/Sonarr.main.4.0.1.929.linux-x64.tar.gz"
amd64.sha256 = "f58361ca1c679e7d827ac5cb247e42b3bc81f70db76140193eb93dbc41ef7af9"
arm64.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.1.929/Sonarr.main.4.0.1.929.linux-arm64.tar.gz"
arm64.sha256 = "4410b27e8ce60695ab9ac7cc71d6f506a7015e3eb808c0eb8293194f38fce594"
armhf.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.1.929/Sonarr.main.4.0.1.929.linux-arm.tar.gz"
armhf.sha256 = "8cea527a1d3414c9ee0ddcde76b3fd009c4d087b3a82d701f32e50797019cb93"
amd64.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.3.1413/Sonarr.main.4.0.3.1413.linux-x64.tar.gz"
amd64.sha256 = "c4668f3443d2a54afdb2fe034caf280c7ce62f2b69dd3a7e729e394354ca62b7"
arm64.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.3.1413/Sonarr.main.4.0.3.1413.linux-arm64.tar.gz"
arm64.sha256 = "61e1d7232a1c46068798aac4f4af44dfec59c92d8c0e7b3199220907b74040b5"
armhf.url = "https://github.com/Sonarr/Sonarr/releases/download/v4.0.3.1413/Sonarr.main.4.0.3.1413.linux-arm.tar.gz"
armhf.sha256 = "0f79f2d0456239f2f77724a5d7f8464f2103f1b5b4886de814f6cc901fa89384"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.amd64 = ".*\\.linux-x64.tar.gz"

View file

@ -32,7 +32,9 @@ ynh_change_url_nginx_config
#=================================================
# Add newline at end of file if required
sed -i -e '$a\' "$data_dir/config.xml"
if [ -e "$data_dir/config.xml" ]; then
sed -i -e '$a\' "$data_dir/config.xml"
fi
ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"

View file

@ -61,7 +61,9 @@ ynh_use_logrotate --non-append --logfile="/var/log/$app/"
ynh_script_progression --message="Configuring Radarr..." --weight=2
# Add newline at end of file if required
sed -i -e '$a\' "$data_dir/config.xml"
if [ -e "$data_dir/config.xml" ]; then
sed -i -e '$a\' "$data_dir/config.xml"
fi
ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"