mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-14 15:15:06 -04:00
Lazy logging
Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
parent
ffcc2dfcda
commit
150a91292d
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Album(Tracklist):
|
|||
This uses a classmethod to convert an item into a Track object, which
|
||||
stores the metadata inside a TrackMetadata object.
|
||||
"""
|
||||
logging.debug(f"Loading {self.tracktotal} tracks to album")
|
||||
logging.debug("Loading %d tracks to album", self.tracktotal)
|
||||
for track in _get_tracklist(resp, self.client.source):
|
||||
if track.get("type") == "Music Video":
|
||||
self.append(Video.from_album_meta(track, self.client))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue