Commit graph

396 commits

Author SHA1 Message Date
Aurélien Mino
76d9bf32b2 Merge pull request #67 from zas/issue_66
Discogs: "Single Sided" != "Single"
2015-06-27 12:33:50 +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
a7faaceb55 Bump cd1d importer version 2015-06-22 11:28:51 +02:00
Laurent Monin
5a354070d0 Fix missing whitespace in edit note message when format is set.
Only CD1D importer use format for now.
2015-06-22 11:26:27 +02:00
Laurent Monin
3be8834d4e Bump bandcamp import script version 2015-06-21 17:36:35 +02:00
Laurent Monin
025235f85c Merge pull request #63 from zas/bandcamp_multiartists
Bandcamp: try to detect multiple artists releases
2015-06-21 17:35:34 +02:00
Laurent Monin
e9baa959b7 Use MBImport.specialArtist() 2015-06-21 17:33:38 +02:00
Laurent Monin
8e1fcea4f7 Bandcamp: try to detect multiple artists releases
- there is no indicator of compilation or split release, etc..
- bandcamp builds titles from artist + track title, "artist - title"
- only works if ALL tracks have this format
- set release artist to Various Artists only when original release artist contains Various or Various artists AND we detect all tracks in format "artist - title"

I did tests, and didn't find any problematic releases yet (but i guess they'll be some)
Examples:
http://tartarusrecords.com/album/split-2
http://shop.bornbadrecords.net/album/wizzz-french-psychorama-vol-3
https://bedroomcassettemasters.bandcamp.com/album/bedroom-cassette-masters-1980-89-volume-one
2015-06-21 17:29:21 +02:00
Laurent Monin
4be17ed24e Bump versions 2015-06-21 17:26:58 +02:00
Laurent Monin
f552a7a902 last.fm: add search button 2015-06-21 17:25:53 +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
2bff7ff192 Merge pull request #65 from zas/discogs_artist_credit_fix
discogs: fix incorrect artist credit join phrases
2015-06-21 17:00:06 +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
c46b16dac6 discids_detector: bump version 2015-06-20 16:46:59 +02:00
Aurélien Mino
12208ba53f discids_detector: added copyright information for MBDiscid code 2015-06-20 16:45:29 +02:00
Aurélien Mino
1171b22e96 discids_detector: simplify code 2015-06-20 16:42:32 +02:00
Aurélien Mino
6e755c39d3 discids_detector: isolate discid functions in a embedded library 2015-06-20 16:35:22 +02:00
Aurélien Mino
6d7b30ee4b discids_detector: code format 2015-06-20 16:31:50 +02:00
Aurélien Mino
baf8a5b9ae discids_detector: use logger library 2015-06-20 16:13:52 +02:00
Aurélien Mino
a0d5bd2294 discids_detector: use JSON response from MB webservice instead of XML 2015-06-20 16:07:37 +02:00
Aurélien Mino
9e83c82a3b discids_detector: update jQuery version 2015-06-20 15:43:35 +02:00
Aurélien Mino
517408a1e6 discids_detector: remove dependency to GM_xmlhttpRequest since MB webservice supports CORS 2015-06-20 15:43:07 +02:00
Aurélien Mino
0e4fea1072 discids_detector: remove embedded sha1.js library and reference it with @require instead 2015-06-20 15:30:47 +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
Aurélien Mino
a4b23129d0 Refactoring: renamed import_functions lib to mbimport. 2015-06-18 00:29:08 +02:00
Aurélien Mino
116410ad45 discogs: code style improvements 2015-06-18 00:18:22 +02:00
Aurélien Mino
9b8a8ef5c4 discogs: ignore medium formats that are not mapped to MB formats.
This should prevent trying to map e.g. "Box-set".
2015-06-17 23:50:22 +02:00
Laurent Monin
304affacc7 import_functions: only autoset mbid for special artists if mbid is lacking 2015-06-17 15:04:38 +02:00
Laurent Monin
44a5a1282a discogs: fix up buttons on chrome 2015-06-17 14:44:06 +02:00