Bug 441291

Summary: mp3 invisible
Product: [Applications] Elisa Reporter: ML <magowjzeta>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, nate
Priority: NOR    
Version First Reported In: 21.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 24.02.0
Sentry Crash Report:

Description ML 2021-08-21 13:00:07 UTC
SUMMARY


STEPS TO REPRODUCE
1. mp3 dans répertoire scanné par Elisa
2. 
3. 

OBSERVED RESULT
mp3 invisible by Elisa. Switch to direct disk analysis mode, Elisa finds them, reads them etc... Switch to normal indexing, the mp3s disappear even if they are being read
a priori it is not a problem of encoding since even transcoded via lame elisa still does not see the files except in direct analysis...
EXPECTED RESULT
See mp3

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-08-23 18:15:25 UTC
Does the baloo file indexer see your MP3s if you search for them using KRunner or Kickoff or `baloosearch [filename]` in a terminal window?
Comment 2 ML 2021-08-24 10:01:28 UTC
(In reply to Nate Graham from comment #1)
> Does the baloo file indexer see your MP3s if you search for them using
> KRunner or Kickoff or `baloosearch [filename]` in a terminal window?

magowjzeta@mago-buro:~/Musique/Pink Floyd/1969 - Ummagumma$ baloosearch *.mp3
Temps écoulé : 79,3512 ms
magowjzeta@mago-buro:~/Musique/Pink Floyd/1969 - Ummagumma$ ls
'CD 01 - 01 - Astronomy Domine.mp3'
'CD 01 - 02 - Careful With That Axe Eugene.mp3'
'CD 01 - 03 - Set The Controls For The Heart Of The Sun.mp3'
'CD 01 - 04 - A Saucerful Of Secrets.mp3'
'CD 02 - 01 - Sysyphus (Part 1).mp3'
'CD 02 - 02 - Sysyphus (Part 2).mp3'
'CD 02 - 03 - Sysyphus (Part 3).mp3'
'CD 02 - 04 - Sysyphus (Part 4).mp3'
'CD 02 - 05 - Grantchester Meadows.mp3'
'CD 02 - 06 - Several Species Of Small Furry Animals Gathered Together In A Cave And Grooving With A Pict.mp3'
'CD 02 - 07 - The Narrow Way (Part 1).mp3'
'CD 02 - 08 - The Narrow Way (Part 2).mp3'
'CD 02 - 09 - The Narrow Way (Part 3).mp3'
'CD 02 - 10 - The Grand Vizier'\''s Garden Party (Entrance).mp3'
'CD 02 - 11 - The Grand Vizier'\''s Garden Party (Entertainment).mp3'
'CD 02 - 12 - The Grand Vizier'\''s Garden Party (Exit).mp3'
 cover.jpg
 Covers
Comment 3 ML 2021-08-24 10:05:46 UTC
(In reply to Nate Graham from comment #1)
> Does the baloo file indexer see your MP3s if you search for them using
> KRunner or Kickoff or `baloosearch [filename]` in a terminal window?

On the other hand I find them via krunner
Comment 4 Nate Graham 2021-08-24 15:08:31 UTC
Hmm, seems like Baloo is doing its part. The issue may be in Elisa. But first can you confirm that you have MP3 playback capabilities on your system?
Comment 5 ML 2021-08-25 06:00:43 UTC
(In reply to Nate Graham from comment #4)
> Hmm, seems like Baloo is doing its part. The issue may be in Elisa. But
> first can you confirm that you have MP3 playback capabilities on your system?

Sorry for the wait, I was not at home. So, to be as complete as possible here is what I observe.

- Elisa in "system analysis" mode sees and plays the mp3s correctly, resumes playback etc... In short, it seems to react normally.
- Elisa in native fast indexing mode, does not see some files at all. If I use the "open with" function the playback is done normally, if I do stop and then play the playback resumes but if I close Elisa when I reopen it is impossible to launch the playback, the file seems to be no longer present (but is well referenced in the playlist).

I tested the playback with Juk, Dragon Player, VLC and SMPlayer (ubuntu stable repository versions for the last three, Juk I don't remember... I can check if you want) and no problems.

I tried to modify the ID3V2 tags with Elisa directly. No change. Then kid3 by deleting everything but the ID3... No noticeable change.

Thinking that there was a problem with the encoding, I transcoded the mp3s with fre:ac (for pure ease) using lame as decoder/encoder and some files are now found by Elisa, but not others without me being able to determine what causes this difference...

And finally I see the same problem with Elisa 19.12.3-1 (version originally installed with kubuntu).
Comment 6 ML 2021-08-30 06:56:42 UTC
I still can't get the complete list, but I found a problem. 

In the "artist name" or "album artists" fields, the | symbol at the end of the field causes an indexing error (Elisa finds, indexes and... does not integrate the mp3s in the list). On the other hand, the | symbol in itself does not disturb her (for example "John Carpenter | Alan Howarth" as an artist name does not cause her any problems.

I think more and more that it is a problem of reading the tag, more than recognising the files themselves.
Comment 7 Nate Graham 2021-08-30 15:42:09 UTC
Thanks for the info.
Comment 8 Christoph Cullmann 2023-11-17 15:44:07 UTC
- Elisa in native fast indexing mode, does not see some files at all.

Should be fixed by removing the 'fast' indexer.
https://invent.kde.org/multimedia/elisa/-/merge_requests/521