Skip to content

chore(qobuz): remove dead QobuzDownloadService (orphaned, unreferenced)#313

Open
RicherTunes wants to merge 1 commit into
mainfrom
chore/remove-dead-qobuzdownloadservice
Open

chore(qobuz): remove dead QobuzDownloadService (orphaned, unreferenced)#313
RicherTunes wants to merge 1 commit into
mainfrom
chore/remove-dead-qobuzdownloadservice

Conversation

@RicherTunes
Copy link
Copy Markdown
Owner

Re-submission of a fix that got stranded on a merged branch (its original branch's PR #295 was already merged when the commit landed, so it never reached main + no CI ran).

What

Removes src/Core/QobuzDownloadService.cs (232 lines) — a plain class (no interface, not a Lidarr provider) with zero instantiation / DI / tests / callers. The only references were two XML doc-comments in QobuzCLI; the CLI uses its own CliDownloadService. The live download path (QobuzTrackDownloader + AudioFileDownloader) is untouched. This also resolves the resume-416 dead-dup (the dead class held the duplicate resume logic).

Verify

Builds 0-error; 491 download-area unit tests pass (verified locally).

🤖 Generated with Claude Code

QobuzDownloadService (src/Core, 232 lines) is dead code: a plain class (no interface, not a Lidarr
provider) that nothing instantiates, injects, or registers. Verified repo-wide — the only references
were two XML doc-comments in QobuzCLI mentioning it by name; the CLI actually uses its own
CliDownloadService. No DI registration, no tests, no callers. The live download path is
QobuzTrackDownloader + AudioFileDownloader (impl of IAudioFileDownloader, auto-wired by Lidarr convention
DI and exercised by QobuzTrackDownloaderTests) — those stay.

Updated the two now-stale doc-comments to not reference the removed class.

Verify: Qobuzarr.csproj builds 0 errors; 491 download-area unit tests pass. (The single failure is the
Docker E2E Plugin_Loads_AppearsInDownloadClientSchema — environmental: needs the merged DLL deployed to
the container, unaffected by removing an unreferenced class.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant