Use the full poster url if the thumb url is empty.

This commit is contained in:
Damiano Galassi committed 2018-06-05 12:44:47 +02:00
1 parent b20d2a090c
commit 528e92e3f0
1 file changed
+1 -1
+1 -1
View File
@@ -307,7 +307,7 @@ public struct TheTVDB : MetadataService, MetadataNameService {
}
if selected {
artworks.append(Artwork(url: fileURL, thumbURL: thumbURL, service: self.name, type: type))
artworks.append(Artwork(url: fileURL, thumbURL: image.thumbnail.isEmpty ? fileURL : thumbURL, service: self.name, type: type))
}
}
return artworks