From 563aab6204ae19970fffe2042f51a72c675ce9dc Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Sun, 2 Feb 2025 14:56:06 +0100 Subject: [PATCH] Added some comments. --- wobuzz/player/track.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wobuzz/player/track.py b/wobuzz/player/track.py index 60057c2..385eaf3 100644 --- a/wobuzz/player/track.py +++ b/wobuzz/player/track.py @@ -33,6 +33,7 @@ class Track: new_occurrences = {} for item in self.items: + # create dict of item: item.index (actually the id of the item bc. the item can't be used as key) playlist_occurrences = new_occurrences.get(item.playlist, {}) playlist_occurrences[id(item)] = item.index