Commit graph

6354 commits

Author SHA1 Message Date
Markus Unterwaditzer
9518f28faa Fix numeric types 2016-05-28 00:26:57 +02:00
Markus Unterwaditzer
1ae6ce04dd Run python-modernize across the codebase 2016-05-27 23:13:01 +02:00
Markus Unterwaditzer
7970681289 Merge pull request #2022 from jrobeson/py3-compat-replace-iter.next
use next() instead of iter.next() throughout
2016-05-27 23:12:18 +02:00
Johnny Robeson
b99a6acc54 use next() instead of iter.next() throughout 2016-05-27 17:00:40 -04:00
Johnny Robeson
9e03e7c8cf Merge pull request #2020 from jrobeson/update-gitignore
Rebase our .gitignore on top of gitignore.io
2016-05-27 15:39:48 -04:00
Adrian Sampson
976606f5e6 Changelog and thanks for #2010 2016-05-27 00:18:52 -07:00
Adrian Sampson
59435792e9 Merge pull request #2010 from sumpfralle/web-api-unique-results
web: add API functions for retrieving unique values of specific keys
2016-05-27 00:15:34 -07:00
Adrian Sampson
4d11b9c4f1 Merge pull request #2019 from jrobeson/py3-compat-use-reduce-from-functools
use reduce() from functools
2016-05-27 00:10:15 -07:00
Adrian Sampson
a97c9b8c3c Merge pull request #2017 from jrobeson/py3-compat-exec
use exec() in a python3 compatible way
2016-05-27 00:09:45 -07:00
Adrian Sampson
47f2a4ef31 Merge pull request #2016 from jrobeson/octal-confusions
clear up octal confusions for python 2/3 compat
2016-05-27 00:08:40 -07:00
Johnny Robeson
a3b219d7c2 Rebase our .gitignore on top of gitignore.io 2016-05-27 00:56:00 -04:00
Johnny Robeson
a405a072f7 use reduce() from functools 2016-05-26 23:52:35 -04:00
Johnny Robeson
038c36b974 Merge pull request #2018 from jrobeson/py3-compat-confit-next-if-py3
remove unneeded if PY3 in iter_first
2016-05-26 23:01:23 -04:00
Johnny Robeson
f1ecf0af10 remove unneeded if PY3 in iter_first 2016-05-26 22:40:55 -04:00
Johnny Robeson
d6d7341314 use exec() in a python3 compatible way 2016-05-26 22:37:41 -04:00
Johnny Robeson
7f41d5c188 use 0o prefix when we want octal 2016-05-26 22:31:55 -04:00
Johnny Robeson
cede0ed466 remove leading 0 when octal is unwanted 2016-05-26 22:31:25 -04:00
Adrian Sampson
69b9d2521e Merge pull request #2015 from jrobeson/remove-TYPES_TYPE-from-confit
remove unused TYPES_TYPE from confit
2016-05-26 19:14:12 -07:00
Lars Kruse
d50923553d web: add API functions for retrieving unique values of specific keys
the following API paths are added:
* /item/values/FIELD
* /album/values/FIELD

Both paths will deliver a json dictionary with the key 'values' containing a
list of unique values belonging to the requested table and field.
Sorting is possible by supplying the query argument "sort_key".

This feature is useful for remote clients, e.g. Mopidy-Beets:
* track genres: /item/unique/genre
* track languages: /album/unique/language
* album artists: /album/unique/albumartist?sort_key=albumartist_sort
* album years: /album/unique/year
2016-05-27 04:12:09 +02:00
Johnny Robeson
34f17fbf02 remove unused TYPES_TYPE from confit 2016-05-26 21:35:16 -04:00
Johnny Robeson
6d0727f143 Merge pull request #2014 from jrobeson/cover-more-float-cast-cases
Cover more float types in safe_cast
2016-05-26 01:45:46 -04:00
Johnny Robeson
15cc128233 add safe_cast fixes to the changelog 2016-05-26 01:45:16 -04:00
Johnny Robeson
5963595f32 Add safe_cast tests for . and 1.0.0 2016-05-26 00:57:16 -04:00
Johnny Robeson
18aef27402 Cover more float types in safe_cast
Now input like `.` and `1.0.0` are handled
2016-05-26 00:57:16 -04:00
Adrian Sampson
1e591c8122 Changelog for #2011 2016-05-24 10:39:36 -07:00
Adrian Sampson
1de7836b09 Merge pull request #2011 from sumpfralle/web-api-handle-missing-art
web: handle missing art gracefully
2016-05-24 10:38:26 -07:00
Lars Kruse
be4dc227fc web: handle missing art gracefully 2016-05-24 03:05:51 +02:00
Frederik “Freso” S. Olesen
26cdbb0f7b
Merge pull request #2007 from Freso/https-acousticbrainz
acousticbrainz plugin: Access acousticbrainz.org over HTTPS.

URL: https://github.com/beetbox/beets/pull/2007
2016-05-21 11:03:53 +02:00
Fabrice Laporte
fadb2da120 Update lyrics.rst
fix typo in url
2016-05-21 07:33:38 +02:00
Frederik “Freso” S. Olesen
37b9360706
acousticbrainz plugin: Access acousticbrainz.org over HTTPS. 2016-05-20 01:08:15 +02:00
Adrian Sampson
ef7cca4c12 Fix #2005: list AIFF as a lossless format 2016-05-18 11:24:34 -07:00
David Logie
0f4b454c20 Don't blow up if a subcommand has no help string. 2016-05-08 16:45:09 +01:00
Jack Wilsdon
5f3c27990d Merge pull request #1974 from jackwilsdon/make-convert-extension-optional
Make convert extension optional
2016-05-08 16:30:30 +01:00
Johnny Robeson
687454af9d Merge pull request #1995 from jrobeson/add-lost-found-to-ignore
add lost+found directory to default ignore list
2016-05-06 22:23:36 -04:00
Johnny Robeson
c1a168590c add lost+found directory to default ignore list 2016-05-06 20:51:37 -04:00
Jack Wilsdon
281c0cbad9 Merge pull request #1994 from jackwilsdon/ignore-hidden-files
Add option to ignore hidden files on import
2016-05-06 16:59:23 +01:00
Jack Wilsdon
78109d779e Update changelog to reflect addition of new option 2016-05-06 11:27:33 +01:00
Jack Wilsdon
f8b1a2e565 Remove unnecessary equality check
- Remove unnecessary equality check and wrap the value in `bool`.
 - Remove unnecessary `bool` wrapping.
2016-05-06 11:24:28 +01:00
Jack Wilsdon
99326192eb Add missing copyright and future imports 2016-05-06 00:55:55 +01:00
Jack Wilsdon
506f1b7351 Fix tempfile spelling in hidden test 2016-05-06 00:55:29 +01:00
Jack Wilsdon
d13022e519 Use os.lstat instead of CoreFoundation and ctypes magic on OS X 2016-05-06 00:52:22 +01:00
Jack Wilsdon
38a3726b1b Add documentation 2016-05-06 00:45:45 +01:00
Jack Wilsdon
4b4e788865 Add ignore_hidden configuration property
Add `ignore_hidden` top level configuration property, allowing hidden
files to be ignored on import.
2016-05-06 00:40:55 +01:00
Jack Wilsdon
412bde5de2 Add library to check if a file is hidden
- Add `beets.util.hidden` which adds a `is_hidden` function to check
   whether or not a file is hidden on the current platform.
 - Add tests for `beets.util.hidden`.
2016-05-06 00:15:09 +01:00
Jack Wilsdon
db36d68f5b Merge pull request #1990 from jrobeson/add-tox-caching
Cache tox and pip directories for travis
2016-05-05 21:47:28 +01:00
Johnny Robeson
dee2c0d07f use pip specific caching directive in .travis.yml 2016-05-05 16:07:24 -04:00
Johnny Robeson
4869db9509 Cache tox and pip directories for travis 2016-05-05 15:29:23 -04:00
Adrian Sampson
5afae0e078 Merge pull request #1985 from pkel/patch-1
Update location of noimport plugin in docs
2016-05-03 15:39:03 -07:00
pkel
195b3fb520 Update location of noimport plugin 2016-05-03 20:33:17 +02:00
Jack Wilsdon
982272deb3 Merge pull request #1981 from jackwilsdon/fix-hook-unicode
Fix command formatting for hook plugin
2016-05-03 17:45:38 +01:00