Commit graph

199 commits

Author SHA1 Message Date
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
Laurent Monin
419f623ef9 discogs: use an intermediate variable to simplify code 2015-06-23 02:11:09 +02:00
Laurent Monin
bb83f406d6 discogs: make vinyl release number calculation even simpler
Use basic binary to get rid of uppercase/lowercase issue.
2015-06-23 02:10:22 +02:00
Laurent Monin
3bb072da97 discogs: use case-insensitive regexps 2015-06-23 02:10:18 +02:00
Aurélien Mino
97a3e4a345 discogs: simplify computing of medium number from vinyl side. 2015-06-22 23:31:30 +02:00
Aurélien Mino
331089cd6e discogs: remove intermediate variable trackNumber, in order to make code
less confusing.
2015-06-22 23:27:48 +02:00
Aurélien Mino
8e67c4ee4f discogs: Fixed detection of medium number for vinyl with one track per
side (A, B, C, ...). For such trackPosition, medium number was never
updated.
www.discogs.com/release/4071616 can now be imported correctly.
2015-06-22 23:24:49 +02:00
Aurélien Mino
9aa9582974 discogs: improve detected of medium formats.
Previous code was considering that for "6xVinyl, LP" only the last medium
was a 12" Vinyl.
2015-06-22 22:35:37 +02:00
Laurent Monin
4be17ed24e Bump versions 2015-06-21 17:26:58 +02:00
Laurent Monin
603450ec4f Better handling of Various Artists and other special artists
Let each script set the correct artist, instead of doing automagically in mbimport.
2015-06-21 17:25:44 +02:00
Laurent Monin
6e8b40af7f discogs: fix incorrect artist credit join phrases
https://github.com/murdos/musicbrainz-userscripts/issues/64
2015-06-21 15:45:21 +02:00
Aurélien Mino
cb86f69c34 discogs: bump version 2015-06-18 23:06:16 +02:00
Aurélien Mino
66bf3349c7 discogs: update name of the function inserting the MB section.
It now better reflects what the function does.
2015-06-18 23:05:18 +02:00
Aurélien Mino
2bfb8bfa33 discogs: update code comments. 2015-06-18 23:02:01 +02:00
Aurélien Mino
704cfec565 discogs: also display link for the Discogs entity of the current page.
Previously this feature was only available for releases.
2015-06-18 23:00:31 +02:00
Aurélien Mino
0bf2671eaf Bump versions 2015-06-18 00:32:37 +02:00