mirror of
https://github.com/beetbox/beets.git
synced 2026-03-01 18:55:50 +01:00
A second base class, LibModel, maintains a reference to the Library and should take care of database-related tasks like load and store. This is the beginning of the end of the terrible incongruity between Item and Album objects (only the latter had a library reference). More refactoring to come. One large side effect: Album objects no longer automatically store modifications. You have to call album.store(). Several places in the code assume otherwise; they need cleaning up. ResultIterator is now polymorphic (it takes a type parameter, which must be a subclass of LibModel). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| commands.py | ||
| migrate.py | ||