Commit graph

759 commits

Author SHA1 Message Date
Jaakko Perttilä
ce5a832211 qobuz_importer.user.js: Fix #191 by hooking to web player.
Replaced the invalid API key and separate requesting by hooking to
XMLHttpRequest and using the data requested by the official web player.
2018-11-15 04:24:15 +02:00
Jaakko Perttilä
42e0e68d94 qobuz_importer.user.js: Fix release country error on import.
The GB is valid instead of UK when importing.
Set the default to world wide. Does qobuz have any
georestrictions on downloadable sales even.
2018-11-15 04:17:00 +02:00
Jaakko Perttilä
338f9dea52 qobuz_importer.user.js: Add barcode, set cat#: [none], list ISRCs.
Added textarea for listing ISRCs. This is for easy adding from within
the added release with a bookmarklet. See:
https://community.metabrainz.org/t/problems-with-isrc-batch-add/158976/2
2018-11-15 04:07:51 +02:00
Aurélien Mino
c8fb13177a Ignore JetBrains IDEs project files 2018-08-28 17:32:22 +02:00
Aurélien Mino
866635f6a2
Merge pull request #188 from Freso/nwcd-support
discids_detector: Add NotWhat.CD support
2018-07-14 18:18:49 +02:00
Frederik “Freso” S. Olesen
c93781a847
discids_detector: Add NotWhat.CD support 2018-07-14 16:58:52 +02: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
a30940eb17
Merge pull request #184 from zas/bandcamp_https
Bandcamp Importer: Use only https URLs
2018-06-05 11:31:56 +02:00
Laurent Monin
b901f77430
Bandcamp Importer: Use only https URLs
- Bandcamp now redirects all http URLs to https
- They didn't change URLs in DOM data yet, most are still http
- MB changed Bandcamp URLs normalization to use https
- MB didn't change old Bandcamp http URLs in the database yet

Basically this breaks some features of the importer, like detection of existing artists, labels, and releases (small icons)
Since the importer has no way to know if the url is stored as http or https, the result is quite random.

One solution would be to query for both, doubling the number of requests to the web service.
Another, much better, is to convert all old Bandcamp http URLs in MB database to https (all new URLs are normalized to https).

This patch only fix http URLs still appearing in pages, and look up for https URLS on the web service.
So, at the moment, the fix is incomplete.
2018-06-01 23:22:19 +02:00
Aurélien Mino
d9ed4b4fe3
Merge pull request #183 from murdos/discid-broken-red
discids_detector: fix red issue (fix #128)
2018-05-30 17:25:49 +02:00
Aurélien Mino
8baff2e529 discids_detector: fix red issue (fix #128) 2018-05-27 22:56:18 +02:00
Laurent Monin
f1d856fbfc
Merge pull request #178 from zas/fix_download_link
Bandcamp importer: fix stream for free link
2018-03-07 17:15:38 +01:00
Laurent Monin
e854bd0cee
Merge pull request #177 from jesus2099/acute-accent_to_right-single-quotation-mark
Discog importer: Turn all acute accents used as apostrophe into the proper character
2018-03-07 10:45:23 +01:00
Laurent Monin
807fe4f69f
Merge branch 'master' into acute-accent_to_right-single-quotation-mark 2018-03-07 10:44:15 +01:00
Laurent Monin
bc3f5df6f5
Bandcamp importer: bump version to 2018.3.7.1 2018-03-07 10:19:29 +01:00
Laurent Monin
01ee374100
Bandcamp importer: count tracks actually streamable, and add Stream for free link only if fully streamable
Fix https://github.com/murdos/musicbrainz-userscripts/issues/157
2018-03-07 10:18:31 +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
57e486e552
Merge pull request #172 from zas/fmt_versions
Change version format on all scripts
2018-02-18 19:05: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
5fd620a5fa
Merge pull request #171 from yvanzo/fix-update-version
Fix update version to make sub-version numbers without leading 0
2018-02-18 00:37:54 +01:00
yvanzo
495619204c Bump version number without leading 0 in any part
as it blocked auto updates in Chrome at least.
2018-02-17 11:38:03 +01:00
yvanzo
5da3cceb85 Stop padding version month and day with leading 0
as it blocks auto updates in Chrome at least.
2018-02-17 11:38:03 +01:00
yvanzo
1771336a34 Make version fourth number start from 1
instead of 0 which blocks auto updates in Chrome at least.
2018-02-17 11:37:55 +01:00
Aurélien Mino
092d3c9eb5
Merge pull request #170 from jesus2099/fast-cancel_bump-version
Fixing my old date mistake that makes old users stay on the old version
2018-02-16 14:57:09 +01:00
jesus2099
b86f5419b6 Fixing my old date mistake that makes old users stay on the old version.
a82234ebf0 was made in 2016-06-07, not 2015-06-07.
2018-02-16 14:32:51 +01:00
Aurélien Mino
2a2bf1a3cc
Merge pull request #165 from yvanzo/patch-2
Check target type in shorcut for relationships
2018-02-11 21:01:21 +01:00
yvanzo
b365af8cde Check target type in shorcut for relationships
Issue: `mb_relationship_shortcuts.user.js` triggers the following exception under certain circumstances:

````
TypeError
relationsIconsURLs[targettype] is undefined
````

This patch tests if the `targettype` is appropriate for relationships shortcut display.
2018-02-11 20:16:08 +01:00
Laurent Monin
2bb755af2d
Merge pull request #169 from jesus2099/pluck-is-not-a-function
URGENT: Recording comment removal edits are queued!
2018-02-07 16:49:03 +01:00
jesus2099
776a51bb25 @include are no longer required, when @match are there, in modern engines.
With @match, //*.musicbrainz.org means both //musicbrainz.org and all sub domains like //beta.musicbrainz.org.
2018-02-07 16:37:53 +01:00
jesus2099
6b237ee52b Fixes the « _.pluck is not a function » issue as underscore.js has changed or something. 2018-02-07 16:37:30 +01:00
Laurent Monin
316d2a5416
Merge remote-tracking branch 'upstream/master' 2018-01-14 18:51:40 +01:00
Laurent Monin
0f6f187455
Qobuz importer: fix importer (buttons not shown), use https 2018-01-14 18:49:11 +01:00
Laurent Monin
da58524d1a
Bandcamp importer: fix up extra space in tags, and few semicolons in code 2018-01-14 18:48:02 +01:00
Aurélien Mino
d32a75cfd3
Merge pull request #167 from loujine/lodash4_fix
Adapt batch-add-recording-relationships.user.js script to lodash 4 (closes #163)
2018-01-03 06:18:40 +01:00
loujine
9635943108 Adapt batch-add-recording-relationships.user.js script to lodash 4 (closes #163)
The MusicBrainz server upgraded from lodash 3.10 to lodash 4.17 (https://github.com/metabrainz/musicbrainz-server/pull/573) on 2017-12-21

Fix by replacing deprecated syntax
2018-01-02 21:05:52 +00:00
Aurélien Mino
265bb51e1e
Merge pull request #161 from SothoTalKer/master
Display more relationships + minor changes
2017-11-13 14:44:11 +01:00
Sotho Tal Ker
9bbd1ceb0b
Update mb_relationship_shortcuts.user.js
- Converted the display of other databases to a dictionary as suggested
2017-11-12 03:01:52 +01:00
Sotho Tal Ker
065fe600e5
Show me more
- added display of allmusic and rateyourmusic
- optimized conditionals
2017-11-12 02:02:26 +01:00
Sotho Tal Ker
686778616d
Display more relationships + minor changes
- remove unused logger, updated to latest jQuery without any noticeable breakage
- changed most of the favicons to load the copies stored on the MusicBrainz server
- updated the script so that a few "other databases" relationships are shown aswell; might be kludgy but better than not showing them at all
- fixed some minor code warnings
2017-11-11 02:28:11 +01:00
Laurent Monin
ec81ba7c59
Bandcamp Importer: set the label name from the back link text 2017-09-05 10:51:31 +02:00
Laurent Monin
9e8f54af6d
Merge remote-tracking branch 'upstream/master' 2017-09-05 10:34:46 +02:00
Laurent Monin
4459dfebb7
Bandcamp importer: use back link to label to find out label mbid 2017-09-05 10:34:13 +02:00
Laurent Monin
b75d5fc2d4 Merge pull request #149 from augustjanse/master
Update Beatport scripts
2017-06-16 08:33:53 +02:00
augustjanse
979bfb30e5 Update Beatport versions 2017-06-13 13:55:37 +02:00
augustjanse
c29313e000 Fix various warnings
Unused variable, left-over comma and nonstrict comparisons.
2017-06-13 13:55:37 +02:00
augustjanse
e6b6a26559 Update Beatport entries 2017-06-13 13:55:37 +02:00
augustjanse
bfbe30d65a Rename Beatport (Pro) file 2017-06-13 13:55:37 +02:00
augustjanse
b0cd69da5e Rename Beatport Classic file 2017-06-13 13:55:37 +02:00
augustjanse
1e4f1b27e5 Get label info from ProductDetail 2017-06-13 13:55:37 +02:00
augustjanse
95eb960737 Get title from ProductDetail 2017-06-13 13:55:37 +02:00