mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
implement mix tracklist balancing
This commit is contained in:
@@ -4,10 +4,16 @@ from app.store.homepage import HomepageStore
|
||||
|
||||
|
||||
class Mixes(CronJob):
|
||||
"""
|
||||
This cron job creates mixes displayed on the homepage.
|
||||
"""
|
||||
def __init__(self):
|
||||
super().__init__("mixes", 5)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
Creates the artist mixes
|
||||
"""
|
||||
print("⭐⭐⭐⭐ Mixes cron job running")
|
||||
mixes = MixesPlugin()
|
||||
artist_mixes = mixes.get_artists()
|
||||
|
||||
Reference in New Issue
Block a user