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
Johnny Robeson
bc88dae726
rework basestring check in BytesQuery
...
This makes it possible for this query to work in both py2 and py3,
since strings are bytes in py2
2016-06-18 02:35:43 -04:00
Johnny Robeson
33d451ed2d
switch basestring for bytes in HumanReadableException
...
We already check for unicode first, so this shouldn't cause any issues
on py2
2016-06-18 02:14:05 -04:00
Johnny Robeson
66431ab4de
treat tag values as strings in ReadWriteTestBase
2016-06-17 23:58:35 -04:00
Johnny Robeson
a1609ec548
use strings for *StorageStyle keys, not bytes
2016-06-17 23:39:17 -04:00
Johnny Robeson
ab27031360
handle byte values when _safe_cast out_type is float
2016-06-17 23:04:14 -04:00
Johnny Robeson
93e510c1c7
remove an unnecessary b' in test_fetchart
2016-06-17 05:26:21 -04:00
Johnny Robeson
4e2c2a9a2e
add noqa to py3 type checks
...
This prevents `F821 undefined name` warnings
2016-06-17 04:03:41 -04:00
Johnny Robeson
1c761c60fb
bytstringify extra cover_names in fetchart
2016-06-17 03:37:28 -04:00
Johnny Robeson
7dcf160d0b
make sure extract() in art handles bytestring paths
2016-06-17 02:37:08 -04:00
Johnny Robeson
fda3911323
bytestringify touch call in PathQueryTest
2016-06-17 02:00:20 -04:00
Johnny Robeson
4bbfe85c66
is_path_query takes unicode, so do that test_query
...
This fixes all but one instance that I'm not yet sure how to fix
2016-06-17 01:48:47 -04:00
Johnny Robeson
a0a9e2f22d
mark itunes library files as bytestrings
2016-06-17 01:40:16 -04:00
Johnny Robeson
60a961a751
remove an unnecessary .encode() in create_item_fixture
2016-06-17 01:20:42 -04:00
Johnny Robeson
cf5ab2617a
reorient bytestring_path code in convert replace_ext
2016-06-17 01:20:42 -04:00