Commit Graph

109 Commits

Author SHA1 Message Date
f940c678d6 refactor: inline imageurl in go callers 2026-06-25 02:36:19 +02:00
3515476374 refactor: shorten verbose variable names across codebase 2026-06-25 02:36:19 +02:00
6f6d09e24b refactor: remove dbtx package 2026-06-25 02:35:52 +02:00
39e96ec073 refactor: update skip segments errlog import 2026-06-25 02:35:52 +02:00
5397759192 refactor: update playback service errlog import 2026-06-25 02:35:52 +02:00
921c476b5b refactor: update proxy subtitle errlog import 2026-06-25 02:35:52 +02:00
d696981821 refactor: update proxy stream errlog import 2026-06-25 02:35:52 +02:00
ec78f11b2e Handle AniSkip response close errors 2026-06-25 02:35:52 +02:00
8d1c1640ce Handle warm stream close errors 2026-06-25 02:35:52 +02:00
e11a15383c Handle proxy subtitle errors 2026-06-25 02:35:52 +02:00
2f035ebdd9 Handle proxy stream errors 2026-06-25 02:35:52 +02:00
fed837f868 Handle Gin private error recording 2026-06-25 02:35:52 +02:00
98f6b1c6cf Validate playback route parameters 2026-06-25 02:35:52 +02:00
6248cd75e9 Fallback to local skip segment overrides 2026-06-25 02:35:51 +02:00
bb37b8e18a fix: extract copyProxyResponseBody to reduce cyclomatic complexity 2026-06-25 02:35:51 +02:00
9e0f2231b5 fix: stop stale request retries 2026-06-25 02:35:51 +02:00
ff1ce6588a fix: fall back to ipv4 when ipv6 is unreachable 2026-06-25 02:35:51 +02:00
2eae804dad refactor: populate watch page data before error return 2026-06-25 02:35:51 +02:00
dc2366cbcc fix: log discarded io.Copy error in proxy stream handler 2026-06-25 02:35:51 +02:00
ca08af2dbb refactor: wrap bare errors with context in playback package 2026-06-25 02:35:51 +02:00
51d26943df fix: log error when fetching relations fails instead of silencing 2026-06-25 02:35:51 +02:00
f0ad92a8f9 fix: log anime fetch errors in watch page and thumbnail handlers 2026-06-25 02:35:51 +02:00
a2d16caea0 test: cover hls playlist response 2026-06-25 02:35:51 +02:00
eaabdc5475 fix: return errors from fetchAniSkipSegments instead of swallowing them 2026-06-25 02:35:51 +02:00
622418f96c feat: deduplicate proxy token creation 2026-06-25 02:35:51 +02:00
2a04876754 refactor: split playback proxy logic into separate handler files 2026-06-25 02:35:51 +02:00
0a483ad2a2 fix: propagate ensureAnimeRow error instead of silently discarding it 2026-06-25 02:35:50 +02:00
8224934046 fix: log errors from sign proxy token calls instead of discarding them 2026-06-25 02:35:50 +02:00
57a2ff874a fix: log audit record failures instead of silently discarding 2026-06-25 02:35:50 +02:00
0bde5ac778 fix: guard nil resp in warmStreamURL 2026-06-25 02:35:50 +02:00
3e100c1a97 feat: ensure anime row exists before saving progress 2026-06-14 21:53:41 +02:00
ef36578c4b feat: propagate stream source type from provider to client 2026-06-14 21:37:38 +02:00
5dcf39c401 test: add fallbackModes unit tests 2026-06-14 21:17:33 +02:00
3668ccb541 refactor: wire mode fallback into resolveModeSources 2026-06-14 21:17:11 +02:00
7bf0ffbd06 feat: add fallbackModes helper 2026-06-14 21:17:09 +02:00
c57ecf3d4b fix: skip error log on client disconnect in proxy handlers 2026-06-13 22:38:51 +02:00
04c0b8d601 refactor: extract progress and completion 2026-06-13 22:07:52 +02:00
b578bd661e refactor: extract skip segments handling 2026-06-13 22:07:21 +02:00
e2d9ecfb03 refactor: extract watch data building 2026-06-13 22:06:38 +02:00
d6f1c37ac3 refactor: extract proxy token store 2026-06-13 22:06:07 +02:00
1a65ef2a9c style: remove extra newline 2026-06-13 21:32:51 +02:00
7523215a71 style: fix linter nits 2026-06-13 21:31:42 +02:00
aced7bb5d9 refactor: replace wrapper lambda with direct function reference 2026-06-13 21:29:21 +02:00
195d8c0e60 refactor: replace inline lambda with NewPlaybackService 2026-06-13 21:28:42 +02:00
ffe42a352b refactor: pass watch order mode in playback service 2026-06-12 13:40:06 +02:00
25471e0bd5 fix: replace nil context with context.TODO 2026-06-11 17:11:47 +02:00
7f05f026e9 refactor: split fetchSkipSegments and fix warmStreamURL noctx 2026-06-11 14:46:22 +02:00
2ed03a667b refactor: split BuildWatchData into focused helpers 2026-06-11 14:45:15 +02:00
188eec58a2 refactor: reduce cyclomatic complexity of UpsertSkipSegmentOverride 2026-06-11 12:59:58 +02:00
b72bace16a refactor: use url.Values in proxy token url 2026-06-11 12:29:29 +02:00