• 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 Troubleshooting Media Scanning & Identification Weird issue identifying media

     
    • 0 Vote(s) - 0 Average

    Weird issue identifying media

    genesaika
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-08-24, 07:40 AM
    I'm running Jellyfin in trueNAS scale. And using SMB on Windows 11 pro to add subfolders and files. 

    So last night I started setting up my media folders with an anime I happened to have downloaded. After a while of playing with permissions and adjusting things I got it to work and read all of the info. So I copied the permissions and duplicated the settings for my other media types, even though I didn't have any files to test with.

    Well tonight I tried to add a music file ( .flac) and it wouldn't show the folders in my music directory. The file works fine directly in the music folder, but not in an artist folder.

    Turns out the only media folders that read sub folders are my anime and TV shows. I added a folder to the movies folder and it won't show up.

    I looked at the log file and it shows a lack of permissions for the sub folders? Why would the same settings do different things with different types of media?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-08-24, 03:37 PM
    1) Make sure that jellyfin has read and execute permissions to the library folder and all subfolders. When you create subfolders they do not automatically inherit all of the parent directory's permissions in Linux.
    2) Is your music properly tagged? Not the file name, but the file metadata?
    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]
    genesaika
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #3
    2023-08-24, 06:39 PM
    I've gone through trueNAS and told it to give permission to subfolders a few times now assuming that was the case. It's confusing to me that the one directory works perfectly as expected while these do not, even with the same permissions.

    The file does not have proper metadata, but it is being recognized in the " root " directory that the library is pointing to.
    genesaika
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #4
    2023-08-24, 06:46 PM (This post was last modified: 2023-08-24, 06:47 PM by genesaika. Edited 2 times in total.)
    I have my file structure as follows:

    /mnt
    ..../Main
    ..../Media
    ........ /Anime
    ........ /Music
    ........ /Etc

    Jellyfin has permissions for the full .../Media folder. Each library points to the appropriate subfolder inside of .../Media. I copied the permissions from the .../Anime folder to the rest of them after getting it to work properly.

    The anime folder still notices subfolders for series and attempts to get metadata for them even with no actual files in the folder. The music folder does not recognize the subfolders for artists, but will recognize the individual files inside of the music folder.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2023-08-24, 06:58 PM
    Code:
    cd /mnt
    touch list.txt
    find . -type d -maxdepth 6 | while read dir ; do ls -ld "$dir" >> list.txt ; done

    That will write all the directory permissions to /mnt/list.txt. If you don't mind sharing that with us, or to me via PM, that would greatly expedite the troubleshooting process.
    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]
    genesaika
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #6
    2023-08-26, 03:35 AM
    ok. so I couldn't get that too work, it kept telling me it didn't have permissions to use the " touch list.txt " command. I did figure out what the issue was though. After looking over the permissions for the Media folder, I hadn't given user permissions, just group. The biggest question is how was the TV SHows and Anime folders working fine with those permissions? oh well it works now
    « 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