From 291d51668bbe248a5a54595a6e5e849d987525fa Mon Sep 17 00:00:00 2001 From: 1hitsong <3330318+1hitsong@users.noreply.github.com> Date: Mon, 7 Oct 2024 14:38:45 -0400 Subject: [PATCH] Speed up artist quickplay Cut 1 second off playback of artist with 138 songs --- source/utils/quickplay.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/utils/quickplay.bs b/source/utils/quickplay.bs index 9412cb266..738ffe166 100644 --- a/source/utils/quickplay.bs +++ b/source/utils/quickplay.bs @@ -132,17 +132,17 @@ namespace quickplay artistSongs = api.users.GetItemsByQuery(m.global.session.user.id, { "artistIds": itemNode.id, "includeItemTypes": "Audio", - "sortBy": "Album", + "sortBy": "random", "limit": 2000, "imageTypeLimit": 1, "Recursive": true, "enableUserData": false, "EnableTotalRecordCount": false }) - print "artistSongs=", artistSongs if isValid(artistSongs) and isValidAndNotEmpty(artistSongs.items) - quickplay.pushToQueue(artistSongs.items, true) + m.global.queueManager.callFunc("set", artistSongs.items) + m.global.queueManager.callFunc("toggleShuffle") else stopLoadingSpinner() end if