From 9b0f88af85898ebe9c4becaafc14041aee7e14fa Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 5 Apr 2024 03:43:36 +0200 Subject: [PATCH 1/5] Upgrade to v4.0.3.1413 https://github.com/Sonarr/Sonarr/releases/tag/v4.0.3.1413 --- manifest.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index a222bd4..c7b407a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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~ynh1" 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" From 6351b1a980246dd19c9ddb7d91f6635decfe8eb6 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 5 Apr 2024 01:43:38 +0000 Subject: [PATCH 2/5] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7f5a9f0..ee4808c 100644 --- a/README.md +++ b/README.md @@ -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~ynh1 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 251c518..9073e25 100644 --- a/README_eu.md +++ b/README_eu.md @@ -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~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index ab4b742..ebf6d79 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 2e3b307..fd3a0ff 100644 --- a/README_gl.md +++ b/README_gl.md @@ -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~ynh1 ## Capturas de pantalla From 4a50da79d3f812af9d9b8c7c33f0d226c954a6a9 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 6 Apr 2024 20:49:08 +0200 Subject: [PATCH 3/5] hotfix: do not fail if config file is missing --- scripts/change_url | 4 +++- scripts/upgrade | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 0b00c85..8fcddde 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index 7ae6a1c..6c97389 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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" From aa01d6b57dbbcbd724cbee35c3d87ad9cce4f4aa Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 6 Apr 2024 20:49:33 +0200 Subject: [PATCH 4/5] Bump package version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index c7b407a..2e7676c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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.3.1413~ynh1" +version = "4.0.3.1413~ynh2" maintainers = ["tituspijean"] From daec73caab74430d8dcc9cb1465189444fb1215f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 6 Apr 2024 18:58:36 +0000 Subject: [PATCH 5/5] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee4808c..24abb33 100644 --- a/README.md +++ b/README.md @@ -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.3.1413~ynh1 +**Shipped version:** 4.0.3.1413~ynh2 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 9073e25..9f9a528 100644 --- a/README_eu.md +++ b/README_eu.md @@ -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.3.1413~ynh1 +**Paketatutako bertsioa:** 4.0.3.1413~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index ebf6d79..e250dcd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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.3.1413~ynh1 +**Version incluse :** 4.0.3.1413~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index fd3a0ff..ca8ba82 100644 --- a/README_gl.md +++ b/README_gl.md @@ -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.3.1413~ynh1 +**Versión proporcionada:** 4.0.3.1413~ynh2 ## Capturas de pantalla