Option added to embed and download album art.

This commit is contained in:
Robert Honz
2024-11-11 10:05:32 +01:00
parent 6732c5e15e
commit d7112063a0
6 changed files with 93 additions and 53 deletions
+1 -2
View File
@@ -31,7 +31,6 @@ from tidal_dl_ng.helper.tidal import (
search_results_all,
user_media_lists,
)
from tidal_dl_ng.metadata import Metadata
try:
import qdarktheme
@@ -757,7 +756,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
if cover_url and self.cover_url_current != cover_url:
self.cover_url_current = cover_url
data_cover: bytes = Metadata.cover_data(cover_url)
data_cover: bytes = Download.cover_data(cover_url)
pixmap: QtGui.QPixmap = QtGui.QPixmap()
pixmap.loadFromData(data_cover)
self.l_pm_cover.setPixmap(pixmap)