Skip to content

Commit

Permalink
Increase No. Artists shown on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWicklowWolf authored Mar 26, 2024
1 parent 1ca94e3 commit cce2be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Lidify.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def load_environ_or_config_settings(self):
def connection(self):
if self.similar_artists:
if self.clients_connected_counter == 0:
if len(self.similar_artists) > 10:
self.similar_artists = random.sample(self.similar_artists, 10)
if len(self.similar_artists) > 15:
self.similar_artists = random.sample(self.similar_artists, 15)
else:
self.lidify_logger.info(f"Shuffling Artists")
random.shuffle(self.similar_artists)
Expand Down

0 comments on commit cce2be1

Please sign in to comment.