feat: enforce playlist selection before starting the game and update playlist handling
All checks were successful
Build and Push Docker Image / docker (push) Successful in 6s
All checks were successful
Build and Push Docker Image / docker (push) Successful in 6s
This commit is contained in:
@@ -108,13 +108,6 @@ export async function loadDeck(playlistId = 'default') {
|
||||
})
|
||||
);
|
||||
tracks.push(...batchTracks);
|
||||
|
||||
// Optional: Log progress for large playlists
|
||||
if (files.length > 100 && (i + BATCH_SIZE) % 100 === 0) {
|
||||
console.log(
|
||||
`Loading playlist ${playlistId}: ${Math.min(i + BATCH_SIZE, files.length)}/${files.length} tracks processed`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
console.log(`Loaded ${tracks.length} tracks from playlist: ${playlistId}`);
|
||||
|
||||
Reference in New Issue
Block a user