Bug 468987 - Elisa scan not picking up files from NTFS partition
Summary: Elisa scan not picking up files from NTFS partition
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: baloo (other bugs)
Version First Reported In: 22.12.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 07:25 UTC by Kris Nelson
Modified: 2023-11-17 15:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 24.02.0
Sentry Crash Report:


Attachments
The final result of Elisa data being empty, along with the Elisa and File Search configs, as well as an example file from the location that's not getting scanned properly. (338.33 KB, image/png)
2023-04-26 07:25 UTC, Kris Nelson
Details
Successful scan after changing to "scan the filesystem directly" (492.80 KB, image/png)
2023-04-26 22:18 UTC, Kris Nelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kris Nelson 2023-04-26 07:25:38 UTC
Created attachment 158433 [details]
The final result of Elisa data being empty, along with the Elisa and File Search configs, as well as an example file from the location that's not getting scanned properly.

SUMMARY
I have a secondary HDD that is formatted as NTFS and contains a "Music" folder with all my music files. I've mounted the HDD under /media/Data, and symlinked my ~/Music folder to /media/Data/Music.

After opening Elisa and seeing no music info get picked up by the scan, I went into the options and saw the notice that symlinks aren't followed, so I removed ~/Music from the location list and added /media/Data/Music. I then forced a re-scan from Elisa but still nothing showed up. Wondered if it was because the folder wasn't indexed, so I opened "File Search - System Settings", added the /media/Data/Music folder with indexing enabled, then rebooted as requested. After logging back in it said that indexing was completed, but after opening Elisa and forcing another scan (including a "Reset Database and Re-Scan Everything" action) still nothing from that folder is getting picked up.

I confirmed that if I search within Dolphin for a music file that exists in /media/Data/Music it finds it successfully. I also confirmed that I can manually open files from this location in Elisa and it does play them.

STEPS TO REPRODUCE
1. Have a NTFS partition mounted under /media, with a sub-folder containing music files.
2. Add the Music sub-folder as an indexed-enabled entry within "File Search - System Settings".
3. Add the Music sub-folder as a location within "Configure - Elisa".
4. Initiate a scan for new music within Elisa.

OBSERVED RESULT
After initiating a scan within Elisa, nothing from the NTFS partition's Music folder is populated under Albums/Artists/Tracks/Genres. Can successfully find files from that Music folder by searching within Dolphin.

EXPECTED RESULT
After initiating a scan within Elisa, the music from the NTFS partition's Music folder is populated under Albums/Artists/Tracks/Genres.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 38 (KDE Plasma)
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Comment 1 Nate Graham 2023-04-26 19:49:08 UTC
If you switch to the "Scan the filesystem directly" indexer and restart Elisa, does it find your music files?
Comment 2 Kris Nelson 2023-04-26 22:17:28 UTC
(In reply to Nate Graham from comment #1)
> If you switch to the "Scan the filesystem directly" indexer and restart
> Elisa, does it find your music files?

Just tested that, and yes it did find everything expected from the Music folder (attached screenshot confirmation - "elisa - scan the filesystem directly result.png").
Comment 3 Kris Nelson 2023-04-26 22:18:34 UTC
Created attachment 158468 [details]
Successful scan after changing to "scan the filesystem directly"
Comment 4 Kris Nelson 2023-04-27 07:49:23 UTC
Found out that I should have switched the status back to "reported" along with my last reply, so doing that now.
Comment 5 Nate Graham 2023-04-27 15:18:08 UTC
All right, then it does indeed seem to be a bug in the default Baloo-based indexer. Thanks.
Comment 6 Christoph Cullmann 2023-11-17 15:50:08 UTC
Should be fixed by removing the 'fast' indexer.
https://invent.kde.org/multimedia/elisa/-/merge_requests/521