UniversalMediaServer / UniversalMediaServer/UniversalMediaServer

Adding file / monitored folders / docker environment

Open
#4,281 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.