[Audio] Show correct time remaining for bumped tracks (#3375)

* Fixes Bump play

* *sigh*
This commit is contained in:
Draper
2020-01-17 22:00:29 +00:00
committed by Michael H
parent cd7f4681a4
commit 41b283ce5d
4 changed files with 18 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ class LocalPath:
def tracks_in_tree(self):
tracks = []
for track in self.multirglob(*[f"*{ext}" for ext in self._all_music_ext]):
for track in self.multirglob(*[f"{ext}" for ext in self._all_music_ext]):
if track.exists() and track.is_file() and track.parent != self.localtrack_folder:
tracks.append(Query.process_input(LocalPath(str(track.absolute()))))
return sorted(tracks, key=lambda x: x.to_string_user().lower())