stash/internal/dlna
CJ 95b1bce917
fix(dlna): improve activity tracking accuracy and efficiency (#6483)
* fix(dlna): improve activity tracking accuracy and efficiency

- Remove play duration tracking: DLNA clients buffer aggressively and
  don't report playback position, making duration estimates unreliable.
  Saving inaccurate values corrupts analytics.

- Combine database transactions: Resume time and view count updates
  now happen in a single transaction for atomicity and performance.

- Keep resume time tracking: While imprecise, it provides useful
  "continue watching" hints. The cost of being wrong is low (user
  just seeks).

* remove elasped time check
2026-01-12 11:12:03 +11:00
..
activity.go
activity_test.go
cd-service-desc.go
cds.go
cds_test.go
cm-service-desc.go
cms.go
dms.go
doc.go
html.go
mrrs.go
paging.go
service.go
whitelist.go
xmsr-service-desc.go