mirror of
https://github.com/beetbox/beets.git
synced 2026-01-13 03:34:31 +01:00
This should do…
This commit is contained in:
parent
5d1da3e438
commit
b84912db5f
3 changed files with 687 additions and 729 deletions
|
|
@ -78,7 +78,7 @@ class Recommendation(OrderedEnum):
|
|||
|
||||
|
||||
class Proposal(NamedTuple):
|
||||
candidates: List[Any]
|
||||
candidates: Sequence[AlbumMatch | TrackMatch]
|
||||
recommendation: Recommendation
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,11 +16,14 @@
|
|||
libraries.
|
||||
"""
|
||||
|
||||
from collections import namedtuple
|
||||
from typing import Any, NamedTuple
|
||||
|
||||
from beets import util
|
||||
|
||||
Node = namedtuple("Node", ["files", "dirs"])
|
||||
|
||||
class Node(NamedTuple):
|
||||
files: dict[Any, Any]
|
||||
dirs: dict[Any, Any]
|
||||
|
||||
|
||||
def _insert(node, path, itemid):
|
||||
|
|
|
|||
1407
poetry.lock
generated
1407
poetry.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue