Dispatcharr/apps
Cédric Marcoux 7655060149 fix(timeshift): serve the requested position when reusing a session
Clients (TiviMate) keep the ?session_id= query when they rebuild the seek
URL with a new start timestamp, so every timestamp-jump FF/RW landed on
the reused session's STORED provider_timestamp — playback snapped back to
the position the session was created for (the rewind anchor), 100%
reproducible: two requests with different start values on one session
returned byte-identical streams.

The reuse path now always recomputes the provider timestamp from the
REQUESTED one (the provider zone is a property of the account — read from
the default profile's server_info, same as the fresh path) and moves the
pool descriptor (media_id + provider_timestamp) to the position actually
served, so fingerprint matching and same-channel displacement keep
comparing against reality. Slot continuity is unchanged.

Regression tests: reused session serves the requested timestamp (unit),
descriptor follows the seek (unit), and an end-to-end timestamp-jump with
the same session_id reaches the new position through timeshift_proxy.
2026-07-09 07:42:19 +02:00
..
accounts tests: Move tests to under tests folder. 2026-07-07 18:51:35 +00:00
api initial connect feature 2026-02-08 09:29:22 -05:00
backups tests: Move tests to under tests folder. 2026-07-07 18:51:35 +00:00
channels test: Refactor collision avoidance tests to use a fixed timestamp and improve suffix collision checks. Introduced helper function for clearer logic in assertions regarding MKV file naming conventions. 2026-07-07 21:08:45 +00:00
connect Enhancement: Update plugin discovery logic to include release_connections parameter, improving resource management during event triggering. 2026-07-07 18:25:52 +00:00
dashboard tests: Move tests to under tests folder. 2026-07-07 18:51:35 +00:00
epg feat(epg): add native xz decompression support for EPG sources 2026-07-07 19:48:44 -05:00
hdhr fix(api): update HDHR URLs to use port-aware URI builder 2026-06-07 14:27:57 -05:00
m3u feat(m3u): add native xz decompression support for uploaded M3U playlists 2026-07-07 19:48:44 -05:00
output tests: Move tests to under tests folder. 2026-07-07 18:51:35 +00:00
plugins Enhancement: Add release_connections parameter to PluginManager, allowing for conditional database connection closure during plugin discovery, improving resource management. 2026-07-07 18:27:15 +00:00
proxy tests: Move tests to under tests folder. 2026-07-07 18:51:35 +00:00
timeshift fix(timeshift): serve the requested position when reusing a session 2026-07-09 07:42:19 +02:00
vod fix(xc): normalize server URLs for live playback and stream URLs (Fixes #1363) 2026-06-18 10:12:12 -05:00