Skip to content

[Bug]: Problems with hash symbols in file paths #4377

@sbaum

Description

@sbaum

I confirm that:

  • I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • I'm using the latest version (your issue may have been fixed already)

Version

0.57 and develop (Docker)

Current Behavior

When I click "Get Info" on a file with # in its path, I get a red error box saying: "Server communication error: Internal Server Error" and the "RAW TAGS" tab is missing.

Additional problem, probably related: If an album with # in its path contains tracks from different artists, Navidrome lists separate albums for every different artist. Even adding the MusicBrainz-Album-ID does not help.

Expected Behavior

For all existing files, clicking "Get Info" should display the available info including the "RAW TAGS" tab.

Album grouping should not be affected by special characters in file paths.

Steps To Reproduce

Example file path: /music/ARTISTS/D/Dumbo's Test - #1's/01 Dumbo's Test - Testsong (#1's Edit).mp3

In the web ui click "Get Info" on that file.

Environment

- OS: Linux Mint and Windows 11
- Browser: LibreWolf and Firefox 140
- Client: Navidrome Web UI

How Navidrome is installed?

Docker

Configuration

Docker config (Portainer):

volumes:
  data:

services:
  navidrome:
    #image: deluan/navidrome:latest
    image: deluan/navidrome:develop
    #user: 1000:1000 # should be owner of volumes
    ports:
      - "4533:4533"
    restart: unless-stopped
    environment:
      - TZ=Europe/Berlin
      - ND_ENABLEINSIGHTSCOLLECTOR=false
      - ND_ENABLEDOWNLOADS=false
      - ND_AUTOIMPORTPLAYLISTS=true
      - ND_PID_ALBUM=musicbrainz_albumid|albumartistid,album,albumversion
      # Optional: put your config options customization here. Examples:
      # ND_LOGLEVEL: debug
    volumes:
      - "data:/data"
      - "/music:/music:ro"

Relevant log output

Docker log after clicking "Get Info":

time="2025-07-23T14:54:59Z" level=warning msg="Error resolving path" err="lstat /music/ARTISTS/D/Dumbo's Test - : no such file or directory" path="/music/ARTISTS/D/Dumbo's Test - "

time="2025-07-23T14:54:59Z" level=error msg="Error reading tags" error="stat /music/ARTISTS/D/Dumbo's Test - : no such file or directory: /music/ARTISTS/D/Dumbo's Test - " id=PQKzzMYVZnm0iL1X3P7CZk requestId=02e3ed80deef/PpwohWwR7e-000299 username=xy

time="2025-07-23T14:54:59Z" level=error msg="HTTP: GET http://docker:4533/api/inspect?id=PQKzzMYVZnm0iL1X3P7CZk" elapsedTime=1.3ms httpStatus=500 remoteAddr="192.168.1.22:33490" requestId=02e3ed80deef/PpwohWwR7e-000299 responseSize=105

Anything else?

No response

Code of Conduct

  • I agree to follow Navidrome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageNew bug reports that need to be evaluated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions