Added some comments.

This commit is contained in:
The Wobbler 2025-02-02 14:56:06 +01:00
parent 83deb903c1
commit 563aab6204

View file

@ -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