Skip to content

BUG-14: actually delete Emby playlists - #39

Merged
Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-14-emby-delete-noop
Oct 20, 2026
Merged

Gabriel-Lewis merged 1 commit into
devfrom
fix/bug-14-emby-delete-noop

Conversation

@Gabriel-Lewis

Copy link
Copy Markdown
Owner

Implements DELETE /emby/Items/{id} with an empty-ID guard. Verified: go vet + golangci-lint clean; httptest delete tests committed — they run on CI (sandbox blocks localhost binds).

Emby.DeletePlaylist was a commented-out no-op returning nil, so the
replace-playlist flow (delete then create) believed the old playlist
was gone and piled up duplicates on every re-run.

Implement DELETE /emby/Items/{id} with the same empty-ID guard as
the Jellyfin sibling, so failures surface as errors instead of
phantom success. Adds delete tests matching the existing client
pattern (httptest-based; they run on CI since this sandbox blocks
localhost binds).
@Gabriel-Lewis
Gabriel-Lewis merged commit 8bd28a7 into dev Oct 20, 2026
4 checks passed
@Gabriel-Lewis
Gabriel-Lewis deleted the fix/bug-14-emby-delete-noop branch October 29, 2026 01:32
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