https://bugs.kde.org/show_bug.cgi?id=476009

            Bug ID: 476009
           Summary: Play count stored only in database and not written to
                    files, so it gets reset to 0 every time you reset the
                    database
    Classification: Applications
           Product: Elisa
           Version: 22.11.80
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE
1. Find a song and look at its Metadata in Elisa. Take note of the Play Count
value
2. Play a song until the end
3. Show the song's metadata again and see that the Play Count has increased by
1
4. Hamburger Menu -> Reset Database and Re-Scan Everything
5. Restart the app to be safe
6. Show the song's metadata again


OBSERVED RESULT
Play Count has been reset to 0.


EXPECTED RESULT
Play count is preserved because it was written to the file's own meatdata in
the id3 "playcount" attribute, rather than only stored internally in Elisa's
own database. To limit file writes, Elisa could maybe update the play counts
only on quit, rather live. This would come at the expense of keeping an
accurate tally when the app crashes or gets killed by something external, but
maybe that's an acceptable price to pay.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to