malan88
d1ba56e246
Simplify wording, exclude ref to distance_weights
...
Per conversation with Adrian, simplify the wording of the change.
2019-03-07 10:41:37 -05:00
malan88
2cef079603
Improve specifications in the matches.ignored setting
...
The setting is quite confusing. After having difficulty getting the autotagger to accept an id for a specific release that I knew was correct, I investigated and count [this closed issue][0] that totally explains the problem.
To clarify the issue, I quoted Adrian from the issue and elaborated a bit, providing the solution. Unfortunately, the solution is undocumented. I'd like to document it, but I am unsure what the actual weighting system in `distance_weights` is. Adrian says 0.9 to ignore missing_tracks, which implies it's similar to the distance weighting in the other settings, but other settings in the default config are set to multiples of 1, implying it is not.
[0]: https://github.com/beetbox/beets/issues/3064
2019-03-07 09:39:34 -05:00
Adrian Sampson
f6ad98a4a5
Merge pull request #3167 from jackwilsdon/fix-hook-unicode
...
Fix hook byte string interpolation
2019-02-25 11:09:12 -05:00
Adrian Sampson
9f2c7727cd
Merge pull request #3169 from beetbox/munkres-versions
...
More complex version dependencies for munkres
2019-02-25 11:08:29 -05:00
Adrian Sampson
f312b1f0b7
Fix #3168 : several versions of munkres
...
Require different version constraints for Pythons <3.5, =3.5, and >3.5.
2019-02-25 10:06:14 -05:00
Jack Wilsdon
25549a656f
Add test for interpolating byte strings in hook plugin
2019-02-25 14:42:20 +00:00
Jack Wilsdon
9bb6c29d22
Always use custom formatter for formatting hook commands
2019-02-25 14:41:59 +00:00
Adrian Sampson
80f4f0a0f2
badfiles: Fix decoding for command output
...
Probably fixes #3165 . There were several things going wrong here:
1. For some reason, this was using the *filesystem* encoding, which is
what you use to decode filenames. But this was general command
output, not filenames.
2. Errors in decoding threw exceptions, even though all we do with this
output is show it to the user.
3. The prints were using `displayable_path`, even though the lines are
*already* Unicode strings.
Hopefully this cleans up that mess.
2019-02-24 16:06:36 -05:00
Adrian Sampson
3973efc25f
Merge pull request #3159 from Holzhaus/fix-badfiles-plugin
...
badfiles: Fix #3158 by calling superclass __init__ method
2019-02-21 11:00:13 -05:00
Jan Holthuis
3e10d5d39f
badfiles: Fix #3158 by calling superclass __init__ method
2019-02-21 12:40:54 +01:00
Adrian Sampson
be118b922a
Merge pull request #3155 from Holzhaus/fetchart-error-handling
...
fetchart: Add some error handling to prevent crashes
2019-02-20 08:45:22 -05:00
Jan Holthuis
9b5e681f86
docs: Add fetchart error handling fix to changelog
...
The changelog entry also mentions that this fixes #1579 .
2019-02-20 07:50:58 +01:00
Adrian Sampson
9d0f2c1354
Merge pull request #3006 from bemeurer/parallel-bad
...
Parallelize the badfiles plugin
2019-02-19 22:25:24 -05:00
Bernardo Meurer
c3c7aa619d
Updated changelog
2019-02-19 18:49:31 -08:00
Bernardo Meurer
9374983e9d
Fixed import order
2019-02-19 18:49:29 -08:00
Bernardo Meurer
e209fe5886
Parallelized beet bad
2019-02-19 18:47:47 -08:00
Adrian Sampson
10bc466573
Refine docs for #3153
2019-02-19 18:36:19 -05:00
Adrian Sampson
7a857548b3
Merge pull request #3153 from bemeurer/parallel-map
...
Add parallel map utility
2019-02-19 18:33:00 -05:00
Jan Holthuis
c07903ed66
fetchart: Add some error handling to prevent crashes
...
Today I had some network problems regarding dbpedia.org, which made
beets crash because a requests.exceptions.ConnectionError was raised
("[Errno 113] No route to host"). This commits adds some error handling
around network requests to prevent further crashes in the future.
2019-02-19 16:16:56 +01:00
Bernardo Meurer
1dad5ded03
Move absubmit plugin parallelization to util.par_map
2019-02-18 22:42:20 -08:00
Bernardo Meurer
c4506558f5
Added par_map utility
2019-02-18 22:32:05 -08:00
Adrian Sampson
81c5ae3fdf
Merge pull request #3151 from Holzhaus/playlist-plugin-additions
...
playlist: Add auto-update functionality and more tests
2019-02-18 08:40:55 -05:00
Jan Holthuis
4ba5dfaa43
playlist: Remove leftover print call and fix 'auto' option access style
2019-02-18 09:13:39 +01:00
Jan Holthuis
7bca5cf549
playlist: Don't use syspath() when checking if path is absolute
2019-02-17 22:28:39 +01:00
Jan Holthuis
ee2cce4280
playlist: Work around Windows' Mandatory File Locking on playlist updates
2019-02-17 22:12:13 +01:00
Jan Holthuis
d991e2a7d8
playlist: Normalize path before lookup in changes dict
2019-02-17 21:51:09 +01:00
Jan Holthuis
76a3e44aad
test: Make music dir of playlist tests Windows-compatible
2019-02-17 21:27:37 +01:00
Jan Holthuis
7ec55a5f3b
test: Use unicode literals for library queries in playlist tests
2019-02-17 21:27:09 +01:00
Adrian Sampson
9320db21eb
Merge pull request #3150 from beetbox/named-query
...
Add support for "named queries" and use them in the playlist plugin
2019-02-17 15:08:31 -05:00
Jan Holthuis
fdd41b301d
docs: Update documentation regarding playlist plugin
2019-02-17 20:39:54 +01:00
Jan Holthuis
a9dd5a7cdc
test: Add testcase for playlist plugin's update functionality
2019-02-17 20:31:15 +01:00
Adrian Sampson
7edba6e9ea
Fix test harness for named queries
2019-02-17 14:11:40 -05:00
Adrian Sampson
55ef2ffd39
Add future imports to playlist plugin
2019-02-17 14:02:26 -05:00
Adrian Sampson
420772ea49
Changelog entry for pseudo-field queries
2019-02-17 13:54:18 -05:00
Adrian Sampson
7efc67eb03
playlist: Use new "named query" functionality
2019-02-17 13:52:00 -05:00
Adrian Sampson
22c8289269
Support plugin-provided named queries
2019-02-17 13:49:54 -05:00
Jan Holthuis
1af82cc450
test: Split up playlist test helper class
2019-02-17 19:41:37 +01: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
Jan Holthuis
6d42028057
playlist: Add playlist auto-update functionality
2019-02-17 19:38:21 +01:00
Jan Holthuis
5b68d88346
test: Add more playlist tests for the different relative_to settings
2019-02-17 19:36:26 +01:00
Jan Holthuis
9f3acce2ae
test: Add non-existing item to playlist tests
2019-02-17 19:35:54 +01:00
Jan Holthuis
b00b38dab6
test: Add test for relative playlists
2019-02-17 19:35:43 +01:00
Jan Holthuis
14cad04d35
test: Further improve Windows compatibility in playlist plugin test
2019-02-17 19:33:54 +01:00
Adrian Sampson
3633c1e27f
Tiny doc refinements for #3145
2019-02-17 13:17:22 -05:00
Adrian Sampson
00667bda0f
Merge pull request #3145 from Holzhaus/playlist-plugin
...
Playlist plugin
2019-02-17 13:16:26 -05:00
Adrian Sampson
7360bbc152
Only pin Jellyfish version on py2
2019-02-17 13:06:55 -05:00
Adrian Sampson
864f9f9167
Merge pull request #3112 from efischer19/master
...
Maintain python 2 compatibility
2019-02-17 13:03:23 -05:00
Jan Holthuis
4f1a468aa9
playlist: Restore case sensitivity in col_clause method
2019-02-17 17:34:36 +01:00
Jan Holthuis
d6022e28d7
test: Ensure path quoting in playlist tests
2019-02-17 16:43:36 +01:00
Jan Holthuis
31c687c853
test: Fix playlist plugin path handling for Windows compatibility
2019-02-17 16:17:47 +01:00