Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fx: exclude fields typo #69

Merged
merged 14 commits into from
Oct 1, 2024
12 changes: 7 additions & 5 deletions beetsplug/bandcamp/metaguru.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def from_html(cls, html: str, config: Optional[JSONDict] = None) -> "Metaguru":

@cached_property
def excluded_fields(self) -> Set[str]:
return set(self.config.get("excluded_fields") or [])
return set(self.config.get("exclude_extra_fields") or [])
snejus marked this conversation as resolved.
Show resolved Hide resolved

@property
def comments(self) -> Optional[str]:
Expand All @@ -95,10 +95,12 @@ def comments(self) -> Optional[str]:

@cached_property
def all_media_comments(self) -> str:
return "\n".join([
*[m.description for m in self.media_formats],
self.comments or "",
])
return "\n".join(
whatphilipcodes marked this conversation as resolved.
Show resolved Hide resolved
[
*[m.description for m in self.media_formats],
self.comments or "",
]
)

@cached_property
def label(self) -> str:
Expand Down
Loading