Skip to content

[BUG] Scan error if there is a jpg file in the folder #25

@pinkfloydFR

Description

@pinkfloydFR

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Finally i had found the problem !

That 's not a name file or permission problem, it's my 'folder.jpg' which contains the album cover.

What i have done :

TEST 1 :

create a sub folder to isolate my collection with a problematic folder
duplicate it
running scan -> both folder give me scan error

TEST 2 :
deleted the folder.jpg in the second folder
running scan -> first folder give me scan error, the second is perfectly added

TEST 3 :
create a txt file named "1.jpg" in the second folder
running scan -> both folder give me scan error

Expected Behavior

No error with folder with jpg file in

Steps To Reproduce

create a new mstream docker
map a folder containing mp3 AND a jpg file in it
start the docker/scan

Environment

- OS: Ubuntu 24.04 server

CPU architecture

x86-64

Docker creation

---
services:
  mstream:
    image: lscr.io/linuxserver/mstream:latest
    container_name: mstream
    privileged: true
    environment:
      - PUID=1015
      - PGID=1015
      - TZ=Europe/Paris
    volumes:
      - ./config:/config
      - /mnt/zic_pic/_MUSIQUES/Normal/_SinglesRock/a b:/music
    restart: unless-stopped

Container logs

2025-02-16T22:28:52.665Z error: File scan error: Warning: failed to add file /music/** - ***/03.mp3 to database: ENOENT: no such file or directory, open 'd41d8cd98f00b204e9800998ecf8427e.jpg'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions