Commit graph

7351 commits

Author SHA1 Message Date
Pauligrinder
ca8832809d Removed a couple of unnecessary imports
json and requests.BasicAuthentication
2017-01-23 13:14:36 +02:00
Pauligrinder
77d155cdea Add a plugin to update a Kodi music library
I created one for an older version before, but it didn't work since the change to Python 3. So I created a new one that works.
2017-01-23 12:43:40 +02:00
Adrian Sampson
44963598e8 Remove unused import 2017-01-21 23:32:36 -08:00
Adrian Sampson
ca904a9d0c mpdstats: Fix Python 3 compatibility (fix #2405)
We previously needed a hack to get the client to consume and produce Unicode strings. The library has since added Unicode support, behind a constructor flag. We can remove the hack now, which was causing a crash on Python 3 because the library uses Unicode by default there, and instead use its built-in support.
2017-01-21 23:21:11 -08:00
Adrian Sampson
c21f456f03 tox: Use Python 3.6 in default tests
Just typing `tox` should use the most relevant Python versions.
2017-01-20 20:53:05 -08:00
Adrian Sampson
c2b6623aac Remove an unnecessary list conversion (#2399)
Indexing a string works just fine.
2017-01-20 20:52:58 -08:00
Adrian Sampson
ad957b51d8 Merge pull request #2399 from diomekes/aunique-bracket
Add bracket argument to aunique
2017-01-20 20:52:49 -08:00
diomekes
672fc36cc8 fix docstring for aunique empty bracket 2017-01-20 23:08:36 -05:00
diomekes
04f7915d41 change no-bracket argument from white space to empty 2017-01-20 22:47:47 -05:00
diomekes
eaa2161a90 fix empty disambig string test 2017-01-20 19:40:09 -05:00
diomekes
d10df34c65 add test for aunique without brackets 2017-01-20 09:06:38 -05:00
diomekes
3a967df396 simplify check for empty disam_val, update changelog and docs, add change bracket test 2017-01-19 20:41:44 -05:00
diomekes
377a2a6964 add bracket argument to aunique 2017-01-19 20:39:12 -05:00
Adrian Sampson
958ad430fc bpd: Use integers for time values (fix 2394) 2017-01-17 11:37:10 -08:00
Adrian Sampson
23e05fe0b1 Merge pull request #2389 from irskep/pr/web-features
A new 'beet web' endpoint and configuration option, with docs
2017-01-16 08:43:57 -08:00
Steve Johnson
926dce241c Use util.displayable_path instead of naive .decode() 2017-01-15 11:25:03 -08:00
Steve Johnson
1426aea4a2 Update docs 2017-01-15 11:21:59 -08:00
Steve Johnson
e3707e45f3 Maybe fix code and tests for Windows 2017-01-15 11:21:59 -08:00
Steve Johnson
e2be6ba781 Query path with bytestring. Might fix tests. 2017-01-15 11:21:59 -08:00
Steve Johnson
6b7a6baaf2 Add test for /item/path/ endpoint 2017-01-15 11:21:59 -08:00
Steve Johnson
d8fbdbc16a Update changelog 2017-01-15 11:21:59 -08:00
Steve Johnson
4434569ddc beets.library.Library adds custom bytelower function to all connections, not just one 2017-01-15 11:21:59 -08:00
Steve Johnson
866a650bc0 Rename /item/by_path to /item/path and use PathQuery instead of direct file access 2017-01-15 11:21:33 -08:00
Steve Johnson
05bc4996a8 Rename and invert new config option 2017-01-15 11:21:33 -08:00
Steve Johnson
a994df6aa6 Fix bad doc formatting 2017-01-15 11:21:33 -08:00
Steve Johnson
c409a71ea1 Add missing plus signs to web.rst 2017-01-15 11:21:33 -08:00
Steve Johnson
cedd93b778 Add tests for exclude_paths_from_items 2017-01-15 11:21:33 -08:00
Steve Johnson
50ea74635b Fix tests I broke 2017-01-15 11:21:33 -08:00
Steve Johnson
f6cb46d490 Fix broken tests (no new ones yet) 2017-01-15 11:21:33 -08:00
Steve Johnson
43936cd84c /item/at_path/ endpoint
More at_path

/item/by_path docs
2017-01-15 11:21:33 -08:00
Steve Johnson
29d61ca634 web.exclude_paths_from_items option
More exclude_paths_from_items
2017-01-15 11:21:33 -08:00
Adrian Sampson
dd7f8a3a6f Tiny docstring tweak for #2390 2017-01-15 10:12:49 -08:00
Adrian Sampson
9564efc87e Merge pull request #2390 from irskep/pr/fix-bytelower
beets.library.Library adds custom bytelower function to all connections, not just one
2017-01-15 10:10:43 -08:00
Steve Johnson
31c49a6216 beets.library.Library adds custom bytelower function to all connections, not just one 2017-01-14 19:35:00 -08:00
Adrian Sampson
0f1a93c666 Add missing unittest suite declaration (#2389) 2017-01-14 17:33:36 -08:00
Adrian Sampson
272aa88703 Expand convert format config docs (fix #2384) 2017-01-12 13:16:35 -05:00
Adrian Sampson
70fd6cb78c Merge pull request #2363 from lengtche/master
Fetch non-numeric track indices from MusicBrainz and Discogs
2017-01-10 21:19:56 -05:00
Adrian Sampson
da86a410fe A little more detail in the changelog 2017-01-10 21:04:51 -05:00
Adrian Sampson
703f47ae97 Use flexible attribute for track_alt
No need for a built-in field for a simple string-type optional field like
this.
2017-01-10 21:01:36 -05:00
Mike Cameron
5250ba8020 Added changelog entry of new rack_alt path template value and updated changelog with description of change. 2017-01-10 19:40:23 -05:00
Mike Cameron
0dd763c5ef Fixed flake8 warning W292 for Python 3.4 about missing newline at end of file. 2017-01-10 19:19:09 -05:00
Mike Cameron
bba5a7c712 Fixed (?) failing test where
umber was 	rack_alt was missing during import.
2017-01-10 19:08:18 -05:00
Mike Cameron
3cd4f1c091 Fixed failing test where track number was missing from mocked data. 2017-01-10 18:57:42 -05:00
Mike Cameron
c58c49d77f Fixed trailing whitespace issue. Changed alternate track property name. 2017-01-10 18:39:01 -05:00
Mike Cameron
3f67a27989 Fixed failing test because mocked data was missing property
umber.
2017-01-10 18:21:28 -05:00
Mike Cameron
24b02e8215 Merge remote-tracking branch 'upstream/master' 2017-01-10 17:33:45 -05:00
Adrian Sampson
998e6ac1c7 Remove unused import 2017-01-10 14:54:17 -05:00
Adrian Sampson
bc93a11141 Fix #2382: replaygain backend parsing on Python 3 2017-01-10 14:45:57 -05:00
Adrian Sampson
153b01e5a6 replaygain: Don't muck with logging level
This is now handled by the central logging infrastructure; no need to change
it here. I think this must be a leftover from the era when plugins had to
explicitly muck with their verbosity level, but even still it doesn't make
sense to do set the level to INFO unconditionally...
2017-01-10 14:24:18 -05:00
Adrian Sampson
f7ebf5524f flake8 fix for #2379 2017-01-10 13:25:24 -05:00