Šarūnas Nejus
17bc11034f
Limit search query results using request parameters
2025-09-01 04:36:54 +01:00
Šarūnas Nejus
20497d3d9b
Dedupe search_limit config option init
2025-09-01 04:10:53 +01:00
Šarūnas Nejus
d93ddf8dd4
Do not use explicit indices for logging args when not needed
2025-08-30 23:10:21 +01:00
Šarūnas Nejus
1c16b2b308
Replace string concatenation (' + ')
...
- Join hardcoded strings
- Replace concatenated variables with f-strings
2025-08-30 23:10:15 +01:00
Šarūnas Nejus
4a361bd501
Replace format calls with f-strings
2025-08-30 18:42:26 +01:00
Rebecca Turner
0430bd383a
discogs: don't crash if a release is deleted
2025-08-07 20:25:09 -07:00
Sebastian Mohr
1d33580b68
Renamed class method to _extract_id.
2025-07-15 15:03:14 +02:00
Sebastian Mohr
a97633dbf6
Opt in dicogs plugin.
2025-07-15 15:03:14 +02:00
Šarūnas Nejus
adbd50b237
Move distance to a separate module
2025-05-31 19:17:43 +01:00
Šarūnas Nejus
e151b4b49b
Implement track_for_id to allow fetching singletons by discogs id
2025-05-19 09:43:56 +01:00
Šarūnas Nejus
d9b67acff5
discogs: simplify getting track from album
2025-05-19 09:43:03 +01:00
Šarūnas Nejus
9cc7ecaceb
discogs: cache TRACK_INDEX_RE
2025-05-19 09:43:03 +01:00
Šarūnas Nejus
8e5858254b
discogs: cache master release lookups
2025-05-19 09:43:03 +01:00
Šarūnas Nejus
12149b3e6d
discogs: remove duplicate error handling
2025-05-19 09:43:03 +01:00
Šarūnas Nejus
09862aeaea
discogs: Add types to public methods
2025-05-19 09:43:01 +01:00
Šarūnas Nejus
9242db04a5
discogs: add configurable search_limit
2025-05-19 09:42:06 +01:00
Šarūnas Nejus
e8e9369bc7
Remove unused extra_tags parameter
2025-05-19 09:18:06 +01:00
Šarūnas Nejus
b520981c9c
plugins: restructure id extraction
2025-05-17 14:57:34 +01:00
Šarūnas Nejus
4c1f217ce0
missing: support non-musicbrainz data sources
2025-04-14 02:28:42 +01:00
Konstantin
796c9addfb
Fixes TypeError in the Discogs plugin ( #5415 )
...
Handles the case when discogs return `None` for format descriptions.
---------
Co-authored-by: Šarūnas Nejus <snejus@protonmail.com>
2024-09-19 21:27:16 +01:00
Šarūnas Nejus
179405ed82
A couple of small updates in the code
2024-06-05 04:41:02 +01:00
Adrian Sampson
6655760732
Merge pull request #4974 from fhchl/master
2023-10-26 10:09:07 -04:00
U-LAPTOP-4EP3DB2K\alexa
5fe19c1d1d
PR feedback: fix formatting
2023-10-23 09:47:19 +08:00
fhchl
3e1d496ba1
return empty lists instead of None
2023-10-22 20:46:36 +02:00
U-LAPTOP-4EP3DB2K\alexa
3e06ca2af4
Use images attr over cover_image
2023-10-22 21:51:29 +08:00
U-LAPTOP-4EP3DB2K\alexa
6e88da7298
Merge branch 'master' into henges/discogs-fetchart
2023-10-22 20:48:54 +08:00
U-LAPTOP-4EP3DB2K\alexa
c31146e3f5
Discogs <-> fetchart integration
2023-10-22 20:42:45 +08:00
Serene-Arc
a6e5201ff3
Apply formatting tools to all files
...
This is 'the big one', which touches every file so that it all conforms
to the given standard.
2023-10-22 09:53:18 +10:00
J0J0 Todos
f84b9ea7cf
DiscogsPlugin.item_candidates attaches album info
...
to the TrackInfo objects it returns.
Additionally a new feature is introduced that uses string_dist to find the
correct track on the Discogs album.
2023-07-20 09:12:42 +02:00
J0J0 Todos
0630f4a263
Strip word "vinyl" when searching Discogs
...
In DiscogsPlugin.get_albums() we already strip away the words "CD" and "disk".
It makes sense to also remove "vinyl"
2023-07-18 08:05:22 +02:00
J0J0 Todos
3debf4edca
Fix early exit in Discogs item_candidates method
2023-07-18 07:51:12 +02:00
ghbrown
f1b7832d52
Change minimum discogs_client version to 2.3.15
2023-03-10 15:28:29 -06:00
ghbrown
bad541e2c4
Address lint errors for discogs_client version check
2023-03-09 17:38:47 -06:00
ghbrown
437f6e76e4
Add warning about (python3-)discogs-client version
2023-03-09 17:16:11 -06:00
J0J0 Todos
0175a9aed8
Introduce new module beets.util.id_extractors
...
- We introduce a new submodule of beets.util named id_extractors.
- Parts of the ID extraction utilites required by metadata source plugins
should live there.
- Also this enables future usage of those utilities from the "outside" of
metadata source plugins.
- Move Discogs ID extractor to the new module and change test_discogs to use
the new location.
- Add spotify_id_regex variable to the new module.
2023-03-08 18:12:31 +01:00
ghbrown
a99eb77337
Improve where an how data added to tracks of album
2023-01-20 22:15:50 -06:00
ghbrown
cbb1b21408
Use tracks field in item_candidates; add more info to tracks of AlbumInfo
2023-01-20 21:07:15 -06:00
ghbrown
2df41b9e16
Limit number of returned track candidates
2023-01-16 18:43:26 -06:00
ghbrown
2e916404f9
early exit; add data_source
2023-01-12 19:41:04 -06:00
ghbrown
2db0796fad
Implement item_candidates for Discogs
2023-01-11 13:20:54 -06:00
J0J0 Todos
29ed4abb52
Use join_key arg in Discogs source plugin
...
Fixes #4401
2023-01-02 13:47:31 +01:00
J0J0 T
c85f903cae
Revert "discogs: Add extract_release_id_regex sanity check"
...
This reverts commit c3cc055fdd3830bbe1c5470fe540684278a6ecc7.
We assume the Discogs API never returns a release response without an
URI.
2022-03-04 08:17:49 +01:00
J0J0 T
b609047d64
discogs: Add extract_release_id_regex sanity check
...
Check whether any input worth pattern checking was passed.
2022-03-04 08:17:49 +01:00
J0J0 T
c9c1123756
discogs: Fix discogs_albumid extraction
...
Use extract_release_id_regex instead of extract_release_id to get the
release ID out ouf the Discogs release URL.
2022-03-04 08:17:49 +01:00
Joseph Heyburn
4bde4d082d
discogs: allow style to be appended to genre
...
- Added more verbose documentation to `append_style_genre`
- Refactor based on code review
2022-03-03 10:03:31 +00:00
Joseph Heyburn
55e4917df3
discogs: allow style to be appended to genre
...
- Adds a configuration that, when enabled, will append the style to genre
- Rationale is to have more verbose genres in genre tag of players that only support genre
2022-03-02 22:04:36 +00:00
J0J0 T
e35c767e2c
Skip Discogs query on insufficiently tagged files
...
- When files are missing both, album and artist tags, the Discogs metadata
plugin sends empty information to the Discogs API which returns arbitrary
query results.
- This patch catches this case and states it in beets import verbose output.
2022-01-10 08:27:18 +01:00
maffo999
c824d4d773
Fix for 4108
2021-10-21 16:32:23 +02:00
Andrew Rogl
b880e2db8a
Final clean up
2021-10-05 13:00:38 +10:00
Andrew Rogl
f7539b3ec3
Update to extract regex testing from album_for_id
2021-10-04 17:38:35 +10:00