diff --git a/beets/library.py b/beets/library.py index 155b8e917..44cf518d0 100644 --- a/beets/library.py +++ b/beets/library.py @@ -263,7 +263,7 @@ class Item(LibModel): @classmethod def _getters(cls): getters = plugins.item_field_getters() - getters['singleton'] = Item.singleton + getters['singleton'] = lambda i: i.album_id is None return getters @classmethod @@ -291,11 +291,6 @@ class Item(LibModel): super(Item, self).__setitem__(key, value) - def singleton(self): - """Returns a boolean indicating whether this item is a singleton - (doesn't belong to an album)""" - return self.album_id is None - def update(self, values): """Set all key/value pairs in the mapping. If mtime is specified, it is not reset (as it might otherwise be).