Commit graph

374 commits

Author SHA1 Message Date
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
Laurent Monin
5dea6f5cab Bump versions
- updated edit note
2015-06-17 11:53:36 +02:00
Laurent Monin
49eef81c43 Advertise the userscripts homepage in the edit note. 2015-06-17 11:51:51 +02:00
Laurent Monin
979c4fce13 discogs: bump version 2015-06-17 10:59:07 +02:00
Laurent Monin
30be1ef964 discogs: try various places to insert buttons, sometimes section social isn't available
http://www.discogs.com/Joy-Orbison-Boddika-Trickys-Team/release/5609148

Fix the second link issue reported at:
https://github.com/murdos/musicbrainz-userscripts/issues/13#issuecomment-74458495
2015-06-17 10:50:52 +02:00
Laurent Monin
20430d7759 Add last.fm importer to README 2015-06-17 09:51:08 +02:00
Laurent Monin
0cf959ba61 discogs: bump version 2015-06-17 09:50:25 +02:00
Laurent Monin
f7552d244a Merge pull request #56 from zas/discogs_search_entities
Discogs importer: display links for direct search of entities on MB
2015-06-17 09:47:09 +02:00
Aurélien Mino
b8ca1854f1 Merge pull request #58 from zas/lastfm_importer
Add last.fm importer
2015-06-17 09:46:34 +02:00
Laurent Monin
1c71b7c79a discogs: add a warning near Import button when tracklist is perhaps buggy
Example of such release: http://www.discogs.com/Undertone-Sexy-Thing/release/1009184

See discussion at 1bf80fbaf9 (commitcomment-11717691)
2015-06-17 09:43:57 +02:00
Laurent Monin
86a4c286f6 discogs: bump version 2015-06-17 00:37:17 +02:00
Laurent Monin
1bf80fbaf9 discogs: make the script tougher against weird track numbering
http://www.discogs.com/release/73531 was leading to an error:
when it tries to parse track 3 position (AA1) it thinks it's a new disc and increase
releaseNumber.
Of course there is no matching release format, so it generates an exception..

http://www.discogs.com/Undertone-Sexy-Thing/release/1009184 also leads to the same exception, somehow for a similar reason (track numbering has the usual scheme),
but the real fix is on the discogs side for this one, tracks 7.1-7.6 should be track 7 with sub-tracks.
Just make the script tougher here again, it just tries to import tracks as they are.
2015-06-17 00:37:17 +02:00
Laurent Monin
8eaef73605 discogs: catch parseDiscogsRelease() exceptions and insert an error message 2015-06-16 23:24:24 +02:00
Laurent Monin
7343042f5c bandcamp: bump version 2015-06-16 21:44:53 +02:00
Laurent Monin
c64904a968 Merge pull request #55 from zas/bandcamp_multidomains
bandcamp_importer: support bandcamp pages having their own domain
2015-06-16 21:43:44 +02:00
Laurent Monin
e2f318c128 bandcamp_importer: support bandcamp pages having their own domain
Currently, one has to add the domain to userscript preferences for pages provided by bandcamp
but under another domain (ie. http://bearthemammoth.com/album/yamadori)

This change makes the @include wider (it may match totally unrelated pages) and test for
a bandcamp-specific object before doing anything.
2015-06-16 21:38:33 +02:00
Laurent Monin
38e732a3c4 bandcamp: try to use mblinks cache to get artist mbid 2015-06-16 21:24:01 +02:00
Laurent Monin
6a57231062 Bump versions 2015-06-16 16:19:53 +02:00
Laurent Monin
4349c66f07 Import buttons: minor style improvement 2015-06-16 16:17:00 +02:00
Laurent Monin
d873d94c91 Add a bit of space between buttons on CD1D 2015-06-16 16:17:00 +02:00
Laurent Monin
9ee0a2ee48 Add Search button to all importers and improve integration on each website 2015-06-16 16:17:00 +02:00
Laurent Monin
4d96e7bffa luceneEscape: also escape slash 2015-06-16 16:17:00 +02:00
Laurent Monin
4719a5d7d7 mblinks: swap version and expiration parameters 2015-06-16 16:16:59 +02:00