fix issues in management of the single disc property of albums
ClosedPublic

Authored by mgallien on Jun 30 2018, 8:04 AM.

Details

Summary

fix issues in management of the single disc property of albums

Test Plan

tests are OK including the new one

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mgallien requested review of this revision.Jun 30 2018, 8:04 AM
mgallien created this revision.
astippich accepted this revision.Jul 3 2018, 4:59 PM

Works fine and tests pass. What was the issue here?

This revision is now accepted and ready to land.Jul 3 2018, 4:59 PM

When importing tracks, a newly created album is by default a mono disc kind of album. The code was not properly sending tracks modified signals when this property was modified for their album.

The second problem was that if an album gets its covered be modified, the code doing that was doing the wrong test (equality instead of inequality).

This revision was automatically updated to reflect the committed changes.