mirror of
https://github.com/clangen/musikcube.git
synced 2025-03-15 16:21:17 +00:00
Fixed StreamingPlaybackService's query factory so it always returns
something. Returning null to callers is dangerous.
This commit is contained in:
parent
f2286f2534
commit
ee2d5415a6
@ -871,7 +871,10 @@ public class StreamingPlaybackService implements PlaybackService {
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
return SocketMessage.Builder
|
||||
.request(Messages.Request.QueryTracks)
|
||||
.addOption(Messages.Key.COUNT_ONLY, true)
|
||||
.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user