Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8991524463 | ||
|
|
3fe1006a1e | ||
|
|
63c8f8a841 | ||
|
|
25877685ea | ||
|
|
5b111272d4 |
No files matched your search
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [3.18.3](https://github.com/Masutayunikon/FanKarr/compare/v3.18.2...v3.18.3) (2026-05-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **synology:** double prefix dbid_ et fallback hash ([2587768](https://github.com/Masutayunikon/FanKarr/commit/25877685eaf02b3b1c02ff06db618a37aebf0e6b))
|
||||
|
||||
## [3.18.2](https://github.com/Masutayunikon/FanKarr/compare/v3.18.1...v3.18.2) (2026-05-27)
|
||||
|
||||
|
||||
|
||||
@@ -116,11 +116,13 @@ const DS: TorrentClientDriver = {
|
||||
const dl = transfer.size_downloaded ?? 0
|
||||
|
||||
// Synology expose le hash BT dans additional.detail.hash
|
||||
// Fallback sur dbid_ pour les tâches non-BT (DDL, etc.)
|
||||
const rawHash = detail.hash
|
||||
const hash = (typeof rawHash === 'string' && rawHash.length > 0)
|
||||
// Fallback sur l'ID Synology natif (déjà au format "dbid_X")
|
||||
const rawHash = String(detail.hash ?? '').trim()
|
||||
const hash = rawHash.length > 0
|
||||
? rawHash.toLowerCase()
|
||||
: `dbid_${t.id}`
|
||||
: String(t.id ?? '').toLowerCase()
|
||||
|
||||
if (!rawHash) logger.debug('synology-ds', `Hash BT absent pour "${t.title}" — matching par titre (ID: ${t.id})`)
|
||||
|
||||
return {
|
||||
hash,
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.18.2
|
||||
3.18.3
|
||||
Reference in new issue
Block a user