Commit graph

7351 commits

Author SHA1 Message Date
Adrian Sampson
9d66e2c306 Add release date for 1.3.19 2016-06-25 17:52:32 -07:00
Adrian Sampson
6d619b67ab Clean up the changelog for release 2016-06-25 17:50:12 -07:00
Adrian Sampson
a7e91593a6 Meantion Beatport in README again 2016-06-25 17:44:13 -07:00
wordofglass
86ed8e9650 Merge pull request #2072 from beetbox/art_rectify_extension_via_imghdr
Rectify artwork extension via imghdr
2016-06-25 22:06:32 +02:00
wordofglass
7bf6554cdc fetchart: update changelog 2016-06-25 21:57:10 +02:00
wordofglass
2db1530ef8 fetchart: flake8 fixes 2016-06-25 21:55:55 +02:00
wordofglass
5d00ca8bda fetchart: do not unnecessarily reset Candidate.path on download failure 2016-06-25 14:10:55 +02:00
wordofglass
697291b04e fetchart: improve error resilience of the Content-Type detection by file magic 2016-06-25 14:10:50 +02:00
wordofglass
9968288358 fetchart: update comments 2016-06-25 13:49:15 +02:00
Johnny Robeson
a1ed78135c mark confit as_*() methods as shortcuts, not deprecated
Fixes #2026
2016-06-25 04:52:11 -04:00
Johnny Robeson
34074b530b check changed text on py >3.5 in RegexpQuery test
See https://bugs.python.org/issue22364 for details
2016-06-24 19:09:29 -04:00
Johnny Robeson
b6678019ea use @six.python_2_unicode_compatible 2016-06-24 05:53:56 -04:00
Johnny Robeson
364d32953e use buffer on py2, memoryview on py3
This wouldn't be necessary if the sqlite module accepted memoryview
instances on py2, but it doesn't.
2016-06-24 05:53:56 -04:00
Johnny Robeson
433ac368df check pull.__next__ on py3 in pipeline tests 2016-06-24 05:53:56 -04:00
Johnny Robeson
8c2809f75c only write StringIO encoding attr on py2 2016-06-24 05:53:56 -04:00
Johnny Robeson
78334876c3 treat HTMLParseError as a noop when missing
Strict mode no longer exists in html.parser on python >= 3.5, and no longer means anything on python >= 3.3
2016-06-24 05:53:56 -04:00
Johnny Robeson
6849ab874e skip pipeline test_constrainted_exception on PY3
This one would make every test run last until the timeout is reached, so
it's necessary skip it until the root cause is found.
2016-06-24 05:53:56 -04:00
Johnny Robeson
fd3f0b5159 disable compiled functemplates if not using PY2
The AST code needs rewritten for PY3. This is tracked in
https://github.com/beetbox/beets/issues/2058
2016-06-24 05:53:56 -04:00
Johnny Robeson
9f6b07fe1f replace NUMERIC_TYPES with integer_types in functemplate 2016-06-24 05:53:56 -04:00
Johnny Robeson
faea61a76e use the real six.reraise in bluelet 2016-06-24 05:53:56 -04:00
Johnny Robeson
36ed75cd01 use reraise from six 2016-06-24 05:53:55 -04:00
Johnny Robeson
edb1cbc5fc replace iter{items|values} with six.iter{items|values} 2016-06-24 05:53:55 -04:00
Johnny Robeson
83f6ba3ce4 handle metaclasses with six 2016-06-24 05:53:55 -04:00
Johnny Robeson
e57b7faf69 replace basestring with six.text_types 2016-06-24 05:53:55 -04:00
Johnny Robeson
e8afcbe7ec replace unicode with six.text_type 2016-06-24 05:53:49 -04:00
wordofglass
c789d31614 fetchart: fix and add tests for the new behaviour 2016-06-23 17:38:01 +02:00
wordofglass
34cdf0f3f3 fetchart: complain about unsupported images only after validating the Content-Type 2016-06-23 17:38:01 +02:00
wordofglass
d47182a3e5 fetchart: do not rely on the server-provided Content-Type, but determine the image format from the file magic 2016-06-23 17:37:55 +02:00
Johnny Robeson
7b66dfec4b use renamed test assertions from six 2016-06-23 04:40:18 -04:00
Johnny Robeson
5f4678e3e8 use StringIO from six 2016-06-23 04:40:18 -04:00
Johnny Robeson
8e682f14a1 replace xrange with range from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
31cca684f2 replace itertools.izip with zip from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
1f8e08d168 replace raw_input with input from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
4649226b9b use urllib from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
1f8fe0f9a6 use _thread from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
129e140015 use html_parser (really html.parser) from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
7713be4c0f use http_client (really http.client) from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
c188a4c506 use queue from six.moves 2016-06-23 04:40:18 -04:00
Johnny Robeson
a5d39d3f5c use six.integer_types in isinstance checks 2016-06-23 04:40:18 -04:00
Johnny Robeson
695ac781c2 add six as a new dependency for beets 2016-06-23 04:40:18 -04:00
Johnny Robeson
cc6465d31e convert Item.destination() fragment to a string 2016-06-23 04:35:26 -04:00
Johannes Baiter
ed2580d5b1 Fix bugs in beatport plugin (#2076)
* Fix naming bug

* Fix another minor bug

* Remove debugger statement

* Another fix for developer clumsiness in beatport plugin

* Fix typo in error description
2016-06-23 08:51:26 +02:00
Johnny Robeson
ea02269dee remove ext encode from fetchart (py3 fix for #2068) 2016-06-23 02:29:53 -04:00
Johnny Robeson
c7a4d261e2 fix a comment typo in ui/__init__.py 2016-06-23 01:29:46 -04:00
Johnny Robeson
2836877c35 use as_string to get mediafile properties as str 2016-06-23 01:06:15 -04:00
Adrian Sampson
d3928008e1 Merge pull request #2068 from beetbox/fetchart_mime_extension
Fix fetchart hardcoding the image extension
2016-06-22 10:19:12 -07:00
wordofglass
f07e6265ee Changelog for the Content-Type based image extension detection 2016-06-22 13:02:15 +02:00
Johnny Robeson
0b17666b55 Revert "check for encoding attr before set in test_helper"
This doesn't actually help us, since the property is there, but not
writeable
This reverts commit 4c98edc588.
2016-06-22 00:51:10 -04:00
Johnny Robeson
ab1e3ce87c use as_string to get str result from root_parser name 2016-06-22 00:12:15 -04:00
Johnny Robeson
5b590f75f0 use as_string to get str results from unidecode 2016-06-22 00:11:48 -04:00