All,
A real puzzle (Michael??) ...
Hate to start a new thread given there are 101 pages of posts, but "duplicat" finds no matches.
What I see: in my library, there are duplicates of albums. It seems random. Not all albums are duplicated, just some. This screen shots shows two of them, "The Art of the Prima Donna" and "Battle and Domingo ..."
Attachment 27254
Today I found a pattern. For all duplicates, one of the file paths for tracks in the two albums includes a second / in the file path shown when I use More information that shows Location (copy/paste from the LMS Web app):
Location: /mnt/nas326/music/Opera/The Art of the Prima Donna/01 - Gounod_ Romeo et Juliette_ Ah! Je veux vivre.flac
versus (copy/paste from the LMS web app):
Location: /mnt/nas326/music//Opera/The Art of the Prima Donna/01 - Gounod_ Romeo et Juliette_ Ah! Je veux vivre.flac
I have not done an exhaustive search, but every duplicate I've checked shows this:
/mnt/nas326/music/
versus
/mnt/nas326/music//
Note that duplicate (?) / on the second path.
As you can see, these files are on a NAS. I confirm that there are NOT two folders on the NAS. Two screen shots show the FileManger from the NAS itself and what Windows Explorer shows for mounted NAS (see uploaded screen shots below -- they are, unfortunately mixed up as the slimdevices forum software today is being a right PITA!).
No duplicate folders.
Now, it gets even more strange. If, using the primary LMS Genres library listing, I add a track from these two different album listings as shown in the library to a playlist, then use the M icon on the track in the playlist to see More Information the Location for NEITHER of them show the path with the two // in it (both show the single / path). Method to add:
My Music > Genres > Opera > All Albums > click on album title to display tracks > + icon from track listing
BUT, if I use Erland Erickson's Custom Browse > Genre Album > Opera > click on album title > + icon from track listing, then the click the M on the track listing in the playlist for More informaiton, the Location: for the two tracks DO SHOW the different paths, one with the normal /mnt/nas326/music/ and one with /mnt/nas326/music//
NOTE: both play without issue. So, LMS is finding and playing the actual audio files correctly. It's the LMS Library display that is faulty, and by extension the LMS libary scanning code that is creating these duplicate albums. At the least I can see a common issue with all the duplicates I've checked as I explain above.
So the big question is, where is that second / character coming from? Also, why does the LMS library scanner add it? Also, why does the LMS library scanner even care if there are two // ?
I have cleared the library and rescanned yet these odd duplicate albums come back so the LMS library scanning code is finding something, but what I can't begin to guess as neither the NAS FileManager nor Windows File Explorer "find" it, whatever it is.
System:
NAS NAS326
Firmware version:V5.21(AAZF.3)
LMS
Logitech Media Server Status
Logitech Media Server Version: 7.9.2 - 1543258616 @ Mon Nov 26 20:30:03 CET 2018
Hostname: piCorePlayer
Server IP Address: 192.168.1.67
Server HTTP Port Number: 9000
Operating system: piCore - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.0 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.056
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 3
Library Statistics
Total Images: 0
Total Videos: 0
Total Tracks: 54,646
Total Albums: 3,687
Total Artists: 8,666
Total Genres: 63
Total Playing Time: 5482:55:05
I've three different players but that's not relevant as this is a server not player issue.