Add Test case for flexattr removal (#779)
Add defaut value to formatted mapping dict.

This mimics dict get method behavior.
Merge pull request #782 from PierreRust/fixRemoveFlexAttr

Fix remove flex attr
Revamp FormattedItemMapping

This subclass was not cleanly conforming to the Mapping abstract base. Now
we're in business -- the thing looks like a dict. Brought up by #782.
Changelog for #782 (fix #779)
Fix replaced items in importer

Previously, `task.replaced_items[item]` was a `Result` instance.
This meant that iterating over these, in the plugin stage for
example, would fetch them from the database. But by then the
items had been replaced with the imported versions.

Now we instantiate the list of replaced items so that we always
get the same, old ones.
Convert path to bytestring

This is in line with `beets/library.py:336`. Closes #757
Run replaced item query only once
Print all readable fields in info plugin

This includes all audio properties (format, bit rate, channels, ...) too.
Merge pull request #784 from ghedo/info_props

Print all readable fields in info plugin
Changelog for #784 and #757
Factor prefixes out of query parser (#649)
More informative MediaFile exceptions

* Remove generic messages for `UnreadableFileError`. The class
  carries that information—so we see it if the exceptions crashes the
  program. If the exception is caught (in `library`, `importer`,
  and `autotag`) the type of the exceptions is logged.

* Attach file path to the exceptions. This allows us to determine
  the file that crashed the application.

See #788
Move implicit path query identification out (#649)

This is not the most elegant solution, but it does let us move most of the
query-parsing logic out of library.py. It would still be nice to get rid of
most of beets.library.get_query, but I don't yet know how to do that.
Move query parsing to new dbcore.queryparse

Fix #649.
Merge branch 'master' of github.com:sampsyo/beets
Enable use of files with play -a (closes #776)

This commit changes the output of the play plugin to always use files instead of folders when generating a playlist when using the `-a` option. A new `use_folders` option was added to preserve the old behavior for anyone who wishes it.
Fix lint error :)
Changelog for #776
dbcore: Add types for non-fixed fields

The base Type class now serves as the catch-all logic for untyped fields.