Bug 429736

Summary: Skip invalid entries in saved playlist (.m3u)
Product: [Applications] Elisa Reporter: postix <postix>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: normal CC: nate, postix
Priority: NOR Keywords: usability
Version: 20.08.3   
Target Milestone: ---   
Platform: Other   
OS: Other   
See Also: https://bugs.kde.org/show_bug.cgi?id=389187
Latest Commit: Version Fixed In: 23.04
Sentry Crash Report:
Attachments: Screenshot

Description postix 2020-11-27 17:55:14 UTC
Created attachment 133690 [details]
Screenshot

SUMMARY

If you have a playlist file "playlist.m3u" containing an invalid song like

file:///path/to/song1.mp3
file:///path/to/song2.mp3
file:///invalid_does_not_exist.mp3

elisa will open it, display 

1. the first song
2. the missing cover "crossed circle" icon
3. an empty entry

Please see the screenshot.


It'd be better if Elisa omitted lines which are not valid in any sense.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2023-02-01 17:56:50 UTC
In progress with https://invent.kde.org/multimedia/elisa/-/merge_requests/415.
Comment 2 Nate Graham 2023-02-05 04:03:34 UTC
Fixed by Nikita Karpei with the commits in https://invent.kde.org/multimedia/elisa/-/merge_requests/415!