Commit Graph
29 Commits
Author SHA1 Message Date
Šarūnas Nejus 91fae7c879 Merge branch 'master' into zero-total-discs 2026-03-02 16:37:43 +00:00
Šarūnas Nejus 52375472e8 Replace genre: with genres: in docs 2026-02-27 18:34:26 +00:00
Fredrik Möllerstrand cd9f86ae6d feat: zero plugin zeroes disctotal if single disc
When omit_single_disc is set, disctotal is now also zeroed alongside disc.
Previously, only the disc tag was zeroed.
2026-02-14 18:32:04 +01:00
Michael Krieger dc13308784 Remove tests. Update docs. Remove unnecessary return
Remove tests.  Update docs.  Remove unnecessary return.
2025-10-14 03:17:34 +01:00
Michael Krieger b1c87cd98c Change parameter name, add return, add tests
Change the parameter name to omit_single_disc (vs previously zero_disc_if_single_disc)

Add return of 'fields_set' so that, if triggered by the command line `beets zero`, it will still effect the item.write.

Added tests.
2025-10-14 03:17:34 +01:00
Michael Krieger 33b350a612 Adds a zero_disc_if_single_disc to the zero plugin
Adds a zero_disc_number_if_single_disc boolean to the zero plugin for writing to files. Adds the logic that, if disctotal is set and there is only one disc in disctotal, that the disc is not set.

This keeps tags cleaner, only using disc on multi-disc albums. The disctotal is not touched, particularly as this is not usually displayed in most clients.

The field is removed only for writing the tags, but the disc number is maintained in the database to avoid breaking anything that may depend on a disc number or avoid possible loops or failed logic.
2025-10-14 03:17:34 +01:00
Šarūnas Nejus ab5acaabb3 Reformat all docs using docstrfmt 2025-08-10 16:25:05 +01:00
Šarūnas Nejus 769dcdc88a Docs: fix linting issues 2025-08-10 16:16:02 +01:00
Mateusz Soszyński f7a34f1703 turns out single genres wasnt enough yet 2024-10-27 03:47:35 +01:00
Mateusz Soszyński 56d183300e change to genres 2024-10-27 03:41:41 +01:00
Adrian Sampson c74c9a46a9 Punctuation improvements 2019-08-01 09:32:33 -04:00
octos 5f6d1f0f96 improve readability 2019-07-31 22:41:32 -05:00
Adrian Sampson 598c965b0f Simplify text for #2653 2017-08-11 14:35:22 -04:00
plittlefield 9e2a71eec3 Update zero.rst 2017-08-11 16:12:29 +01:00
Adrian Sampson a9fd3df681 Docs fixes for #2329 2016-12-26 17:33:23 -05:00
Josh Brown 5b8b61f0c0 added documentation for zero subcommand 2016-12-26 12:10:19 -06:00
Adrian Sampson 7c6f7b2fa7 Doc tweaks and changelog for #1641 (fix #1621) 2015-10-17 14:43:16 -07:00
Adrian Kowalski da655534ae Change function name and correct documentation style 2015-10-12 09:39:20 +02:00
Adrian Kowalski 84da4b89a5 Update documentation for zero plugin 2015-10-09 21:38:38 +02:00
David Logie 71d3be238b zero: optionally update tags in the database. 2015-07-21 16:54:23 +01:00
Thomas Scholtes e2b2a505fc zero: Can delete embedded images
Fixes #1100.
2014-12-01 17:33:45 +01:00
Adrian Sampson 930581ac99 Finish the pass over all plugin docs 2014-10-30 22:42:11 -07:00
Fabrice Laporte 2cd76b6714 docs: add plugin name in "how to configure" sentences 2014-10-28 23:23:10 +01:00
Fabrice Laporte cb350de2ea harmonize all plugins docs
Add a configuration section that lists all options for each plugin.
List options in alphabetic order.
Mention the default value for each option.
Use same sentences to describe concepts common to different plugins eg 'auto
option, install description
2014-10-26 22:29:10 +01:00
Wieland Hoffmann aafcbdc730 plugins/zero.rst: Add a missing 'a' 2013-08-06 10:41:05 +02:00
Wieland Hoffmann d6673b7f79 plugins/zero.rst: Add a missing 'the' 2013-08-06 10:41:05 +02:00
Adrian Sampson 11e1fd1bd8 document new Confit-based configuration 2012-12-20 21:56:47 -08:00
Adrian Sampson 4aac7f5324 zero: changelog note & doc improvements 2012-09-25 14:15:33 -07:00
Blemjhoo Tezoulbr aff36fa694 zero plugin, version 0.9 2012-09-22 15:50:33 +03:00