Files
iptvnator/.gitignore
T
Eliran SapirandClaude Sonnet 4.6 30b8533e3a fix(xtream): use server timezone when constructing catchup/timeshift URLs
Previously the server timezone returned by the Xtream API (`server_info.timezone`)
was fetched but never applied when formatting the start timestamp in catchup URLs.
This caused timeshift requests to use the client's local time instead of the
server's local time, resulting in wrong or missing archive content.

Changes:
- Store `server_info.timezone` on the playlist state after a successful portal
  status check (`with-portal.feature.ts`)
- Thread `serverTimezone?` through `resolveCatchupUrl` → `constructCatchupUrl`
  → `formatCatchupStartTime` in `XtreamUrlService`
- `formatCatchupStartTime` now uses `Intl.DateTimeFormat` with the server
  timezone when available, falling back to local time when not set
- Pass `playlist.serverTimezone` from `LiveStreamLayoutComponent.playCatchup`
- Add `serverTimezone?` field to `XtreamPlaylistData` interface

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 05:51:42 -04:00

69 lines
877 B
Plaintext

# See http://help.github.com/ignore-files/ for more about ignoring files.
#compiled output
/dist
/build
/tmp
/out-tsc
/app-builds
/release
/e2e/tracing
/e2e/screenshots
/test-results
api.js
epg-worker.js
main.js
menu.js
src/**/*.js
!src/karma.conf.js
*.js.map
data.db
preload.js
shared/*.js
playwright-report
.nx
server.js
# dependencies
node_modules
package-lock.json
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
testem.log
/typings
.angular/*
# e2e
/e2e/*.js
!/e2e/protractor.conf.js
/e2e/*.map
/e2e/db
# System Files
.DS_Store
Thumbs.db
.angular
.astro
.claude/settings.local.json