From 9fe127e76f7ec2335c80b3ba78afcd050d16a47c Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 24 Nov 2021 06:25:02 +0000 Subject: [PATCH] add TODO about tracking song play moment --- TODO.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..881769e --- /dev/null +++ b/TODO.txt @@ -0,0 +1,18 @@ +* song/artist/album repetition after a long pause + + After a long pause in the player, it becomes possible to add to the playlist + a song that was played recently, even if it was added to the playlist + sufficiently long ago. + + For example 'Song' by 'Artist' is added to the playlist. Then the player is + paused for more than the 'min-album-interval'. At this point it is possible + that a new song by 'Artist' is added to the playlist, which would cause + artist repetition on playback. + + The fix would be to project song play moment and use that for the DB + queries. That would require keeping player state, including the playlist. + Also, song duration needs to be part of the database. Song last play time + needs to be stored in DB. + + +# vim: set ai tw=78 : -- 2.39.2