fix: ?autoplay was not working if a login was necessary
Massimo Melina committed
May 16, 2026 at 22:52 UTC
3212ba2232620652de7b0b27675f8cdaee5b5e1c
1 file changed
+1
-1
frontend/src/useFetchList.ts
+1
-1
@@ -90,7 +90,6 @@ export default function useFetchList() {
90
case 'connected':
91
if (autoPlayOnce === '') play = true
92
if (autoPlayOnce === 'shuffle') playShuffle = true
93
- autoPlayOnce = undefined
93
firstListRequest = undefined
94
return
95
case 'error':
@@ -141,6 +140,7 @@ export default function useFetchList() {
140
if (uri && !uri.endsWith('/')) // now we know it was a folder for sure
141
return navigate(uri + '/')
142
if (op === LIST.props) {
143
+ autoPlayOnce = undefined
144
state.props = par
145
continue
146
}