From 5ea6489b41aab0d86783395f5ad605da4bb8fae8 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Fri, 27 Jun 2025 07:46:16 +0200 Subject: [PATCH 1/3] missing changes in last commit --- ogclient/lib/python3/ProtocolLib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ogclient/lib/python3/ProtocolLib.py b/ogclient/lib/python3/ProtocolLib.py index 7b7fd41..e3ebb54 100644 --- a/ogclient/lib/python3/ProtocolLib.py +++ b/ogclient/lib/python3/ProtocolLib.py @@ -842,6 +842,8 @@ def ogCreateTorrent (disk=None, par=None, container=None, file=None, ip_bttrack= os.chdir (cwd) + + #/** # ogUpdateCacheIsNecesary [ str_repo ] Relative_path_file_OGIMG_with_/ #@brief Comprueba que el fichero que se desea almacenar en la cache del cliente, no esta. From b410403ea508656a097b188329e3f49db24849d4 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Fri, 27 Jun 2025 08:03:43 +0200 Subject: [PATCH 2/3] missing changes in last commit --- ogclient/lib/python3/ProtocolLib.py | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/ogclient/lib/python3/ProtocolLib.py b/ogclient/lib/python3/ProtocolLib.py index e3ebb54..1b41ba8 100644 --- a/ogclient/lib/python3/ProtocolLib.py +++ b/ogclient/lib/python3/ProtocolLib.py @@ -704,7 +704,18 @@ def ogTorrentStart (disk=None, par=None, container=None, torrentfile=None, torre if 'seeder' != mode: return 'success' ## return any true value print ('MODE seeder aria2c') os.chdir (dirsource) - aria2_cmd = ["aria2c", "--check-integrity=true", "--bt-seed-unverified=true", "--seed-ratio=0.0", f"--seed-time={time}", "--enable-dht=false", "--enable-peer-exchange=false", f"--dir={dirsource}", f"{source}"] + aria2_cmd = [ + "aria2c", + "--check-integrity=true", + "--bt-seed-unverified=true", + "--disable-ipv6", + "--seed-ratio=0.0", + f"--seed-time={time}", + "--enable-dht=false", + "--enable-peer-exchange=false", + f"--dir={dirsource}", + f"{source}" + ] subprocess.run (aria2_cmd) os.chdir (cwd) return 'success' @@ -729,6 +740,7 @@ def ogTorrentStart (disk=None, par=None, container=None, torrentfile=None, torre "aria2c", "--enable-dht=false", "--enable-peer-exchange=false", + "--disable-ipv6" , f"--seed-time={time}", f"--dir={dirsource}", f"{source}" @@ -743,7 +755,6 @@ def ogTorrentStart (disk=None, par=None, container=None, torrentfile=None, torre "--enable-peer-exchange=false", "--disable-ipv6" , "--seed-time=0", - "bt-max-peers=0", f"--dir={dirsource}", f"{source}" ] @@ -755,6 +766,7 @@ def ogTorrentStart (disk=None, par=None, container=None, torrentfile=None, torre "aria2c", "--check-integrity=true", "--bt-seed-unverified=true", + "--disable-ipv6" , "--seed-ratio=0.0", f"--seed-time={time}", "--enable-dht=false", @@ -843,7 +855,7 @@ def ogCreateTorrent (disk=None, par=None, container=None, file=None, ip_bttrack= - + #/** # ogUpdateCacheIsNecesary [ str_repo ] Relative_path_file_OGIMG_with_/ #@brief Comprueba que el fichero que se desea almacenar en la cache del cliente, no esta. From 2a92557bbc11499ca8233f234ea3c3854f43664c Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Fri, 27 Jun 2025 08:07:33 +0200 Subject: [PATCH 3/3] Updated Changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fed35d..064b6fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.22.1] - 2025-06-27 + +### Fixed + +- Included some changes that should be in the previous version + ## [0.22.0] - 2025-06-26 ### Changed