Commit graph

7983 commits

Author SHA1 Message Date
euri10
c9177f2b56 removed unrelated PR changes
corrected docs with correct example
added relative date usage to it
2017-01-29 14:38:25 +01:00
euri10
e4a7d37a6d implementing changes asked
corrected rst
fixed flake8 in test
2017-01-29 11:49:22 +01:00
euri10
d48d1f8e3c fixed E226 flake8 2017-01-29 03:54:10 +01:00
euri10
af679de8ec using a pattern may avoid copy-paste error when used 3 times after
fixed an error with the weeks that didn't use the sign correctly
added more tests, this is where py.test fixtures would shine
2017-01-29 03:51:24 +01:00
euri10
3e76c219fb without dateutil 2017-01-28 22:39:37 +01:00
Adrian Sampson
0a13240b22 Merge pull request #2417 from bartkl/patch-1
Update config.rst: see issue #2410
2017-01-28 15:50:09 -05:00
euri10
2b89b90ab6 tests flake8 fixed I think finally 2017-01-28 21:47:01 +01:00
euri10
8d054f3656 tests flake8 issues
added some doc
2017-01-28 21:40:26 +01:00
euri10
868746bb51 tests 2017-01-28 21:23:03 +01:00
Adrian Sampson
48337870cc Bump the required discogs-client version (#2387) 2017-01-28 15:21:10 -05:00
euri10
9bc75b042f need dateutil in install ? 2017-01-28 20:27:28 +01:00
euri10
bee758a196 some flake8 spacing 2017-01-28 20:15:25 +01:00
euri10
03dfaf97ee wrong dateutil package 2017-01-28 20:15:08 +01:00
euri10
5624e24622 trying relative dates 2017-01-28 19:19:01 +01:00
euri10
47b0b54fa1 trying relative dates 2017-01-28 19:15:21 +01:00
A.L. Kleijngeld
24027d1bf8 Update config.rst: see issue #2410
`When a match is above the *medium* recommendation threshold`
->
`When a match is below the *medium* recommendation threshold`

As discussed in issue #2410, which is fixed by this edit.
2017-01-27 21:48:46 +01:00
Adrian Sampson
0be4dc722f Merge pull request #2408 from beetbox/standalone-convert-stub
Remove dependencies from convert_stub.py
2017-01-25 15:31:34 -05:00
wordofglass
bc582701ff fetchart: Internally pass settings in a cleaner way.
Dump the 'extra' dictionary which only duplicated attributes of the
plugin onject in favor of passing a reference to the plugin directly.
2017-01-25 00:01:05 +01:00
Adrian Sampson
2a33db3bb6 Merge pull request #2412 from artemutin/mpdstats_on_play
mpdstats: More general approach to multiple on_play calls for the same song
2017-01-23 19:14:56 -08:00
Artem Utin
40eef2056c Add changelog entry, wrap long comment lines. 2017-01-24 11:41:55 +10:00
Artem Utin
2ab1f3ae89 More general approach to multiple on_play calls for the same song - now it ignores such calls, if time between calls was below threshold 2017-01-23 23:15:14 +10:00
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
3a6967eb7a Remove dependencies from convert_stub.py
See: https://github.com/beetbox/beets/pull/2403#issuecomment-274358494
2017-01-22 12:59:04 -08: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
a99d5d2ed2 On Python 3 in tests, record str output directly
This is a little ugly. Eventually, it would be nice to create a single output
stream set up with the appropriate encoding settings *at startup* and use that
repeatedly, instead of having `print_` check the settings every time. This
output stream could be cleanly replaced with a mock harness for testing.

Yet another reason to desire a big "beets context" object...
2017-01-19 11:42:46 -08:00
Adrian Sampson
5233e0fcdd Avoid stdout encoding issues (#2393) 2017-01-19 11:36:50 -08: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