mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-25 21:22:16 +03:00
Fix service try download covert art for empty id.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
b2384a43ce
commit
aadb14eb4e
@ -655,7 +655,7 @@ public class RESTMusicService implements MusicService {
|
|||||||
Log.d(TAG, "Loading cover art for: " + entry);
|
Log.d(TAG, "Loading cover art for: " + entry);
|
||||||
|
|
||||||
final String id = entry.getCoverArt();
|
final String id = entry.getCoverArt();
|
||||||
if (id == null) {
|
if (id == null || id.isEmpty()) {
|
||||||
return null; // Can't load
|
return null; // Can't load
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user