diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-29 12:32:11 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-29 12:32:11 +0100 |
| commit | 9dd8f6c856cf39cc1d228e171c1c81ff1d6e4b2f (patch) | |
| tree | b70a573c4577deeaa0e3bc8a7774e3d444b8ad42 /tidal_dl_ng/metadata.py | |
| parent | a53f63fbe9c8bbd6b46b9a631792a2a48d0d78e4 (diff) | |
| parent | ead4b8a905820891161e4cbd81cab6e07b51a8f0 (diff) | |
| download | tidal-dl-ng-9dd8f6c856cf39cc1d228e171c1c81ff1d6e4b2f.tar.gz | |
Merge branch '71-feature-show-queued-downloads'
* 71-feature-show-queued-downloads:
✨ Lists can also be downloaded using the "Download List" button.
👌 Reduced network traffic for covers.
✨ Display cover in info area.
✨ Use `Album.image()` to get cover url.
✨ Software named explicitly.
✨ Info pane will be initialized correctly.
✨ Added info pane to GUI.
# Conflicts:
# tidal_dl_ng/gui.py
Diffstat (limited to 'tidal_dl_ng/metadata.py')
| -rw-r--r-- | tidal_dl_ng/metadata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tidal_dl_ng/metadata.py b/tidal_dl_ng/metadata.py index 4506742..35029f8 100644 --- a/tidal_dl_ng/metadata.py +++ b/tidal_dl_ng/metadata.py @@ -142,7 +142,8 @@ class Metadata: self.m.tags["\xa9wrt"] = ", ".join(self.composer) if self.composer else "" self.m.tags["\xa9lyr"] = self.lyrics - def cover_data(self, url: str = None, path_file: str = None) -> str | bytes: + @staticmethod + def cover_data(url: str = None, path_file: str = None) -> str | bytes: result: str | bytes = "" if url: |
