Commit graph

6487 commits

Author SHA1 Message Date
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
Adrian Sampson
28005ff866 Merge pull request #1984 from Profpatsch/ogg-quality-doc
Document convert plugin ogg quality change
2016-05-02 10:44:55 -07:00
Profpatsch
37710edb55 Document convert plugin ogg quality change 2016-05-02 19:08:47 +02:00
Jack Wilsdon
bf29c24a57 Merge pull request #1982 from Profpatsch/patch-2
convert plugin: Change the default ogg quality
2016-05-02 01:04:02 +01:00
Profpatsch
2d36626d25 convert plugin: Change the default ogg quality
According to the `oggenc(1)` man page (in vorbis-tools), the default quality is 3, not 2. So we should use that.
2016-05-02 01:53:20 +02:00
Jack Wilsdon
92af723682 Format individual command pieces instead of whole command 2016-05-01 23:04:22 +01:00
Jack Wilsdon
9f0db13675 Remove unnecessary variable 2016-05-01 21:44:40 +01:00
Jack Wilsdon
63caf1fceb Add documentation for coding formatter 2016-05-01 21:44:05 +01:00
Jack Wilsdon
ba7004de6e Remove unneeded AutoFieldCountFormatter 2016-05-01 21:33:06 +01:00
Jack Wilsdon
e66981c4d8 Use beets shlex_split instead of shlex.split 2016-05-01 21:31:53 +01:00
Jack Wilsdon
b4715d61e1 Fix over-indentation of wrapped code 2016-05-01 21:30:20 +01:00
Jack Wilsdon
576ec92992 Fix encoding for hook plugin
- Add a AutoFieldCountFormatter formatter for auto field
   incrementation.
 - Add a CodingFormatter for formatting encoded strings.
 - Fix encoding for hook plugin using CodingFormatter.
2016-05-01 21:21:40 +01:00
Adrian Sampson
04bbdede38 hook: Typed configuration accessors 2016-05-01 13:04:35 -07:00
Jack Wilsdon
02592d2c54 Merge pull request #1980 from jackwilsdon/fix-hook-unicode
Use unicode for command formatting in hook plugin
2016-05-01 18:31:13 +01:00
Jack Wilsdon
b9464d1ea4 Use unicode for command formatting 2016-05-01 18:26:06 +01:00
Jack Wilsdon
2c071e2ff5 Merge pull request #1975 from pkel/master
convert.py: Fix error message
2016-05-01 01:01:08 +01:00
Patrik
2f608fce0a convert.py: Fix error message 2016-05-01 01:53:03 +02:00
Patrik
4f596725ae convert.py: Fix error message 2016-05-01 01:27:02 +02:00