UniversalMediaServer / UniversalMediaServer/UniversalMediaServer
Adding file / monitored folders / docker environment
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.7k
- Forks
- 528
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 23
Description
I see a warning when I add files to shared folder while UMS is running:
WARN 19:52:01.345 [scanFileOrFolder] given file or folder doesn't share same base path as this server : /music/Musiksammlung/album/LF System/song.flac
The folder is SHARED.conf with "file": "/media/music" and bind-mounted in docker with CLI argument
-v /storage/music:/media/music.
In the database FILES table, the FILENAME of the media file start actually with /media/music/Musiksammlung/album/LF System/song.flac.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the scanFileOrFolder warning and compare the SHARED.conf path, Docker bind mount, and FILES table FILENAME value. Reproduce the setup with /storage/music mounted at /media/music; done means files added while UMS is running are accepted without the base-path warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100