645 Commits
Author SHA1 Message Date
James Jeffery 9494292a75 Merge pull request #64 from 19JVJeffery/copilot/fix-download-issues-yet-again
Improve segment-token recovery by using OFFLINE-first stream acquisition on 401/403/410 failures
2026-05-18 23:55:22 +01:00
copilot-swe-agent[bot]and19JVJeffery 07c4f93be0 Prefer OFFLINE-first playback mode during segment-token 403 recovery
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/6ec5f3f5-d29d-4675-a6ba-faea11a5a2ed

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-18 22:51:11 +00:00
James Jeffery 80862d42b4 Merge pull request #63 from 19JVJeffery/copilot/merge-tiddl-codebase
Retry integration of tiddl Python stack after failed prior attempt
2026-05-18 23:45:39 +01:00
copilot-swe-agent[bot]and19JVJeffery 6ec3553e91 Changes before error encountered
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/ee218a96-15f4-4124-8eea-902561b3cc4e

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-18 10:04:33 +00:00
James Jeffery 1689a5280a Merge pull request #61 from 19JVJeffery/copilot/fix-error-starting-login
fix: use isNetworkError() to catch Safari's "Load failed" in login handler
2026-05-05 09:35:23 +01:00
copilot-swe-agent[bot]and19JVJeffery f00549e1d3 fix: detect Safari "Load failed" as network error in login handler
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/7779172f-1953-4cf2-848e-8b7f10a81fac

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-05 08:18:23 +00:00
James Jeffery c7ffdec377 Merge pull request #60 from 19JVJeffery/copilot/refresh-login-algorithm
Fix device auth verification URL normalization and authorization_pending detection
2026-05-05 09:03:51 +01:00
copilot-swe-agent[bot]and19JVJeffery 1b3d2f1242 Fix device auth verification URL normalization and authorization_pending detection
- Safely normalize verificationUriComplete: only prepend https:// when
  the field does not already include a protocol, preventing a broken
  https://https://... URL if TIDAL includes the scheme in the response.
  Falls back to verificationUri, and throws clearly if neither is present.
- Remove the HTTP status === 400 guard on authorization_pending detection
  to match the tiddl Python reference implementation, which only checks
  the error field regardless of the HTTP status code used by TIDAL.

Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/1f8e8ba8-d963-4f70-a090-ea9468a19df3

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-05 06:25:33 +00:00
James Jeffery 6306c5682c Merge pull request #59 from 19JVJeffery/copilot/fix-device-authorization-error
fix: update OAuth2 client credentials to current tiddl values
2026-05-04 14:37:05 +01:00
copilot-swe-agent[bot]and19JVJeffery e4452a6328 fix: update client credentials to match current tiddl Python project (4N3n6Q1x95LL5K7p)
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/8714c500-2580-42d4-b0e4-d7c5a700e42b

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-04 13:35:29 +00:00
James Jeffery ef156ed28f Merge pull request #58 from 19JVJeffery/copilot/fix-login-error-device-authorization
fix: update TIDAL OAuth client credentials to match tiddl v2.8.0
2026-05-04 14:28:58 +01:00
copilot-swe-agent[bot]and19JVJeffery 99a34de32a fix: update client credentials to match tiddl v2.8.0
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/ad309ecb-a3d7-4a6d-8790-19dc430a86b9

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-04 13:27:15 +00:00
James Jeffery 2a2f240676 Merge pull request #57 from 19JVJeffery/copilot/fix-download-issues-another-one
Fix downloads: rotate OAuth credentials and correct DASH segment generation
2026-05-04 14:04:15 +01:00
copilot-swe-agent[bot]and19JVJeffery e394b1657a fix: update auth credentials and fix DASH manifest parsing to match tiddl algorithm
- Update default client credentials to match latest tiddl (4N3n6Q1x95LL5K7p)
- Fix parseDashManifest: mirror Python's parse_manifest_XML by generating
  segments 0 through segmentCount inclusive (range(0, total+1)) using the
  media template for all segments including init, dropping the separate
  initialization-attribute prepend that caused an off-by-one vs Python"

Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/6cb2f087-819b-4690-b8be-e8b2e6b20fe8

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-05-04 13:01:04 +00:00
James Jeffery f2daa4cca9 Merge pull request #55 from 19JVJeffery/copilot/rewrite-downloads-proxy-handling
Rewrite network transport layer — add timeouts, retry, and unified proxy strategy
2026-04-19 23:37:37 +01:00
copilot-swe-agent[bot]and19JVJeffery 681bee06fb fix: second review pass — isNetworkError covers TiddlError(NETWORK), simplify config.js, improve comments
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/515ffd40-be76-458c-a57d-95bdc4d6d84c

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:35:28 +00:00
copilot-swe-agent[bot]and19JVJeffery a9a13eb039 fix: address code review — export isNetworkError, clean up robustFetch loop, fix misleading comments
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/515ffd40-be76-458c-a57d-95bdc4d6d84c

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:33:50 +00:00
copilot-swe-agent[bot]and19JVJeffery 215f55b5ea feat: Phase 5 — rewrite download.js to use timedFetch with proper segment + cover timeouts
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/515ffd40-be76-458c-a57d-95bdc4d6d84c

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:31:34 +00:00
copilot-swe-agent[bot]and19JVJeffery df54eabd4b feat: Phase 3+4 — rewrite auth.js and api.js to use http.js transport
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/515ffd40-be76-458c-a57d-95bdc4d6d84c

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:30:04 +00:00
copilot-swe-agent[bot]and19JVJeffery b89bee0a92 feat: Phase 1+2 — add http.js transport layer and proxyFetch to config.js
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/515ffd40-be76-458c-a57d-95bdc4d6d84c

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:29:12 +00:00
James Jeffery 4e63fd939d Merge pull request #54 from 19JVJeffery/copilot/fix-downloads-algorithm
Restart per-track download pipeline from the beginning after first failure
2026-04-19 23:13:24 +01:00
copilot-swe-agent[bot]and19JVJeffery 1db31c7f74 Restart per-track download flow from beginning on failure
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/c727950d-f193-4427-b64f-02ddf9c4ab7e

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:11:48 +00:00
copilot-swe-agent[bot]and19JVJeffery 65fa833348 Retry track download algorithm from start on first failure
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/c727950d-f193-4427-b64f-02ddf9c4ab7e

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 22:07:51 +00:00
James Jeffery 929ea902f9 Merge pull request #53 from 19JVJeffery/copilot/revisit-downloads-system
Rebuild download stream pipeline with STREAM-first fallback and resilient manifest handling
2026-04-19 23:02:01 +01:00
copilot-swe-agent[bot]and19JVJeffery 1caeddeca1 Avoid playback-mode retry on encrypted streams
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/cf57e19a-e64d-4765-8566-e1adceb12b55

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:56:45 +00:00
copilot-swe-agent[bot]and19JVJeffery 2c2964ebf0 Harden manifest validation and fallback error classification
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/cf57e19a-e64d-4765-8566-e1adceb12b55

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:55:42 +00:00
copilot-swe-agent[bot]and19JVJeffery 4fbc5811d9 Tighten playback-mode fallback error matching
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/cf57e19a-e64d-4765-8566-e1adceb12b55

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:54:39 +00:00
copilot-swe-agent[bot]and19JVJeffery 7489ccc358 Address review feedback in stream fallback loop
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/cf57e19a-e64d-4765-8566-e1adceb12b55

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:53:42 +00:00
copilot-swe-agent[bot]and19JVJeffery f97505d488 Rework stream download flow to restore compatibility
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/cf57e19a-e64d-4765-8566-e1adceb12b55

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:52:36 +00:00
James Jeffery 2633b94145 Merge pull request #52 from 19JVJeffery/copilot/fix-streaming-issue-for-track-1886173
Handle transient “Asset is not ready for playback” errors with bounded stream retries
2026-04-19 22:45:11 +01:00
copilot-swe-agent[bot]and19JVJeffery 3f61e2cf00 Retry transient playback-not-ready stream errors
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/ae17caee-050f-4ede-a4e2-bc85172ef284

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 21:43:14 +00:00
James Jeffery 301a4bd890 Merge pull request #51 from 19JVJeffery/copilot/fix-stream-token-refresh-error
Use OFFLINE playback tokens for track/video stream manifests to stop segment 403 loops
2026-04-19 22:39:20 +01:00
copilot-swe-agent[bot]and19JVJeffery d976879a71 Use OFFLINE playback mode for downloadable stream tokens
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/961a6386-54a6-474d-b2b5-bcc91d156b5f

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 18:42:56 +00:00
James Jeffery c4062596b1 Merge pull request #50 from 19JVJeffery/copilot/revise-download-algorithm
Handle TIDAL segment 403s with proxy-bound playback fallback
2026-04-19 19:39:11 +01:00
copilot-swe-agent[bot]and19JVJeffery 1bac31bbf5 style: align proxy fallback condition checks
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/dbbfe29e-f14b-4895-ae65-571e84fa77b6

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 18:35:36 +00:00
copilot-swe-agent[bot]and19JVJeffery f576ea6d5c chore: address review feedback on proxy-binding detection
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/dbbfe29e-f14b-4895-ae65-571e84fa77b6

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 18:34:39 +00:00
copilot-swe-agent[bot]and19JVJeffery 8a8fea3a46 fix: add proxy-bound playback fallback for segment 403 errors
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/dbbfe29e-f14b-4895-ae65-571e84fa77b6

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 18:33:37 +00:00
James Jeffery 781ed52511 Merge pull request #49 from 19JVJeffery/copilot/fix-download-segment-fetch-failure
Fix segment retry path to avoid direct-only fetch dead-end on expired stream URLs
2026-04-19 19:29:22 +01:00
copilot-swe-agent[bot]and19JVJeffery 7292e0541f Fix segment strategy after direct playback retry
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/5e090173-f989-4e53-b605-19f5e0898729

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 18:27:18 +00:00
James Jeffery 636815f4aa Merge pull request #48 from 19JVJeffery/copilot/revisit-fetch-logic
Harden playback + segment fetch flow to eliminate persistent segment 403 failures
2026-04-19 19:23:27 +01:00
copilot-swe-agent[bot]and19JVJeffery a1c711e4a8 chore: simplify retry messaging and document metadata guard
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/089feeff-262d-4dcd-9804-2b6bd5505b29

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:22:18 +00:00
copilot-swe-agent[bot]and19JVJeffery 0f96194e70 refactor: clarify stream metadata handling and retry messaging
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/089feeff-262d-4dcd-9804-2b6bd5505b29

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:21:25 +00:00
copilot-swe-agent[bot]and19JVJeffery 957ceabe02 refactor: tighten segment strategy selection and formatting
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/089feeff-262d-4dcd-9804-2b6bd5505b29

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:20:23 +00:00
copilot-swe-agent[bot]and19JVJeffery b6bebe690e fix: harden stream and segment fetch fallback behavior
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/089feeff-262d-4dcd-9804-2b6bd5505b29

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:19:08 +00:00
James Jeffery 5c93bc7f9d Merge pull request #47 from 19JVJeffery/copilot/set-default-corsproxy-configuration
Default and normalize CORS proxy config to prevent segment fetch failures with unset/blank proxy
2026-04-19 18:12:31 +01:00
copilot-swe-agent[bot]and19JVJeffery ba8c0c7ecb Polish proxy input normalization and clarify settings tooltip text
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/9cafa33d-fa02-4511-94f4-aa11b732e573

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:10:23 +00:00
copilot-swe-agent[bot]and19JVJeffery f3fb1cff71 Harden corsproxy host detection and keep default proxy fallback behavior
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/9cafa33d-fa02-4511-94f4-aa11b732e573

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:08:56 +00:00
copilot-swe-agent[bot]and19JVJeffery 6265cab3ef Default blank CORS proxy to corsproxy.io and normalize proxy prefix
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/9cafa33d-fa02-4511-94f4-aa11b732e573

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 17:04:48 +00:00
James Jeffery 027e4fa604 Merge pull request #46 from 19JVJeffery/copilot/fix-segment-fetch-failure
Prefer direct playback-info requests to prevent repeat 403 segment failures
2026-04-19 17:59:58 +01:00
copilot-swe-agent[bot]and19JVJeffery 31c6e9b4af Broaden network/CORS fallback detection for direct playback requests
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/930b6938-3571-4b69-b995-e2e008f3320f

Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com>
2026-04-19 16:54:29 +00:00