copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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] and 19JVJeffery
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] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
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
copilot-swe-agent[bot] and 19JVJeffery
749d8a35b6
Refine direct-request proxy fallback to network/CORS errors only
...
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:53:33 +00:00
copilot-swe-agent[bot] and 19JVJeffery
33cdd69ddb
Prefer direct playback-info requests to avoid proxy-bound stream tokens
...
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:52:24 +00:00
copilot-swe-agent[bot] and 19JVJeffery
6746101f25
Fix initial pagination offset continuity for partial first pages
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:47:16 +00:00
copilot-swe-agent[bot] and 19JVJeffery
c2bc60e7fa
Apply final review refinements for pagination and fallback matching
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:46:20 +00:00
copilot-swe-agent[bot] and 19JVJeffery
32ac80501d
Polish retry/status messaging and pagination comment clarity
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:45:22 +00:00
copilot-swe-agent[bot] and 19JVJeffery
103375ef08
Document pagination limit and single retry rationale
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:44:21 +00:00
copilot-swe-agent[bot] and 19JVJeffery
e46b6661eb
Refine pagination loop guard readability in api client
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:43:22 +00:00
copilot-swe-agent[bot] and 19JVJeffery
bbd94e950a
Fix 403 stream retries, quality fallback behavior, and pagination robustness
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/58695a4c-f719-4542-93ff-29825b45fbe0
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 16:42:13 +00:00
James Jeffery
592fdf155b
Update CORS proxy URL to use corsproxy.io and adjust URL encoding logic in proxied function
2026-04-19 11:23:23 +00:00
James Jeffery
3a7cb1c734
Update proxied function to handle raw URLs for ThingProxy
2026-04-19 11:19:29 +00:00
James Jeffery
50bc9ec3b0
Update default CORS proxy URL to use ThingProxy for improved reliability
2026-04-19 11:17:22 +00:00
James Jeffery
99ae8ac943
Refactor fetchAllItems and parseDashManifest functions for improved readability and performance; remove unused token refresh logic from downloadTrack function.
2026-04-19 11:12:26 +00:00
James Jeffery
621ceee828
Implement device login flow for downloads, including logout and polling for approval
2026-04-19 11:09:13 +00:00
James Jeffery
36440555ce
Add nocache parameter to getTrackStream and getVideoStream functions
2026-04-19 11:03:17 +00:00
James Jeffery
6b0d39e13c
Enhance fetchTrackData to support retry logic after token refresh
2026-04-19 10:59:14 +00:00
James Jeffery
0202acf9a2
Add debug logging for manifest and segment URLs in fetchTrackData
2026-04-19 10:52:19 +00:00
James Jeffery
9dd5eb832f
Enhance downloadTrack function to re-fetch manifest and segments after token refresh
2026-04-19 10:46:39 +00:00
James Jeffery
b8f2b32145
Implement retry logic for track downloads on token refresh failure
2026-04-19 10:27:43 +00:00
James Jeffery
470e95b3a6
Enhance token refresh handling for download errors and improve error logging
2026-04-19 10:22:49 +00:00
copilot-swe-agent[bot] and 19JVJeffery
b7e65189c0
Finalize retry flow and add DASH timeline warning
...
Agent-Logs-Url: https://github.com/19JVJeffery/tiddl-gui/sessions/5e0218fc-7235-4e8b-8e82-52759274b754
Co-authored-by: 19JVJeffery <94115228+19JVJeffery@users.noreply.github.com >
2026-04-19 09:34:21 +00:00