improve auto dj to trigger on remaining songs change

This commit is contained in:
jeffvli
2025-12-23 21:05:40 -08:00
parent 5b1f269344
commit ce570eddd2
2 changed files with 2 additions and 2 deletions
@@ -169,7 +169,7 @@ export const useAutoDJ = () => {
}, },
{ {
equalityFn: (a, b) => { equalityFn: (a, b) => {
return a.song?._uniqueId === b.song?._uniqueId; return a.song?._uniqueId === b.song?._uniqueId && a.remaining === b.remaining;
}, },
}, },
); );
@@ -66,7 +66,7 @@ export const AutoDJSettings = () => {
return ( return (
<SettingsSection <SettingsSection
options={autoDJOptions} options={autoDJOptions}
title={t('setting.autoDJ', { postProcess: 'upperCase' })} title={t('setting.autoDJ', { postProcess: 'titleCase' })}
/> />
); );
}; };