mirror of
https://github.com/beetbox/beets.git
synced 2025-12-22 00:23:33 +01:00
Add optional album field to candidate TrackInfo
This commit is contained in:
parent
106a1638cc
commit
090cfc6f07
1 changed files with 2 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ class TrackInfo(AttrDict):
|
|||
bpm: Optional[str] = None,
|
||||
initial_key: Optional[str] = None,
|
||||
genre: Optional[str] = None,
|
||||
album: Optional[str] = None,
|
||||
**kwargs,
|
||||
):
|
||||
self.title = title
|
||||
|
|
@ -241,6 +242,7 @@ class TrackInfo(AttrDict):
|
|||
self.bpm = bpm
|
||||
self.initial_key = initial_key
|
||||
self.genre = genre
|
||||
self.album = album
|
||||
self.update(kwargs)
|
||||
|
||||
# As above, work around a bug in python-musicbrainz-ngs.
|
||||
|
|
|
|||
Loading…
Reference in a new issue