Android v1 polish + Web UI flavor pass #65
@@ -104,8 +104,7 @@ class AudioPrefetcher @Inject constructor(
|
||||
// come from minimal TrackRefs synthesized from playlist rows
|
||||
// when the upstream track was removed from the library).
|
||||
for ((trackId, streamUrl) in targets) {
|
||||
if (trackId in activeJobs) continue
|
||||
if (streamUrl.isBlank()) continue
|
||||
if (trackId in activeJobs || streamUrl.isBlank()) continue
|
||||
val job = scope.launch(Dispatchers.IO) {
|
||||
runCatching { prefetchOne(trackId, streamUrl) }
|
||||
mutex.withLock { activeJobs.remove(trackId) }
|
||||
|
||||
Reference in New Issue
Block a user