feishin/src
Kendall Garner eff1cee6a3
[bugfix]: Fix repeated track scrobbling (#480)
* [bugfix]: Fix repeated track scrobbling

This commit fixes scrobbling tracks that are repeated in the queue (either due
to a REPEAT_ONE or just enqueued multiple times). There are two extra cases:

1. The current player changes. The player alternates from 1 -> 2 -> 1 whenever playback
finishes normally, so this is a sort of epoch that can be used to detect both repeat one
and track being enqueued multiple times.
2. The current index changes. The player gets set back to 1 in a variety of cases (most often
previous/next), so the check in (1) is not enough. However, the index changing will help identify
that this is a new song.

* use unique id instead
2024-02-01 04:12:39 +00:00
..
__tests__ Lint all files 2023-07-01 19:14:12 -07:00
i18n [enhancement]: support clearing query and http cache (#475) 2024-01-31 06:27:56 +00:00
main [enhancement]: support clearing query and http cache (#475) 2024-01-31 06:27:56 +00:00
remote [bugfix/feature]: Improve ratings (#332) 2023-10-28 20:00:01 -07:00
renderer [bugfix]: Fix repeated track scrobbling (#480) 2024-02-01 04:12:39 +00:00
types Add MPRIS support (#25) 2023-02-08 23:57:06 -08:00