Bug 429736 - Skip invalid entries in saved playlist (.m3u)
Summary: Skip invalid entries in saved playlist (.m3u)
Status: RESOLVED FIXED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 20.08.3
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-11-27 17:55 UTC by postix
Modified: 2023-02-05 04:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 23.04
Sentry Crash Report:


Attachments
Screenshot (45.17 KB, image/png)
2020-11-27 17:55 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
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!