summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/gui.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-03-13 06:48:11 +0100
committerRobert Honz <exislow+github@gmail.com>2024-03-13 06:48:11 +0100
commite3a8588324328ee27edd4ff7dcab65d9dda7d31a (patch)
tree2738fb2bb4e5b8c7c3c009d5527162bfa06202f6 /tidal_dl_ng/gui.py
parentf4365e879b869e508d1e8cc5e94157c30950d799 (diff)
parentbbb6051fdd34fabf7565df480df66c128ffa4ef5 (diff)
downloadtidal-dl-ng-e3a8588324328ee27edd4ff7dcab65d9dda7d31a.tar.gz
Merge branch '41-request-song-organization'
* 41-request-song-organization: ✨ Track media items will be re-created with album information. Path format refactored. ♻️ Refactored format_str method to one `format_str_media` method. # Conflicts: # tidal_dl_ng/download.py # tidal_dl_ng/gui.py
Diffstat (limited to 'tidal_dl_ng/gui.py')
-rw-r--r--tidal_dl_ng/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tidal_dl_ng/gui.py b/tidal_dl_ng/gui.py
index 6cd1e2d..0c8e97a 100644
--- a/tidal_dl_ng/gui.py
+++ b/tidal_dl_ng/gui.py
@@ -318,7 +318,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
else:
self.s_tr_results_add_top_level_item.emit(child)
- def populate_tree_result_child(self, item: [Mix | Album | Playlist], index_count_digits: int):
+ def populate_tree_result_child(self, item: [Track | Video | Mix | Album | Playlist], index_count_digits: int):
# TODO: Duration needs to be calculated later to properly fill with zeros.
# Format seconds to mm:ss.
m, s = divmod(item.duration_sec, 60)