Commit graph

10167 commits

Author SHA1 Message Date
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
Johnny Robeson
4c98edc588 check for encoding attr before set in test_helper
This makes it work equivalently in py2 and py3
2016-06-21 23:44:24 -04:00
Adrian Sampson
133c82b1ab Fix #2063: properly decode format CLI argument 2016-06-21 15:15:24 -07:00
Adrian Sampson
5909c9ee89 Fix #2051: don't try to sort None
I found the point in the test harnesses where None was introduced as a value
for `TrackInfo.index`. Just using zero works fine.
2016-06-21 15:02:05 -07:00
Adrian Sampson
829c4318f0 Changelog for #2067 (revived Beatport plugin) 2016-06-21 14:35:44 -07:00
Adrian Sampson
5e7ba73f5e Merge pull request #2067 from jbaiter/beatport
Revive Beatport plugin with support for OAuth API (#1989)
2016-06-21 14:33:34 -07:00
Adrian Sampson
351b6f8c9d Remove raw Unicode literals (fix #2069)
PEP 414 didn't add `ur"..."` literals to Python 3. So for hybrid 2/3
compatibility, these had to be replaced with ordinary Unicode string literals.
This was only painful for one string; the others were only raw strings by
convention. (All were regexes.)
2016-06-21 14:29:14 -07:00
Johannes Baiter
7f98b456fc Include beatport docs in plugin index 2016-06-21 22:22:18 +02:00
Johannes Baiter
00bce6de2c Documentation for beatport plugin 2016-06-21 21:46:53 +02:00
Johannes Baiter
ae0269372c Docstrings for beatport.BeatportClient 2016-06-21 21:39:25 +02:00
Johannes Baiter
c4835336a5 Fix PEP8 checks 2016-06-21 11:20:16 +02:00
Johannes Baiter
85d6ef4a80 Revive Beatport plugin with support for OAuth API (#1989) 2016-06-21 11:02:16 +02:00
wordofglass
c4617c2c1f fetchart: do not hardcode the downloaded extension to jpg, fixes #2053 2016-06-21 10:57:45 +02:00
wordofglass
08c9bd84d8 fetchart: testcase for wrong server-side extensions (#2053) 2016-06-21 02:30:20 +02:00
Adrian Sampson
7fa3188396 Docs tweaks for #2062 2016-06-20 10:32:38 -07:00
Adrian Sampson
f925eec073 Merge pull request #2062 from philippbeckmann/bpd_gst10
bpd: Updated to GStreamer 1.0
2016-06-20 10:09:11 -07:00
Philipp Beckmann
a48a4c9a7c bpd: edited the changelog and updated the requirements in the plugin docs 2016-06-20 18:56:11 +02:00
Philipp Beckmann
f9ed53a096 Multiple corrections as advised in the codereview 2016-06-20 18:44:37 +02:00
Philipp Beckmann
7b154cedd7 Added double line spacings between definitions 2016-06-20 18:29:46 +02:00
Philipp Beckmann
9fd227c8cc Fixed flake8 errors 2016-06-20 18:22:07 +02:00
Philipp Beckmann
0a3d18c5c4 Merge remote-tracking branch 'upstream/master' into bpd_gst10 2016-06-20 18:11:11 +02:00
Philipp Beckmann
5613d9d4ea bpd: Added correct error check for query_position/query_duration 2016-06-20 18:09:37 +02:00
Johnny Robeson
5208cfcaed Revert "add six as a new dependency for beets" for now
It will return after the next bugfix release
This reverts commit 705557a5d2.
2016-06-20 00:16:18 -04:00
Johnny Robeson
ae4fd64d3a Revert "use six.integer_types in library" for now
It will return post bugfix release
This reverts commit 196176f180.
2016-06-20 00:15:28 -04:00
Johnny Robeson
196176f180 use six.integer_types in library 2016-06-19 22:56:14 -04:00
Johnny Robeson
705557a5d2 add six as a new dependency for beets 2016-06-19 22:55:31 -04:00
Johnny Robeson
e1ede6827b replace a filter() on search_ids with a list comp 2016-06-19 22:33:40 -04:00
Johnny Robeson
09322530ca replace 2 map() calls with a list comprehension 2016-06-19 22:30:58 -04:00
Adrian Sampson
b5e1ac7dbf Merge pull request #2056 from dixoncx/fix_issue_185
Fix issue #185
2016-06-19 13:10:57 -07:00
Philipp Beckmann
0917e675d7 bpg: Converted gstplayer.py to GStreamer 1.0 2016-06-19 22:06:55 +02:00
Dixon Xavier
4d75d4c063 Fix lint error 2016-06-20 00:52:09 +05:30
Dixon Xavier
366a6d7fb2 add validation for configuration 2016-06-20 00:35:47 +05:30
Dixon Xavier
80ca527f76 Fix typo in documentation 2016-06-19 13:20:54 +05:30
Dixon Xavier
fbcc8dbf1e Update changelog and documentation 2016-06-19 12:54:27 +05:30
Dixon Xavier
a73ad99dd8 Add new importer configuration to deal with duplicate items 2016-06-19 12:53:37 +05:30
Johnny Robeson
2669b35945 handle bytes in a py3 compatible way in confit
This applies to Subview and Filename.

However, the Filename support isn't complete, since we can't
implicitly convert bytes to strings in py3. Confit doesn't
seem to have a way to handle this.
2016-06-18 03:23:14 -04:00
Johnny Robeson
da5fb85557 only import OrderedDict from collections in confit
This was only necessary in <=2.6
2016-06-18 03:16:33 -04:00