mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
fix(playlists): Smart Playlist editor theme, toggles, and exclude-all-genres (#970)
* fix(playlists): Smart Playlist editor theme, toggles, and exclude-all-genres Replace native sort select with CustomSelect, fix mode-button layout shift, color-code included vs excluded genres, collapse exclude-all to untagged rule, and handle empty smart playlists without false "not found". * docs: CHANGELOG and credits for Smart Playlist editor fix (PR #970) * chore(credits): drop minor fix entries from PR #958 onward
This commit is contained in:
@@ -72,7 +72,11 @@ export function usePendingSmartPolling(
|
||||
// Wait until we see actual content and cover changed from the first placeholder-ish cover.
|
||||
// Fallback timeout keeps UI from waiting forever on servers that never update cover id.
|
||||
const hardTimeoutReached = item.attempts >= 18; // ~3 minutes (18 * 10s)
|
||||
const ready = songCount > 0 && (!placeholderStillThere || hardTimeoutReached);
|
||||
const emptySettled = songCount === 0 && item.attempts >= 3; // ~30s — valid empty result
|
||||
const ready =
|
||||
hardTimeoutReached
|
||||
|| emptySettled
|
||||
|| (songCount > 0 && (!placeholderStillThere || hardTimeoutReached));
|
||||
if (!ready) {
|
||||
next.push({
|
||||
...item,
|
||||
|
||||
Reference in New Issue
Block a user