Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8991524463 | ||
|
|
3fe1006a1e | ||
|
|
63c8f8a841 | ||
|
|
25877685ea | ||
|
|
5b111272d4 |
No files matched your search
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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)
|
## [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
|
const dl = transfer.size_downloaded ?? 0
|
||||||
|
|
||||||
// Synology expose le hash BT dans additional.detail.hash
|
// Synology expose le hash BT dans additional.detail.hash
|
||||||
// Fallback sur dbid_ pour les tâches non-BT (DDL, etc.)
|
// Fallback sur l'ID Synology natif (déjà au format "dbid_X")
|
||||||
const rawHash = detail.hash
|
const rawHash = String(detail.hash ?? '').trim()
|
||||||
const hash = (typeof rawHash === 'string' && rawHash.length > 0)
|
const hash = rawHash.length > 0
|
||||||
? rawHash.toLowerCase()
|
? 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 {
|
return {
|
||||||
hash,
|
hash,
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
3.18.2
|
3.18.3
|
||||||
Reference in new issue
Block a user