mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Update lastimport.py
This commit is contained in:
parent
d7823a0f24
commit
c437a5594e
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ def process_tracks(lib, tracks, log):
|
|||
|
||||
if song is not None:
|
||||
count = int(song.get("play_count", 0))
|
||||
new_count = int(tracks[num]["playcount"])
|
||||
new_count = int(tracks[num]["playcount"]) if tracks[num]["playcount"] else 1
|
||||
log.debug(
|
||||
"match: {0} - {1} ({2}) " "updating: play_count {3} => {4}",
|
||||
song.artist,
|
||||
|
|
|
|||
Loading…
Reference in a new issue