From cb939008885aa271ee6d9e2b20aab99396cda0cb Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sun, 7 Oct 2012 15:13:49 -0700 Subject: [PATCH] changelog & docs for "beet stats --exact" --- docs/changelog.rst | 6 ++++-- docs/reference/cli.rst | 9 ++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 50a6e3565..17f863fe4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -17,8 +17,10 @@ Changelog * :doc:`/plugins/scrub`: Scrubbing now removes *all* types of tags from a file rather than just one. For example, if your FLAC file has both ordinary FLAC tags and ID3 tags, the ID3 tags are now also removed. -* ``list`` command: Templates given with ``-f`` can now show items' paths (using - ``$path``). +* :ref:`stats-cmd` command: New ``--exact`` switch to make the file size + calculation more accurate (thanks to yagebu). +* :ref:`list-cmd` command: Templates given with ``-f`` can now show items' paths + (using ``$path``). * Fix album queries for ``artpath`` and other non-item fields. * Null values in the database can now be matched with the empty-string regular expression, ``^$``. diff --git a/docs/reference/cli.rst b/docs/reference/cli.rst index c1eb446bf..0b92f7cc8 100644 --- a/docs/reference/cli.rst +++ b/docs/reference/cli.rst @@ -119,6 +119,8 @@ right now; this is something we need to work on. Read the or full albums. If you want to retag your whole library, just supply a null query, which matches everything: ``beet import -L`` +.. _list-cmd: + list ```` :: @@ -212,15 +214,20 @@ To perform a "dry run" an update, just use the ``-p`` (for "pretend") flag. This will show you all the proposed changes but won't actually change anything on disk. +.. _stats-cmd: + stats ````` :: - beet stats [QUERY] + beet stats [-e] [QUERY] Show some statistics on your entire library (if you don't provide a :doc:`query `) or the matched items (if you do). +The ``-e`` (``--exact``) option makes the calculation of total file size more +accurate but slower. + fields `````` ::