Diffusion Elisa a3eb443d137b

fix restore of tracks with missing metadata in playlist

Authored by mgallien on Jun 19 2019, 5:12 AM.

Description

fix restore of tracks with missing metadata in playlist

Summary:
fix storing of tracks without track, disc, ...

correctly store a null when track, disc, channels, bit rate, sample rate
are not existing in the track data

will need a complete reindexing to fix users database

let play list and audio player restore state when track has few metadata

when album, track number or disc number are missing, the state is not
correctly restored at startup

let those metadata be optional in the saved state such that tracks
missing those are still restored

Test Plan: new test is OK and a track without album, track and disc numbers will restore and playback will restore at correct position

Reviewers: Elisa, astippich

Reviewed By: astippich

Subscribers: astippich, Elisa

Tags: Elisa

Differential Revision: https://phabricator.kde.org/D21900

Details

Committed
mgallienJun 24 2019, 3:32 PM
Reviewer
astippich
Differential Revision
D21900: fix restore of tracks with missing metadata in playlist
Parents
R255:69168dab33e5: add 0.4.1 release to appstream metadata file
Branches
Unknown
Tags
Unknown