Fix service try download covert art for empty id.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2017-12-16 22:20:44 +01:00
parent b2384a43ce
commit aadb14eb4e

View File

@ -655,7 +655,7 @@ public class RESTMusicService implements MusicService {
Log.d(TAG, "Loading cover art for: " + entry);
final String id = entry.getCoverArt();
if (id == null) {
if (id == null || id.isEmpty()) {
return null; // Can't load
}