mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 07:53:40 +01:00
add a couple more alternate field names while we're at it
This commit is contained in:
parent
f8c8bff694
commit
f7cdf60c53
1 changed files with 5 additions and 2 deletions
|
|
@ -529,7 +529,9 @@ class MediaFile(object):
|
|||
mp4 = StorageStyle('trkn',
|
||||
packing = packing.TUPLE,
|
||||
pack_pos = 1),
|
||||
etc = StorageStyle('tracktotal')
|
||||
etc = [StorageStyle('tracktotal'),
|
||||
StorageStyle('trackc'),
|
||||
StorageStyle('totaltracks')]
|
||||
)
|
||||
disc = MediaField(out_type = int,
|
||||
mp3 = StorageStyle('TPOS',
|
||||
|
|
@ -549,7 +551,8 @@ class MediaFile(object):
|
|||
packing = packing.TUPLE,
|
||||
pack_pos = 1),
|
||||
etc = [StorageStyle('disctotal'),
|
||||
StorageStyle('discc')]
|
||||
StorageStyle('discc'),
|
||||
StorageStyle('totaldiscs')]
|
||||
)
|
||||
lyrics = MediaField(
|
||||
mp3 = StorageStyle('USLT',
|
||||
|
|
|
|||
Loading…
Reference in a new issue