mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 01:41:15 +00:00
fix: /playlists returning wrong playlists
+ homepage recently played showing wrong user id items on first run
This commit is contained in:
1 parent
9de991dd98
commit
70c2558f92
3 files changed
+10
-3
No files matched your search
@@ -201,6 +201,8 @@ class MixesPlugin(Plugin):
|
||||
},
|
||||
}
|
||||
|
||||
# FIXME: Make sure that different artists don't generate the same mix
|
||||
|
||||
for i, period in enumerate(artists.values()):
|
||||
# if previous period has less than its max
|
||||
# add the difference to this period's limit
|
||||
@@ -226,6 +228,7 @@ class MixesPlugin(Plugin):
|
||||
period["created"] += 1
|
||||
|
||||
print(f"⭐⭐⭐⭐ Created {len(mixes)} mixes")
|
||||
print([m.title for m in mixes])
|
||||
return mixes
|
||||
|
||||
def get_mix_description(self, tracks: list[Track], artishash: str):
|
||||
|
||||
Reference in new issue
Block a user