예제 #1
0
파일: library.py 프로젝트: Cornellio/beets
 def _getters(cls):
     # In addition to plugin-provided computed fields, also expose
     # the album's directory as `path`.
     getters = plugins.album_field_getters()
     getters['path'] = Album.item_dir
     getters['albumtotal'] = Album._albumtotal
     return getters
예제 #2
0
 def _getters(cls):
     # In addition to plugin-provided computed fields, also expose
     # the album's directory as `path`.
     getters = plugins.album_field_getters()
     getters['path'] = Album.item_dir
     getters['albumtotal'] = Album._albumtotal
     return getters