Commit graph

10713 commits

Author SHA1 Message Date
Adrian Sampson
5ae1e0f3c8
Adapt tests to latest Unidecode version
Unidecode 1.3.5 (a yanked PyPI version) changed the behavior of
Unidecode for some specific characters:

> Remove trailing space in replacements for vulgar fractions.

As luck would have it, our tests used the 1/2 character specifically to
test the behavior when these characters decoded to contain slashes. We
now pin a sufficiently recent version of Unidecode and adapt the tests
to match the new behavior.
2022-10-01 10:33:26 -07:00
Benedikt
b11df49705
Merge pull request #4492 from arsaboo/spotify_date
Fix spotify_updated bug so that the date is not "null"
2022-09-18 12:03:13 +02:00
Alok Saboo
4692199166 Add dateype back 2022-09-17 21:05:16 -04:00
Alok Saboo
e4063b5880 remove datetype 2022-09-17 20:56:48 -04:00
Alok Saboo
85b500e41a Fix spotify_updated bug 2022-09-17 20:25:36 -04:00
Adrian Sampson
44a7cc74bf
Merge pull request #4485 from c00ldude1oo/master
Fix typo in albumtypes plugin docs
2022-09-14 16:13:29 -07:00
Chris
f5d7967646
Fix typo in albumtypes plugin docs 2022-09-14 04:06:16 -04:00
Adrian Sampson
50bd693057
Merge pull request #4456 from arsaboo/mbsubmit
Extend mbsubmit plugin to run after initial import
2022-08-27 13:18:24 -07:00
Adrian Sampson
b65bdd7f06
Add plugin link to changelog for #4456 2022-08-27 13:16:42 -07:00
Adrian Sampson
0c8bf6d7c7
Remove a stray dot 2022-08-27 13:16:02 -07:00
Adrian Sampson
010bacd1ea
Merge pull request #4457 from konlaasz/patch-1
Fix typo
2022-08-26 08:17:36 -07:00
László Koncz
27bc317fed
Fix typo 2022-08-26 12:04:47 +02:00
Alok Saboo
1a2fcdd4e3 Adjust line length 2022-08-24 10:04:01 -04:00
Alok Saboo
8ee1a9e508 Updated docs 2022-08-24 09:39:25 -04:00
Alok Saboo
f01eca756f Update changelog.rst 2022-08-24 09:34:06 -04:00
Alok Saboo
d267f9a8a9 Remove f-string 2022-08-24 09:32:39 -04:00
Alok Saboo
9d8ce14e9a Cleanup mbsubmit 2022-08-24 09:24:33 -04:00
Alok Saboo
c48aef3f33 Update mbsubmit.py 2022-08-24 09:16:20 -04:00
Alok Saboo
2168292455 Update mbsubmit.py 2022-08-24 09:11:45 -04:00
Adrian Sampson
e584b043be
Merge pull request #4199 from jcassette/duplicate
Allow to configure which fields are used to find duplicates
2022-08-21 10:44:31 -07:00
Adrian Sampson
2ebc28d6cb
Improve changelog for #4199 2022-08-21 10:36:40 -07:00
Adrian Sampson
1054b729d3
Merge branch 'master' into duplicate 2022-08-21 10:34:15 -07:00
Adrian Sampson
3c945cba0c
Change config key from "single" to "item"
For consistency with the rest of the terminology in the docs/config.
Also, correct the documentation (which previously only covered albums).
2022-08-21 10:31:45 -07:00
Adrian Sampson
bcc8903036
Refactor query utilities
We now use somewhat more general query constructors in `dbcore`,
avoiding the need for somewhat special-purpose `duplicates` methods on
the model objects.
2022-08-21 10:27:31 -07:00
Adrian Sampson
ca38486b83
Clarify some control flow 2022-08-21 10:12:47 -07:00
Adrian Sampson
7467bc3919
Merge pull request #4450 from beetbox/deprecations
Resolve some deprecation warnings
2022-08-21 10:01:37 -07:00
Adrian Sampson
8cb314350c
Avoid BeautifulSoup deprecation warning
The `text` parameter to `SoupStrainer` was renamed to `string` in 2015
(4.4.0) and started producing a warning this year (4.11.0).
https://bazaar.launchpad.net/%7Eleonardr/beautifulsoup/bs4/view/head:/CHANGELOG
2022-08-21 09:50:53 -07:00
Adrian Sampson
8c84bae689
Remove match_querystring in responses
Quoth the responses documentation:

> querystring is matched by default

Not sure how recent this is, unfortunately---but probably 0.17.0, since
that's the version where `match_querystring` was deprecated.
2022-08-21 08:18:49 -07:00
Adrian Sampson
63b7595bd4
Remove use of imp
The replacements in `importlib.util` have been available since Python
3.5.
2022-08-21 08:13:07 -07:00
Adrian Sampson
2c9f699ffd
Use non-deprecated name for notify_all
`notifyAll` was deprecated in:
https://github.com/python/cpython/issues/87889

The new name, `notify_all`, has been available since Python 3.0.
2022-08-21 08:06:10 -07:00
Adrian Sampson
6e0f7a1e68
Merge pull request #4412 from beetbox/album-items
Document Album.items() / LibModel.items() conflict
2022-08-21 07:09:12 -07:00
Adrian Sampson
f0a6bbb38c
Merge pull request #4447 from wisp3rwind/pr_version_regex
release.py: fix version regex (remove u'' string prefix)
2022-08-21 07:07:23 -07:00
Callum Brown
bf8fbed2e8 Clarify Album.items() conflict 2022-08-21 14:34:18 +01:00
Adrian Sampson
40d7fa6f8e
Merge pull request #4095 from Duncaen/formatted-modify
Formatted modify and import --set-field.
2022-08-20 17:14:02 -07:00
Adrian Sampson
fb9e95b324
Fix some long lines 2022-08-20 16:50:20 -07:00
Adrian Sampson
b207224d57
Further document formatted modify with examples
I think these can make it clearer why someone would want to use this
feature. (Part of #4095.)
2022-08-20 16:47:01 -07:00
Adrian Sampson
dad918e63c
Out-of-date changelog fixes 2022-08-20 16:43:55 -07:00
Adrian Sampson
7af40db050
Merge branch 'master' into formatted-modify 2022-08-20 16:37:52 -07:00
Benedikt
4761c35afd
Merge pull request #4395 from clach04/patch-1
Version bump to 1.6.1
2022-08-20 07:33:23 +02:00
wisp3rwind
fafddced6e release.py: fix version regex (remove u'' string prefix) 2022-08-20 07:30:15 +02:00
Adrian Sampson
18ab44169d
Merge pull request #4444 from BinaryBrain/master
Add Beetstream in the plugin list
2022-08-19 17:54:52 -07:00
Sacha Bron
93725c454d Add Beetstream in the plugin list 2022-08-20 01:30:38 +02:00
Benedikt
0ae7d66256
Merge pull request #4441 from beetbox/exact-prefix
Change the prefix for exact match queries
2022-08-18 18:11:03 +02:00
Adrian Sampson
32ce44f589
One more test fix 2022-08-17 16:25:17 -07:00
Adrian Sampson
495c8accc0
Update exact query prefix tests 2022-08-17 16:11:16 -07:00
Adrian Sampson
f71e503f6c
Change the prefix for exact match queries
PR #4251 added exact match queries, which are great, but it was
subsequently pointed out that the `~` query prefix was already in use:
https://github.com/beetbox/beets/pull/4251#issuecomment-1069455483

So this changes the prefix from `~` to `=~`. A little longer, but
hopefully it makes the relationship to the similarly-new `=` prefix obvious.
2022-08-17 16:05:33 -07:00
Adrian Sampson
e995019edd
Doc tweaks for #4438 2022-08-17 15:55:25 -07:00
Adrian Sampson
fa81d6c568
Merge pull request #4438 from jaimeMF/singleton_unique_paths
Add path template "sunique" to disambiguate between singleton tracks
2022-08-17 15:54:43 -07:00
Jaime Marquínez Ferrándiz
6aa9804c24 Document the %sunique template 2022-08-17 17:03:16 +02:00
Jaime Marquínez Ferrándiz
f641df0748 Encapsulate common code for the aunique and sunique templates in a single method 2022-08-16 17:54:12 +02:00