• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Music not found

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Music not found

    Having added a library to jellyfin it find no music
    kc1
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:Australia
    #1
    2024-04-25, 12:30 AM (This post was last modified: 2024-04-25, 12:32 AM by kc1. Edited 1 time in total.)
    TLDR:

    I have 2 directories with identical permissions. One scans fine and finds music - one doesn't find anything

    I am at a loss here.

    I am running jellyfin/jellyfin:unstable in a container.

    I have the config and media as external mounts.

    My music directory is divided into directories A-L and L-Z (forced on me by another device with limited memory).

    The mount in the container is to /mediaData

    in the container I can see:

    Code:
    I have no name!@7b808a7fec5f:/mediaData/Family/Music$ ls -al
    total 79664
    drwxrwxr-x  13 1000 1000    12288 Apr 24 08:28  .
    drwxrwxr-x  26 1000 1000    4096 Mar 31 12:38  ..
    drwxrwxr-x 443 1000 1000    28672 Apr 25 01:00  A-K
    drwxrwxr-x 508 1000 1000    36864 Apr 25 01:00  L-Z
    I have no name!@7b808a7fec5f:/mediaData/Family/Music$ cd L-Z
    I have no name!@7b808a7fec5f:/mediaData/Family/Music/L-Z$ ls -al
    total 2136
    drwxrwxr-x 508 1000 1000 36864 Apr 25 01:00  .
    drwxrwxr-x  13 1000 1000 12288 Apr 24 08:28  ..
    drwxrwxr-x  3 1000 1000  4096 Apr 25 01:00  Labelle
    drwxrwxr-x  3 1000 1000  4096 Apr 25 01:00 'Lacuna Coil'
    drwxrwxr-x  3 1000 1000  4096 Apr 25 01:00 'Lady Antebellum'
    drwxrwxr-x  4 1000 1000  4096 Apr 25 01:00 'Lady Gaga'
    drwxrwxr-x  4 1000 1000  4096 Apr 25 01:00 'Lana Del Rey'

    and for the A-K directory

    Code:
    I have no name!@7b808a7fec5f:/mediaData/Family/Music$ ls -al A-K/
    total 1852
    drwxrwxr-x 443 1000 1000 28672 Apr 25 01:00  .
    drwxrwxr-x  13 1000 1000 12288 Apr 24 08:28  ..
    drwxrwxr-x  3 1000 1000  4096 Apr  8 09:04  10CC
    drwxrwxr-x  5 1000 1000  4096 Apr 25 01:00  1927
    drwxrwxr-x  2 1000 1000  4096 Apr 20 13:35 '30 Seconds to Mars'
    drwxrwxr-x  3 1000 1000  4096 Apr 25 01:00 '3 Doors Down'

    gid of jellyfin in the container is 1000

    I have stopped the container, cleared out the config, deleted the container rebuilt the container and then added in a single library which only points to the L-K directory and it has produced the attached debug log.


    .txt   jellyfinScanL-Z.txt (Size: 8.01 KB / Downloads: 98)

    At no point will it find any files

    If I do the same with the A-K directory it scans properly

    Any suggestions? If I could see an error I could try to address it but I am not seeing/recognising any

    In the container as the jellyfin user I can access the files:

    Code:
    I have no name!@7b808a7fec5f:/mediaData/Family/Music/L-Z/Van Morrison$ cat Van\ Morrison\ -\ moondance\ .mp3 | head -1
    VAN MORRISONTALB
    I have no name!@7b808a7fec5f:/mediaData/Family/Music/L-Z/Van Morrison$
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-25, 08:30 PM
    The paths in your music library point to the "A-K" and "L-Z" folders? Then you have folders for each artist and in each artist folder are your songs? Are the songs in album folders?

    https://jellyfin.org/docs/general/server/media/music/
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    kc1
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:Australia
    #3
    2024-04-26, 01:13 AM
    Thanks for your response

    Yes under L-Z I have a folder for each artist and (notmally within that I have a folder for each album) - was basing it on https://jellyfin.org/docs/general/server/media/music/ though in some cases where it is just individual songs I just put them in a folder called the artist name (which i presume it will treat the artist name as the album). Doing a further test last night I created a new directory called LZ , pointed to that and then copied the first 2 directories across.

    A tree on my test mount point shows

    Code:
    tree
    .
    ├── In a Reverie
    │   ├── AlbumArtSmall.jpg
    │   ├── AlbumArt_{461ACD51-0CB0-45C2-8FAE-AD13D8DDA332}_Large.jpg
    │   ├── AlbumArt_{461ACD51-0CB0-45C2-8FAE-AD13D8DDA332}_Small.jpg
    │   ├── Folder.jpg
    │   ├── Lacuna Coil - Circle.mp3
    │   ├── Lacuna Coil - My Wings.mp3
    │   └── desktop.ini
    ├── La Rocca
    │   ├── 01-la_rocca-sketches_(20_something_life).mp3
    │   ├── 02-la_rocca-if_you_need_the_morning.mp3
    │   ├── 03-la_rocca-this_life.mp3
    │   ├── 04-la_rocca-the_truth.mp3
    │   ├── 05-la_rocca-goodnight.mp3
    │   ├── 06-la_rocca-some_you_give_away.mp3
    │   ├── 07-la_rocca-sing_song_sung.mp3
    │   ├── 08-la_rocca-eyes_while_open.mp3
    │   ├── 09-la_rocca-cats.mp3
    │   ├── 10-la_rocca-non_believer.mp3
    │   └── 11-la_rocca-capital_pill.mp3
    └── Labelle
        ├── Nightbirds
        │   ├── 01 - Labelle  - Lady Marmalade.mp3
        │   ├── 02 - Labelle  - Somebody Somewhere.mp3
        │   ├── 03 - Labelle  - Are You Lonely.mp3
        │   ├── 04 - Labelle  - It Took A Long Time.mp3
        │   ├── 05 - Labelle  - Don't Bring Me Down.mp3
        │   ├── 06 - Labelle  - What Can I Do For You.mp3
        │   ├── 07 - Labelle  - Nightbird.mp3
        │   ├── 08 - Labelle  - Space Children.mp3
        │   ├── 09 - Labelle  - All Girl Band.mp3
        │   ├── 10 - Labelle  - You Turn Me On.mp3
        │   ├── RL500.jpg
        │   ├── Thumbs.db
        │   └── list.txt
        ├── playList.m3u
        └── playList.xml


    A scan here only picks up 13 files (the ones under La Rocca and In a Reverie). It ignores the Nightbirds folder completely. If I move Nightbirds up a level even with the artist name then it gets picked up fine ..... but to be honest I think this is a different problem to by whole directory being shunned
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-04-26, 03:48 AM
    What are the permissions on /mediaData and /mediaData/Family?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    kc1
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:Australia
    #5
    2024-04-26, 04:22 AM
    From the container

    root@7b808a7fec5fConfused-facemediaData/Family# ls -al
    total 267756
    drwxrwxr-x 27 1000 1000 4096 Apr 26 10:34 .
    drwxr-xr-x 21 1000 users 12288 Apr 25 08:50 ..

    from what I can see RX to everyone

    Remeber the scan works for the A-K directory
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-04-26, 01:23 PM
    For testing, create another Music folder in /mediaData/Family. Then create some symlinks in /mediaData/Family/newMusic (or whatever you call it) that points to some of the undetected folders in L-Z.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    kc1
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:Australia
    #7
    2024-04-26, 09:24 PM
    It's nice to know we think alike - I have done that but actually created a smaller directory with just 3 files. But doing it exactly as you suggested I get:

    Code:
    >tree -l newMusic/
    newMusic/
    ├── La Rocca -> /mediaData/Family/Music/L-Z/La Rocca/
    │   ├── 01-la_rocca-sketches_(20_something_life).mp3
    │   ├── 02-la_rocca-if_you_need_the_morning.mp3
    │   ├── 03-la_rocca-this_life.mp3
    │   ├── 04-la_rocca-the_truth.mp3
    │   ├── 05-la_rocca-goodnight.mp3
    │   ├── 06-la_rocca-some_you_give_away.mp3
    │   ├── 07-la_rocca-sing_song_sung.mp3
    │   ├── 08-la_rocca-eyes_while_open.mp3
    │   ├── 09-la_rocca-cats.mp3
    │   ├── 10-la_rocca-non_believer.mp3
    │   └── 11-la_rocca-capital_pill.mp3
    ├── Labelle -> /mediaData/Family/Music/L-Z/Labelle/
    │   ├── Labelle - Nightbirds
    │   │   ├── 01 - Labelle  - Lady Marmalade.mp3
    │   │   ├── 02 - Labelle  - Somebody Somewhere.mp3
    │   │   ├── 03 - Labelle  - Are You Lonely.mp3
    │   │   ├── 04 - Labelle  - It Took A Long Time.mp3
    │   │   ├── 05 - Labelle  - Don't Bring Me Down.mp3
    │   │   ├── 06 - Labelle  - What Can I Do For You.mp3
    │   │   ├── 07 - Labelle  - Nightbird.mp3
    │   │   ├── 08 - Labelle  - Space Children.mp3
    │   │   ├── 09 - Labelle  - All Girl Band.mp3
    │   │   ├── 10 - Labelle  - You Turn Me On.mp3
    │   │   ├── RL500.jpg
    │   │   ├── Thumbs.db
    │   │   └── list.txt
    │   ├── playList.m3u
    │   └── playList.xml
    └── Lacuna Coil -> /mediaData/Family/Music/L-Z/Lacuna Coil/
        ├── In a Reverie
        │   ├── AlbumArtSmall.jpg
        │   ├── AlbumArt_{461ACD51-0CB0-45C2-8FAE-AD13D8DDA332}_Large.jpg
        │   ├── AlbumArt_{461ACD51-0CB0-45C2-8FAE-AD13D8DDA332}_Small.jpg
        │   ├── Folder.jpg
        │   ├── Lacuna Coil - Circle.mp3
        │   ├── Lacuna Coil - My Wings.mp3
        │   └── desktop.ini
        ├── desktop.ini
        ├── playList.m3u
        └── playList.xml

    5 directories, 36 files


    And with this structure it only finds the 11 songs in the 'La Rocca' directory
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-04-26, 09:33 PM (This post was last modified: 2024-04-27, 01:47 AM by TheDreadPirate. Edited 1 time in total.)
    La Rocca is also the only one without any playlist files in it. Could that be the cause? Do any of the folders in A-K have playlist files in them?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-04-26, 09:39 PM
    Also, omg. I was wondering how you were getting your formatting. Where has "tree" been my whole life?! Loving it.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    kc1
    Offline

    Junior Member

    Posts: 8
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    Country:Australia
    #10
    2024-04-27, 01:31 AM
    You may be on to something - I removed the playList.xml/m3u files and all mp3 files were picked up in that test directory

    Also tried removing just the playList.xml files on another folder and that also seemed to do the trick

    Removed a playlist.xml file from the L-Z directory and now it at least scans ( only finds 7K of the 13K there but that's a good start )

    Now moving folders into the test mount point 1 by one to see which mp2 files are being skipped .... should be an enjoyable Weekend

    Thanks for your help

    re tree - yeah, like all things linux you stumble across lots of utilities when you are trying tyo sort things out - the art is in remembering them all when you need them!
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode