mirror of
https://github.com/beetbox/beets.git
synced 2026-01-25 09:38:19 +01:00
Tiny renaming for #1233
This commit is contained in:
parent
a10d9750a6
commit
e0cc68cf07
1 changed files with 2 additions and 2 deletions
|
|
@ -795,7 +795,7 @@ class Album(LibModel):
|
||||||
# the album's directory as `path`.
|
# the album's directory as `path`.
|
||||||
getters = plugins.album_field_getters()
|
getters = plugins.album_field_getters()
|
||||||
getters['path'] = Album.item_dir
|
getters['path'] = Album.item_dir
|
||||||
getters['albumtotal'] = Album.tracktotal
|
getters['albumtotal'] = Album._tracktotal
|
||||||
return getters
|
return getters
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
|
|
@ -883,7 +883,7 @@ class Album(LibModel):
|
||||||
raise ValueError('empty album')
|
raise ValueError('empty album')
|
||||||
return os.path.dirname(item.path)
|
return os.path.dirname(item.path)
|
||||||
|
|
||||||
def tracktotal(self):
|
def _albumtotal(self):
|
||||||
"""Return the total number of tracks on all discs on the album
|
"""Return the total number of tracks on all discs on the album
|
||||||
"""
|
"""
|
||||||
if self.disctotal == 1 or not beets.config['per_disc_numbering']:
|
if self.disctotal == 1 or not beets.config['per_disc_numbering']:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue