Opened 14 years ago

Closed 14 years ago

#950 closed defect (fixed)

Mythmusic clears song rating during 'Scan for New Music'

Reported by: stutty@… Owned by: Isaac Richards
Priority: minor Milestone: 0.19
Component: mythmusic Version: 0.18.1
Severity: low Keywords: rating music track scan
Cc: Ticket locked: no

Description

During a Scan for New Music if any files appear to have 'changed' mythmusic puts the latest metadata into the music database, unfortunately this also erases the current songs Rating (as this is not stored in the id3tags but is part of the metadata structure). Fortunately Playcount is not affected by the Metadata::updateDatabase call.

Although a minor defect, (its only ratings, and only on files that have been changed - typically id3 tags updated), it does cause _all_ ratings to be lost on an upgrade from 0.18 to the latest SVN, so would be worth fixing before the next release.

Attachments (1)

rating.diff (870 bytes) - added by stutty@… 14 years ago.
Patch to address rating item only, more generic fix would be better, tested ok.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by stutty@…

Attachment: rating.diff added

Patch to address rating item only, more generic fix would be better, tested ok.

comment:1 Changed 14 years ago by stutty@…

Noticed that the lastplay TIMESTAMP field is updated on every update to the track details, not sure if this is because I'm using MySQL 4.0.* or whether it should really be a DATETIME field instead?

comment:2 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [8549]) Close #950 by applying patch.

Note: See TracTickets for help on using tickets.