mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 12:02:41 +01:00
Misc formatting changes
This commit is contained in:
parent
33b350a612
commit
5fc15bcfa4
2 changed files with 8 additions and 6 deletions
|
|
@ -124,9 +124,10 @@ class ZeroPlugin(BeetsPlugin):
|
|||
"""
|
||||
fields_set = False
|
||||
|
||||
if "disc" in tags and self.config["zero_disc_if_single_disc"].get(bool) and item.disctotal == 1:
|
||||
self._log.debug("disc: {.disc} -> None", item)
|
||||
tags["disc"] = None
|
||||
if "disc" in tags and self.config["zero_disc_if_single_disc"].get(bool):
|
||||
if item.disctotal == 1:
|
||||
self._log.debug("disc: {.disc} -> None", item)
|
||||
tags["disc"] = None
|
||||
|
||||
if not self.fields_to_progs:
|
||||
self._log.warning("no fields list to remove")
|
||||
|
|
|
|||
|
|
@ -8,9 +8,10 @@ Unreleased
|
|||
----------
|
||||
|
||||
New features:
|
||||
* :doc:`plugins/zero`: Add new configuration option,
|
||||
``zero_disc_if_single_disc``, to allow zeroing the disc number on
|
||||
write for single-disc albums. Defaults to False.
|
||||
|
||||
- :doc:`plugins/zero`: Add new configuration option,
|
||||
``zero_disc_if_single_disc``, to allow zeroing the disc number on write for
|
||||
single-disc albums. Defaults to False.
|
||||
|
||||
Bug fixes:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue