Missing Plugin ============== This plugin adds a new command, ``missing`` or ``miss``, which finds and lists, for every album in your collection, which tracks are missing. Listing missing files requires one network call to MusicBrainz. Installation ------------ Enable the plugin by putting ``missing`` on your ``plugins`` line in :doc:`config file `:: plugins: missing ... Configuration ------------- The plugin accepts the following configuration directives, either in your configuration file:: missing: format: FMTSTR count: bool total: bool or in the command-line:: $ beet missing --help Usage: beet missing [options] Options: -h, --help show this help message and exit -f FORMAT, --format=FORMAT print with custom FORMAT -c, --count count missing tracks per album -t, --total count total of missing tracks format ~~~~~~ The ``format`` option (default: ``None``) lets you specify a specific format with which to print every track. This uses the same template syntax as beets’ :doc:`path formats `. The usage is inspired by, and therefore similar to, the :ref:`list ` command. count ~~~~~ The ``count` option (default: ``False``) prints a count of missing tracks per album, with ``format`` hard-coded to ``'$album: $count'``. total ~~~~~ The ``total`` option (default: ``False``) prints a single count of missing tracks in all albums Examples ------------------------- List all missing tracks in your collection:: beet missing List all missing tracks from 2008:: beet missing year:2008 Print out a unicode histogram of the missing track years using `spark`_:: beet missing -f '$year' | spark ▆▁▆█▄▇▇▄▇▇▁█▇▆▇▂▄█▁██▂█▁▁██▁█▂▇▆▂▇█▇▇█▆▆▇█▇█▇▆██▂▇ Print out a listing of all albums with missing tracks, and respective counts:: beet missing -c Print out a count of the total number of missing tracks:: beet missing -t TODO ---- - Add caching. -------------- .. _spark: https://github.com/holman/spark