Vladimir Zhelezov
520befb30a
Fix #2826 : introduce beets.util.inspect wrapper
2019-03-05 08:31:44 +01:00
Vladimir Zhelezov
3eb5907da8
Merge branch 'master' of https://github.com/beetbox/beets into 2826-deprecation-warnings
2019-03-04 21:01:19 +01:00
Adrian Sampson
10bc466573
Refine docs for #3153
2019-02-19 18:36:19 -05:00
Bernardo Meurer
c4506558f5
Added par_map utility
2019-02-18 22:32:05 -08:00
Adrian Sampson
22c8289269
Support plugin-provided named queries
2019-02-17 13:49:54 -05:00
Adrian Sampson
d8e167637e
Prototype support for named (pseudo-field) queries
...
As discussed here:
https://github.com/beetbox/beets/pull/3145#pullrequestreview-204523870
This would replace the need for #3149 .
2019-02-17 13:41:05 -05:00
Adrian Sampson
69fbba1eed
Merge pull request #3144 from Holzhaus/add-id3v23-to-convert
...
Add id3v23 option to convert plugin
2019-02-15 09:51:46 -07:00
Jan Holthuis
53b63443fb
art: Allow overriding id3v23 in embed_item()
2019-02-14 23:42:36 +01:00
Jan Holthuis
305bb64086
library: Allow overriding global id3v23 option in write()
2019-02-14 23:42:36 +01:00
Jan Holthuis
bc5b15f277
library: Pass try_write() kwargs directly to write()
...
This avoids duplication of the kwargs and their default values.
2019-02-14 23:42:36 +01:00
Jack Wilsdon
768770d561
Fix incorrect indentation
2019-01-31 00:15:42 +00:00
David Logie
19db67c642
Remove extra trailing blank line.
2019-01-26 18:35:37 +00:00
David Logie
604616050b
Address PR comments.
...
- Rename config option to overwrite_null
- Leave overwrite_null empty by default
- Handle more potentially null fields for both album and tracks
- Remove documentation and changelog entries for now
2019-01-26 11:17:17 +00:00
David Logie
2ef74999ea
Use .as_str_seq() instead of .get().
2019-01-25 17:11:18 +00:00
David Logie
1f356d66a6
First attempt at fixing #3132 .
...
Add a new `no_clobber` config option that contains a list of
"miscellaneous" metadata fields not to be overwritten by empty values.
I'm not entirely happy with the `no_clobber` name. Suggestions welcome.
2019-01-25 14:07:43 +00:00
Rahul Ahuja
5fbb28637d
Set Spotify AlbumInfo.mediums
2019-01-23 19:54:14 -08:00
RollingStar
f5086d0bc6
Changelog and linting
2019-01-18 17:15:29 -05:00
RollingStar
a4100a28a5
More verbose move message
2019-01-16 17:56:27 -05:00
Vladimir Zhelezov
3e0b2ad146
Fix #2826
...
Test for major Python version and use inspect.getargspec() or
inspect.getfullargspec() respectively to silence deprecation warnings in
Python 3
2018-12-10 08:40:32 +01:00
Adrian Sampson
ca359d7e0d
Merge pull request #3085 from jackwilsdon/modify-skip-remaining
...
Allow exiting object selection early
2018-12-02 14:57:16 -05:00
Guilherme Danno
fa1037ee28
Enhance %title ( #3059 )
...
Use string.capwords in %title to lower char after apostrophe
2018-11-29 11:30:48 -02:00
Jack Wilsdon
bed3abd97a
Allow exiting object selection early
2018-11-28 17:17:12 +00:00
Taizo Simpson
b901eb3723
Added check to remove duplicate changes
2018-10-24 14:12:32 -04:00
Taizo Simpson
a9793067fa
When selecting items to modify, use configured order
...
Closes #3501
2018-10-22 20:34:21 -04:00
Adrian Sampson
b0add60332
Merge pull request #3030 from projectgus/remove_missing_albumart
...
move_art: Remove missing album art
2018-10-09 16:58:59 -04:00
Adrian Sampson
54cf6d4d44
Merge pull request #3043 from beetbox/aunique-format
...
Make `%aunique` work with `-f/--format` options.
2018-09-27 10:29:33 -04:00
David Logie
b347908af7
Address PR comments.
2018-09-27 14:54:23 +01:00
David Logie
882849433e
Remove unneeded line.
2018-09-27 14:30:38 +01:00
David Logie
932609933f
Allow "deleting" fixed attributes via beet modify.
...
Deleting a fixed field isn't possible so we just reset the
field back to it's "null" value.
Fixes #2497 .
2018-09-27 11:22:17 +01:00
David Logie
54624a879d
Make %aunique work with -f/--format options.
2018-09-26 14:17:57 +01:00
Adrian Sampson
3b78d933cf
Fix #3041 : only try to close opened archives
...
The "finally" clause here only wants to apply when `archive` is
assigned. Otherwise, we were getting a NameError trying to refer to the
appropriate variable.
2018-09-21 15:55:09 -04:00
Angus Gratton
e58ddbfa1a
move_art: Remove missing album art
...
Prevents a fatal file system error if the album art has been moved or renamed
and the beets library hasn't been manually updated.
2018-09-18 20:32:48 +10:00
Laurent Kislaire
f3c48d0a78
Using py3_path
2018-09-10 08:24:50 +02:00
Laurent Kislaire
1bada74bef
Fixes #2504
...
PIL Image.save() requires a string parameter [1] while under python3 we call it with bytes.
This leads to wrong format detection (b'.png' isn't a key in supported formats list).
[1] https://pillow.readthedocs.io/en/latest/reference/Image.html#PIL.Image.Image.save
2018-09-09 21:51:10 +02:00
Adrian Sampson
3ddf3ef58a
Merge pull request #3022 from beetbox/default-ignore-data-tracks
...
Make `ignore_data_tracks` `yes` by default
2018-09-05 23:13:44 -04:00
David Logie
bb3b294beb
Address PR comments.
2018-09-05 17:08:40 +01:00
David Logie
57b268923f
Split release and release-group disambiguation into separate fields.
2018-09-05 12:45:19 +01:00
David Logie
86d75cfad7
Allow setting default options for %unique in the configuration file.
2018-09-04 18:14:24 +01:00
Filipe Fortes
1701aefe5c
Make ignore_data_tracks yes by default
2018-09-04 10:04:17 -04:00
Filipe Fortes
210b9d316f
Allow ignoring of audio data tracks on import
2018-09-02 10:09:10 -04:00
Martin Haaß
9f6f1987ab
CodeReview: change message, add changelog entry, fix line length for style check
2018-08-16 00:18:26 +02:00
Martin Haaß
1b5d0ca0e5
Improve error messages in case of sqlite errors
2018-08-15 23:24:26 +02:00
Adrian Sampson
bac8faad78
Resolve W605: invalid escape sequence
...
This came up in lots of regexes that weren't using "raw" literals.
2018-08-13 10:41:01 -04:00
Adrian Sampson
15d44f02a3
Fix Python 3.7 compatibility ( #2978 )
2018-07-22 12:34:19 -04:00
Zsin Skri
ba8fcdfd47
from_scratch import: only remove writable fields
...
When importing with the configuration option ``from_scratch`` set, only remove
writable fields from library. E.g. keep fields like ``format`` and ``bitrate``.
This fixes #2972 .
2018-07-01 20:23:13 +02:00
Adrian Sampson
0c033bdaf1
Expand comment explanation
2018-06-24 10:15:02 -04:00
Adrian Sampson
8507ea2b9e
Merge pull request #2949 from twrightsman/chdir-test
...
pre-resolve package path for lazy-load configuration
2018-06-24 10:14:14 -04:00
Travis Wrightsman
5213673616
pre-resolve package path for lazy-load configuration
...
`test_ui.ConfigTest.test_command_line_option_relative_to_working_dir` was
failing because it changes working directories before the relative lazy-loaded
default configuration path is resolved (`../beets/__init__.py`), later causing a
`beets.util.confit.NotFoundError`. The Configuration object has been modified
so that lazy-load configurations resolve the path in advance.
2018-06-23 23:36:45 +02:00
jams2
68590e10ab
remove unnecessary list comp, add descriptive variable names
2018-06-20 18:21:04 +01:00
jams2
b6947ddc2e
change ui.commands.show_change to align missing tracks by length of longest track name to print
2018-06-20 18:07:03 +01:00