summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-10 08:31:03 +0300
committerPaul Buetow <paul@buetow.org>2026-05-10 08:31:03 +0300
commitaaabeded8ccf6e2326aa3836c10a9d81ed676f21 (patch)
tree7cf3227c19534809d305e38164cc9821613d22cb /web
parent23580049b785c61ee23ba0f56ffa37f85646101b (diff)
Decouple podcast browse logic from BrowseSet via PodcastBrowser interface
Extract PodcastBrowser interface and podcastBrowseService implementation to move podcast-specific grid augmentation out of browseService.BrowseSet. - Remove PodcastRepo from BrowseServiceStore and MediaServiceStore. - browseService now delegates podcast set augmentation to an injected PodcastBrowser strategy (kept optional/nil-safe). - Add NewMediaServiceWithPodcastBrowser to wire a real PodcastBrowser (backed by PodcastRepo) in production while keeping the plain NewMediaService for existing callers/tests. - Update main.go to instantiate NewPodcastBrowseService and inject it. - Update browse_test.go to test PodcastBrowser-augmented paths through the new constructor signature. This keeps BrowseSet focused on files and folders only and removes the podcast dependency from the browse contract.
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions