Skip to content

feat(navidrome): create playlists library when settings save - #548

Merged
lklynet merged 2 commits into
mainfrom
feature/feat/navidrome-playlists-library
Aug 5, 2026
Merged

feat(navidrome): create playlists library when settings save#548
lklynet merged 2 commits into
mainfrom
feature/feat/navidrome-playlists-library

Conversation

@lklynet

@lklynet lklynet commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

Create the Aurral Playlists library automatically when Navidrome settings are saved, request a library scan, and update setup documentation to reflect the new workflow.

Linked issues

None

Validation

  • CI passes
  • Tested using the ghcr.io/lklynet/aurral:pr-<number> preview image, or not required
  • Upgrade, migration, and rollback notes are updated where applicable

Test plan

  • Affected area(s): Navidrome integration, settings, documentation
  • Automated coverage: Updated Navidrome settings integration test to verify library creation and connection testing
  • Manual steps and expected result: Save Navidrome settings and verify that the Aurral Playlists library is created and a library scan is requested.

Release impact

  • Major: incompatible change
  • Minor: backward-compatible feature
  • Patch: backward-compatible fix
  • None: documentation, CI, tests, or internal-only change

Summary by CodeRabbit

  • New Features

    • Navidrome settings now automatically create or update smart playlists and trigger a library scan.
    • Aurral now creates the Navidrome library and playlists after connection.
  • Documentation

    • Updated Navidrome setup instructions to clarify shared media paths, download paths, and connection requirements.
    • Removed obsolete manual library and scan configuration steps.

- Automatically creates Navidrome smart playlists and requests a library scan
- Update Navidrome setup documentation and integration coverage
@github-actions github-actions Bot added the enhancement New feature or request label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Aurral preview image ready

This image was rebuilt from the latest push to this pull request. It will be replaced when you push another change.

docker pull ghcr.io/lklynet/aurral:pr-548

To test it with your existing Docker Compose setup:

  1. Back up your Aurral config.
  2. Temporarily change the Aurral service image to ghcr.io/lklynet/aurral:pr-548.
  3. Run docker compose pull aurral && docker compose up -d aurral.
  4. Exercise the behavior changed by this pull request.
  5. Restore the image reference that was configured before testing.

View the preview workflow run · Report a problem

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Navidrome settings saves now update weekly-flow playlist configuration, create smart playlists, and trigger an immediate library scan. Integration tests now verify library POST requests and structured ping requests. Documentation now describes shared storage mounts, Aurral connection, download-path configuration, and automatic Navidrome library and playlist setup.


Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.tests/auth/navidrome-settings.int.test.js:
- Around line 53-62: Update the mock request handling and assertions around the
library creation flow to capture and parse the POST body, return the expected
successful library-creation response, and verify the request uses the “Aurral
Playlists” library name and configured path. Keep the existing login and GET
/api/library behavior unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 297ab33c-d68a-4339-9fa6-2e6fe2a40c54

📥 Commits

Reviewing files that changed from the base of the PR and between 99fffdf and b5bc463.

📒 Files selected for processing (4)
  • .tests/auth/navidrome-settings.int.test.js
  • backend/routes/settings/handlers/general.js
  • docs/src/content/docs/getting-started/storage.mdx
  • docs/src/content/docs/integrations/navidrome.mdx

Comment thread .tests/auth/navidrome-settings.int.test.js Outdated
@lklynet
lklynet merged commit 8237e3d into main Aug 5, 2026
4 checks passed
@lklynet
lklynet deleted the feature/feat/navidrome-playlists-library branch August 5, 2026 01:46
@github-actions github-actions Bot mentioned this pull request Aug 5, 2026
5 tasks
@github-actions github-actions Bot added the nightly Available in the nightly image but not yet in a stable release. label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

Included in stable release 2.1.0

This change is included in the Aurral 2.1.0 release.

docker pull ghcr.io/lklynet/aurral:2.1.0

View the release

@github-actions github-actions Bot added released Included in a stable release. and removed nightly Available in the nightly image but not yet in a stable release. labels Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released Included in a stable release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant