Last played incorrect in add track box #120

Closed
opened 2022-06-16 17:00:49 +01:00 by kae · 1 comment
Owner

For example, "We belong" by Pat Benatar, track_id=745. Listed as never played in track add dialog, but listed as last played 48w6d ago in playlist.

For example, "We belong" by Pat Benatar, track_id=745. Listed as never played in track add dialog, but listed as last played 48w6d ago in playlist.
kae added the
bug
label 2022-06-16 17:00:49 +01:00
Author
Owner

Problem with tracks not played since tracks.lastplayed field was reliably updated. Fixed with update tracks set lastplayed = (select max(lastplayed) from playdates where playdates.track_id = tracks.id) where tracks.lastplayed is null;

Problem with tracks not played since tracks.lastplayed field was reliably updated. Fixed with `update tracks set lastplayed = (select max(lastplayed) from playdates where playdates.track_id = tracks.id) where tracks.lastplayed is null;`
kae closed this issue 2022-06-16 19:04:10 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kae/musicmuster#120
No description provided.