duplicate music albums - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Media Scanning & Identification (https://forum.jellyfin.org/f-media-scanning-identification) +---- Thread: duplicate music albums (/t-duplicate-music-albums) |
duplicate music albums - DenSilent - 2024-09-16 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? RE: duplicate music albums - TheDreadPirate - 2024-09-16 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 RE: duplicate music albums - DenSilent - 2024-09-16 Yes, that's make sense but it is not the case 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. RE: duplicate music albums - DenSilent - 2024-09-16 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. RE: duplicate music albums - DenSilent - 2024-09-21 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? RE: duplicate music albums - TheDreadPirate - 2024-09-21 Can you show all of your libraries and all the paths included in them? RE: duplicate music albums - DenSilent - 2024-09-21 (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. RE: duplicate music albums - TheDreadPirate - 2024-09-21 Upon further testing, I believe this may be a bug. Submit a bug report here. https://github.com/jellyfin/jellyfin/issues RE: duplicate music albums - DenSilent - 2024-11-02 >>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 |