Skip to content

feat: add library write-access check endpoint#168

Open
mattsigal wants to merge 1 commit into
Moonfin-Client:masterfrom
mattsigal:feature/artwork-write-access-check
Open

feat: add library write-access check endpoint#168
mattsigal wants to merge 1 commit into
Moonfin-Client:masterfrom
mattsigal:feature/artwork-write-access-check

Conversation

@mattsigal

Copy link
Copy Markdown
Contributor

Summary

This PR adds a new controller endpoint /Moonfin/Libraries/CheckWriteAccess that allows the client to verify if the Jellyfin process has write access to the library directories where metadata/artwork is saved.

Changes

  • MoonfinController.cs: Implemented endpoint to resolve physical library paths, verify if they require local saving, and test directory writability.

Add a new API endpoint `/Moonfin/Libraries/CheckWriteAccess` that tests server-side directory write permissions.
This allows the client app to proactively verify whether the server can write to media folders before attempting artwork updates.
@github-actions

Copy link
Copy Markdown

Build Successful

The plugin compiled successfully against .NET 8 / Jellyfin 10.10.0.

Property Value
Commit 216dd6c
Workflow Build #120

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.

2 participants