Repository navigation
nightly-8ddf5830-ls6
Pre-release
Pre-release
·
12 commits
to nightly
since this release
CI
LinuxServer changes
Full Changelog: nightly-e978874d-ls5...nightly-8ddf5830-ls6
Upstream changes
Source: beetbox/beets@8ddf583
Fix FileNotFoundError in web plugin with relative paths (#7116)
Description
Fixes #5070
This PR fixes an issue where the web plugin crashes with a
FileNotFoundError (or 404/500 errors) when attempting to serve media
files or album art from portable libraries that use relative paths. It
ensures relative paths are correctly joined with the library's root
directory using os.path.isabs and os.path.join.
To Do
- Documentation. (If you've added a new command-line flag, for
example, find the appropriate page underdocs/to describe it.) - [ x] Changelog. (Add an entry to
docs/changelog.rstto the bottom of
one of the lists near the top of the document.) - [ x] Tests. (Very much encouraged but not strictly required.)