diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-04-01 12:26:10 +0200 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-04-01 12:26:10 +0200 |
| commit | 8e7209f693c60a790aa5dee501bdb33af5932c78 (patch) | |
| tree | 5da09d50bec1978bdcae87187ea6229c7f493044 /tidal_dl_ng/helper/gui.py | |
| parent | 7df41edc0166feef022fe0217824ca445341ddc6 (diff) | |
| download | tidal-dl-ng-8e7209f693c60a790aa5dee501bdb33af5932c78.tar.gz | |
✨ Cover will be shown for download queue.
Diffstat (limited to 'tidal_dl_ng/helper/gui.py')
| -rw-r--r-- | tidal_dl_ng/helper/gui.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tidal_dl_ng/helper/gui.py b/tidal_dl_ng/helper/gui.py index 888f004..b18c24e 100644 --- a/tidal_dl_ng/helper/gui.py +++ b/tidal_dl_ng/helper/gui.py @@ -11,8 +11,8 @@ def get_table_data( return result -def get_results_media_item(item: QtWidgets.QTreeWidgetItem) -> Track | Video | Album | Artist: - result: Track | Video | Album | Artist = get_table_data(item, 1) +def get_results_media_item(item: QtWidgets.QTreeWidgetItem) -> Track | Video | Album | Artist | Playlist | Mix: + result: Track | Video | Album | Artist | Playlist | Mix = get_table_data(item, 1) return result @@ -41,7 +41,9 @@ def set_results_media(item: QtWidgets.QTreeWidgetItem, media: Track | Video | Al set_table_data(item, media, 1) -def set_user_list_media(item: QtWidgets.QTreeWidgetItem, media: Mix | Playlist | UserPlaylist): +def set_user_list_media( + item: QtWidgets.QTreeWidgetItem, media: Track | Video | Album | Artist | Mix | Playlist | UserPlaylist +): set_table_data(item, media, 1) |
