from_scratch import: only remove writable fields
When importing with the configuration option ``from_scratch`` set, only remove
writable fields from library. E.g. keep fields like ``format`` and ``bitrate``.
This fixes
@@ -564,7 +564,7 @@ class Item(LibModel):
def clear(self):
"""Set all key/value pairs to None."""
- for key in self._media_fields:
+ for key in self._media_tag_fields:
setattr(self, key, None)
def get_album(self):
