support fuzzy disc lookup by TOC

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
add *-count of *-list elements

This adds *-count for every *-list element
on the same level if available as attribute.

Example:
<release-list count="42">
  <release>...</release>
  ...
</release-list>

->

{"release-count": "42",
 "release-list": [...]}

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
update docs and examples for *-count

Using *-count should be optional,
since this isn't available in earlier musicbrainzngs releases.

Signed-off-by: Johannes Dewender <github@JonnyJD.net>
Add support for the video attribute on recordings

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Add support for track ids

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Simplify tests by adding a method to load and parse XML files

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Update CHANGES

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Use 2.6 compatible assertions

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
return the result of collection operations

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
rearrange discid query parameters

- Move discid toc to after includes (for api compatibility)
- Add cdstubs parameter (true by default, set to false to ignore stubs)
- Remove release type and status. They don't work on this query
- Add tests

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Merge branch 'fuzzy_toc'

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Merge branch 'master' of github.com:alastair/python-musicbrainz-ngs
Merge remote-tracking branch 'jonnyjd/list_count'

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
convert query parameters to a list before encoding

Unlike a dictionary a list has a known ordering, so we can
always expect the resulting parameters to be in the same order
between different python versions for testing purposes.

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
convert list counts to numbers

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Release 0.5

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Prepare for 0.6 development

Signed-off-by: Alastair Porter <alastair@porter.net.nz>
Convert README.md to README.rst

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Move links targets back to the link text

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Merge branch 'readme-rst'

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>