mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
Fix recording parsing
This commit is contained in:
parent
aa640e57b7
commit
86f8082faf
1 changed files with 3 additions and 3 deletions
|
|
@ -421,10 +421,10 @@ class MusicBrainzPlugin(MusicBrainzAPIMixin, MetadataSourcePlugin):
|
|||
recording["artist_relations"], relation_type="remixer"
|
||||
)
|
||||
|
||||
if recording.get("length"):
|
||||
info.length = int(recording["length"]) / 1000.0
|
||||
if length := recording["length"]:
|
||||
info.length = int(length) / 1000.0
|
||||
|
||||
info.trackdisambig = recording.get("disambiguation")
|
||||
info.trackdisambig = recording["disambiguation"] or None
|
||||
|
||||
if recording.get("isrcs"):
|
||||
info.isrc = ";".join(recording["isrcs"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue