Commit graph

214 commits

Author SHA1 Message Date
Adam James
fac211eb5c discogs_importer: Bump version 2024-03-29 00:22:42 +01:00
Adam James
74116b55a8 discogs_importer: Match artists on master pages 2024-03-29 00:22:42 +01:00
Adam James
e705cd3480 discogs_importer: Fix typo in selector 2024-03-29 00:22:42 +01:00
Frederik “Freso” S. Olesen
a19f849d6f
discogs_importer: Bump version 2024-02-04 12:47:07 +01:00
Adam James
1e3a6c8193 Discogs: Update various element selectors
Label pages are now dynamically loaded in the same way as the artist
pages, so the release listing selector has been moved into the function
called by setInterval.
2024-02-02 15:33:43 +00:00
Dr. Volker Zell
6f37f9ee24
discogs_importer: Seed format acetate (#548)
Add support for the newly introduced "Acetate" formats
see https://tickets.metabrainz.org/browse/STYLE-2407
2023-11-09 19:28:04 +01:00
David Kellner
0eae2b96ba discogs_importer: Restore more links to MB which went missing
- Support release artist on (master) release pages again
-  Handle dynamically expanded credits section on master release pages
- Display series MB search links with an "S?" mark
2023-11-09 19:25:01 +01:00
Adam James
356b90e54c discogs_importer: Apply suggestions from code review
Co-authored-by: David Kellner <52860029+kellnerd@users.noreply.github.com>
2023-11-08 20:10:03 +00:00
Adam James
f60fa952c4 discogs_importer: updates for new artist pages 2023-11-08 20:09:28 +00:00
David Kellner
48182be483 discogs_importer: Adapt to new release page layout
Discogs has rolled out a new layout for release pages on 2021-08-09:
https://www.discogs.com/forum/thread/828514?page=3#8916061

This breaks the injection of the import button and MB links on release
pages, other pages (artist, label, master) are not affected so far.
With this commit, the following changes are made to fix #411 and #354:

- Update selectors for the sections which should be enhanced with MB links
- Separate working and broken selectors but keep all of them for now
- Find a new selector to inject the import button into the sidebar
  (not sure why there were three alternative selectors previously)
- Duplicate some of Discogs' CSS to fix the layout because they seem to
  use dynamically generated class names now :(
2021-08-10 17:40:25 +02:00
Aurélien Mino
9f1b2232e1
discogs: code cleanup (#303) 2020-09-14 22:44:37 +02:00
Aurélien Mino
0e864d8c59 Reformat with prettier 2.0 2020-04-05 16:02:07 +02:00
jesus2099
96127f2d8c Match more than strictly digipak
- digi-pak (wallmart)
- digipack (fnac)
- digi-pack
- digi pack (fnac)
2019-06-17 23:49:10 +02:00
liftarn
19be33663a
Rebase 2019-04-11 14:45:52 +02:00
liftarn
69a9a2e6a1
Memory Stick should be imported as USB Flash Drive 2019-04-11 14:41:12 +02:00
Aurélien Mino
0426b890bc Remove unsafeWindow usage in logger and in scripts that don't need it and grant unsafeWindow for scripts that actually use it. 2019-01-12 15:54:18 +01:00
Aurélien Mino
14a32dab62 Applied prettier and eslint tools on existing code
None of these changes are manual changes made a human
2018-11-20 23:18:49 +01:00
Aurélien Mino
bfa06b6bb2
discogs_importer: fix a few country labels used by Discogs
Fixes #166
2018-07-14 12:34:28 +02:00
Laurent Monin
807fe4f69f
Merge branch 'master' into acute-accent_to_right-single-quotation-mark 2018-03-07 10:44:15 +01:00
jesus2099
ba7b8dcd87 Turn all acute accents used as apostrophe into the proper character.
acute accents are wrong and they also make the MB track parser add spaces around it.
Example https://www.discogs.com/release/7809058https://musicbrainz.org/edit/51145485
This is only small change proposal on track titles but if wanted,
it should be done for track artists and release title and artists as well.
Maybe as a new cleanup function.
Tell me.
2018-02-28 11:48:30 +01:00
Laurent Monin
6c5c083dba
Change version format on all scripts
Related to https://github.com/murdos/musicbrainz-userscripts/pull/171
2018-02-18 18:16:45 +01:00
Aurélien Mino
371b6b5739 Discogs importer: add mapping for format SACD
Fixes #141
2017-02-25 10:00:09 +01:00
Aurélien Mino
d357a5f275 [discogs] Handle Shellac format properly (fixes #132) 2016-12-17 10:13:32 +01:00
Laurent Monin
d3de311776
Bump discogs importer version 2016-11-09 21:21:33 +01:00
Johannes
341ad8134e Use https urls when querying musicbrainz
Musicbrainz no longer normalizes discogs URLs to http, so we now need to search for the https form.

Fixes #124
2016-11-02 00:22:12 +00:00
Laurent Monin
8eb66c1e4b
Bump version of scripts depending on lib/mblinks.js
This is to ensure they are upgraded to include image links change.
2016-05-29 14:47:17 +02:00
Jason Salaz
ce53a97904 Move the MBz import box up between the Discogs Collection and Marketplace boxes
also, update the GitHub raw URLs to use githubusercontent.com
2016-02-17 04:01:03 -07:00
Laurent Monin
8560f44037 discogs importer: bump version 2016-02-15 14:55:46 +01:00
Johannes
53f2f9d17b Use http url for querying musicbrainz
Musicbrainz normalizes urls to http, so we can't search for https urls.
2016-02-15 13:44:38 +00:00
Aurélien Mino
f64b4ba403 Mode discogs https fix 2016-02-14 10:59:47 +01:00
Laurent Monin
e94b99a716 discogs importer: bump version 2016-02-13 23:39:38 +01:00
Laurent Monin
e202ed54f2 discogs importer: make it work with https 2016-02-13 23:39:06 +01:00
Laurent Monin
cd53b854ef Update version 2016-01-08 15:12:09 +01:00
Laurent Monin
075f417376 Issue 89: ignore repeated '.' or '-' in (buggy) track position
http://www.discogs.com/release/1520366 has a track with buggy position,
the script is placing the track at the wrong position because of this.

2-.23 	Le Carnaval 	0:26

2-.23 is now parsed as it was 2-23

This patch shouldn't affect non-buggy track positions.
2016-01-07 15:20:02 +01:00
Laurent Monin
40ae18d790 Discogs importer: use our own icon, consistent with other scripts 2015-07-10 14:32:00 +02:00
Laurent Monin
c18f008886 Set icon for all importers 2015-07-10 14:28:43 +02:00
Laurent Monin
8fce913f64 Bump discogs importer version after ba8da60b1b 2015-07-07 10:26:03 +02:00
Laurent Monin
f50052e0f3 Remove medium title if there is only one medium
https://github.com/murdos/musicbrainz-userscripts/issues/69
2015-07-02 09:52:24 +02:00
Laurent Monin
79d91635eb Bump discogs importer version 2015-06-27 14:19:07 +02:00
Laurent Monin
3492ec595e Discogs: "Single Sided" != "Single"
Fix Discogs import does not properly understand "Single Sided"
https://github.com/murdos/musicbrainz-userscripts/issues/66
2015-06-27 09:32:19 +02:00
Laurent Monin
347ec031cd Bump discogs importer version 2015-06-23 10:23:27 +02:00
Laurent Monin
9e0e8a8725 discogs: map gatefold or digisleeve to Gatefold Cover on MB 2015-06-23 10:20:24 +02:00
Laurent Monin
4790f70a0d discogs: since we want only one packaging, skip other matches using else if 2015-06-23 10:19:54 +02:00
Laurent Monin
8171491d14 discogs: minor simplification, use one replace() instead of 2 2015-06-23 10:19:16 +02:00
Laurent Monin
c183cc2c67 discogs: drop useless intermediate variable 2015-06-23 09:49:48 +02:00
Laurent Monin
0842b1e3a2 discogs: remove useless else 2015-06-23 09:43:20 +02:00
Laurent Monin
2124537406 discogs: rewrite release date parsing 2015-06-23 09:40:39 +02:00
Laurent Monin
7fd6f5aa00 discogs: minor indentation fix 2015-06-23 08:36:45 +02:00
Laurent Monin
92626ce158 discogs: introduce artistNoNum() function and reduce code redundancy 2015-06-23 08:35:20 +02:00
Laurent Monin
1f55960600 discogs: simplify code 2015-06-23 08:23:50 +02:00