SUMMARY Elisa 21.11.70 from git repository. All my music files are encoded as flac, and fails to be indexed into the Elisa library (no error given - the music just doesn't turn up in the library). An example of the properties dialogue from Foobar2000 for one of my music files is as follows: Sample rate : 44100 Hz Channels : 2 Bits per sample : 16 Bitrate : 623 kbps Codec : FLAC Encoding : lossless Embedded cuesheet : no Audio MD5 : 8A3282936DEE4E90D7C618E25ECE21D6 The file also has an embeded cover.jpg which is 500x500 pixels. STEPS TO REPRODUCE 1. Open Elisa configure dialogue and select /home/rob/Music for music folder location 2. Select "refresh music collection". Elisa displays "imported 22 tracks". That is weird because there are 32 tracks in this test in that location. 3. Click "albums" - no entries there OBSERVED RESULT Clicking albums or any of the other options in the left pain (eg tracks artists etc) shows "nothing to display" EXPECTED RESULT Expect to see an alum of 32 tracks in this test SOFTWARE/OS VERSIONS KDE Plasma Version: 5.23.2 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Graphics platform: Wayland
I tracked down the cause of this - an apparently corrupt baloo file indexer database, To fix the problem I did the following in a terminal: 1. balooctl purge 2. balooctl disable 3, rm -rf ~/.local/share/baloo 4. balooctl enable 5. balooctl resume You can check baloo's progress by typing balooctl status periodically and you can see "Files waiting for content indexing: __" tells you how many files left to index. When that entry goes to zero you know baloo is finished for now. If everything has worked properly the entry "Files failed to index:__" should say "0". I fired up Elisa again after all that an presto - all my albums are now neatly appearing as a library. As a side note you can check if your music files have been baloo-indexed properly by going into Dolphin and opening a folder with music files, right clicking , and adding in (eg) "album" or "artist" columns. If those columns are still empty and you know there are metatags inside them, then you know you've still got a problem with baloo indexing, and therefore Elisa won't work.