• 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 duplicate music albums

     
    • 0 Vote(s) - 0 Average

    duplicate music albums

    duplicate music albums shown in music library if this artist already was in another library.
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #1
    2024-09-16, 03:01 PM (This post was last modified: 2024-09-16, 03:03 PM by DenSilent. Edited 1 time in total.)
    Server - VM with Ubuntu Server 24.04
    Media files - NFS share on another VM, mounted to /mnt

    Problem - duplicate music albums shown in music library if this artist already was in another library.

    Ok, i have multiple music libraries (one for user, each user uses (and have access to) only his own library).
    Lets say there is an artist "Artist A" in music library "Library A". And a bunch of another different artist.
    Path to media files is /mnt/MusicA/

    I create separate music library "Library B" with almost completely different artists BUT it also has "Artist A"
    Path to media files is /mnt/MusicB/

    There is only one path to media files in each library. And they are different.

    Yes, there are two different folders with ArtistA's music. Albums and tracks obviously the same, id tags in files  the same. Paths are different. No hardlinks, two different folders in different places but with same content.

    If we open "Library B" we will see that all Artist A albums shown twice. If we open «media info» - paths to media files are different. One copy of an album has paths to /mnt/MusicA another copy of the album to /mnt/MusicB/
    But there is no /mnt/MusicA in "Library B" config. Looks like a bug.

    I tried to rename track files in /mnt/MusicB/ArtistA
    So both libraries still have Artist A music but path to files and filenames are different
    Then I delete "Library B" and create it again.
    No difference. Still two copies of the same albums with different paths. 
    Is there a way to fix this behavior?


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-16, 03:58 PM
    I haven't been able to reproduce this issue. The only thing that makes sense is that you accidentally added the folder twice, which appears to be the case.

    /mnt/music
    /mnt/MusicO
    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]
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #3
    2024-09-16, 04:17 PM (This post was last modified: 2024-09-16, 04:24 PM by DenSilent. Edited 3 times in total.)
    Yes, that's make sense but it is not the case Slightly-frowning-face
    Screenshot 2 - this is real settings of my two libraries with duplicate albums.
    There is third one "the first" library which was created long ago.  Screenshot 3.  It doesn’t show duplicate albums. OK, this is wrong. Now, if I open artist page in original old library I can see diblicate albums there too.
    Maybe I can provide some log files (which ones?)?

    Interestingly in tabs "Albums" or "Artists" or "Album Artists" NO duplicates. And if you open album from there - it is "correct" one, with correct path to media files. BUT if you open "artist" tab and open an artist page - there you can see duplicate albums.


    Attached Files Thumbnail(s)
                   
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #4
    2024-09-16, 04:29 PM (This post was last modified: 2024-09-16, 06:17 PM by DenSilent. Edited 4 times in total.)
    OK, it is getting weirder. And now I can understand what my users complain about. I see duplicates only because i have access to both libraries. If I disable access to first old library (Library A) I cannot open page of Artist A (in library B) at all. Empty page with never-ending load animation.

    Looks like when anybody tries to open Artist A page jellifyn tries to open this artist page from Library A only. If user have access to Library A he sees duplicates. If not - he cannot open this page at all (even if he has Artist A in his Library B).

    EDIT
    It is repeatable (for me). User B и C have the same artist B in both their libraries with different paths to media files. User B Library B is older. User C cannot access Artist B page in his library C unless he has access to user b library b. Both of them open the same page of Artist B (from library b) with duplicate albums.
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #5
    2024-09-21, 12:10 AM (This post was last modified: 2024-09-21, 12:10 AM by DenSilent.)
    Well, I reinstalled the server from scratch. New ubuntu server 24.04 installation, new jellyfin installation.

    Only difference from "default" installation settings - I use proxy server via service settings override

    [Service]
    Environment=http_proxy=mylocalproxy

    Same problem. Any ideas? Now I'm sure it is a bug. If two (or more) libraries have the same artist, Jellyfin for whatever reason, "merges" them into one artist's page. And you can open this artist page only if you have access to library to which this artist was added first.

    For example, brother and sister have two separate music libraries and separate folders with media files. Brother created his library first. Brother has Avril Lavigne and Canibal Corpse. Sister has Madonna and Avril Lavigne. Sister cannot open her Avril Lavigne artist page unless she has access to her brothers' library. And in brothers' library he see duplicate albums for Avrile Lavigne. One album from his folder and the second from his sister's fоlder (this folder is NOT added in his library settings).

    I attached two screenshots from my "clean" installation. Please notice URL for artist page (Guano Apes) from two completely different libraries. Those URLs are the same. Why?


    Attached Files Thumbnail(s)
           
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-09-21, 02:43 AM
    Can you show all of your libraries and all the paths included 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]
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #7
    2024-09-21, 08:38 AM
    (2024-09-21, 02:43 AM)TheDreadPirate Wrote: Can you show all of your libraries and all the paths included in them?
    Sure. Jellyfin shows paths  (if there is only one) right on Administration -> Libraries page. Relevant libraries are the music ones.


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-09-21, 06:34 PM
    Upon further testing, I believe this may be a bug.

    Submit a bug report here.

    https://github.com/jellyfin/jellyfin/issues
    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]
    DenSilent
    Offline

    Junior Member

    Posts: 12
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #9
    2024-11-02, 07:35 AM
    >>Submit a bug report here.
    OK. done
    https://github.com/jellyfin/jellyfin/issues/12764

    BTW - updated to latest server version 10.10.0 - same problem.
    Since then I created another music lib for another user. Overlap of music artists increases, it looking messier and messier
    « 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