Jaakko Perttilä
c2fa18a6f1
qobuz_importer.user.js: refactor classical release support.
...
Parse only once.
If release is detected as classical, a classical release parsing
is also done on the release artists. Both are stored to separate
input forms.
Force album artist checkbox will use the album artist from normal
release on classical import.
Styled the buttons some.
2018-11-23 13:44:13 +02:00
Jaakko Perttilä
5f1e74fc18
qobuz_importer.user.js: Add error message when could not get data.
2018-11-23 02:20:12 +02:00
Jaakko Perttilä
bc026622ef
qobuz_importer.user.js: better variable names.
2018-11-23 00:57:29 +02:00
Jaakko Perttilä
e871c703bf
qobuz_importer.user.js: Add checkbox for forcing album artist on classical
2018-11-22 07:11:19 +02:00
Jaakko Perttilä
78ee658f05
qobuz_importer.user.js: Support all classical genre releases.
...
Using composer as release/track artist when the genre is classical.
Added a button for classical releases for reparsing the data without
various artists/composers detection.
2018-11-22 05:25:58 +02:00
Aurélien Mino
4d133aa7be
Remove outdated LastFm importer
2018-11-21 22:04:07 +01:00
Jaakko Perttilä
9cf5869b79
qobuz_importer.user.js: fix Travis CI build errors
2018-11-21 13:54:01 +02:00
Jaakko Perttilä
b4408f348e
Merge remote-tracking branch 'upstream/master' into qobuz-fixes
...
qobuz_importer.user.js: rebase on upstream/master
2018-11-21 13:19:46 +02:00
Jaakko Perttilä
36034c251d
qobuz_importer.user.js: Support for classical releases.
...
This will use composer as artist on various artists/composers releases.
Refactored code to functions as using composers as well as artists.
Added function for guessing various artists, as the hardcoded are
likely label based and are hard to keep updated.
Also, fixing a bug in single artist use case on a track.
2018-11-21 04:29:09 +02:00
Aurélien Mino
a7376b5336
Fix a few "no-useless-concat" warnings
2018-11-20 23:45:38 +01:00
Aurélien Mino
785b790887
Fix "use-isnan" eslint rule
2018-11-20 23:37:47 +01:00
Aurélien Mino
14d9606e2e
Fix "no-empty" eslint rule
2018-11-20 23:28:53 +01:00
Aurélien Mino
73fac72d7b
Use template literals for css blocks
2018-11-20 23:23:38 +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
6c721d7c96
Don't run prettier on package-lock.json
2018-11-20 23:15:45 +01:00
Aurélien Mino
979032f2ff
Fix prettier:format npm script
2018-11-20 23:12:35 +01:00
Aurélien Mino
cc95c62d11
Setup Travis in order to automatically run linter checks
2018-11-20 23:09:44 +01:00
Laurent Monin
8c2db66094
Merge pull request #195 from Jormangeud/qobuz-fixes
...
Qobuz fixes
2018-11-20 18:44:25 +01:00
Jaakko Perttilä
5dd6eda4d1
qobuz_importer.user.js: Fix single performer, fix quotes in title.
...
Fix parsing error when performers is missing, use performer for trackobj.
Fix import error bad request 400 with quoted track titles.
2018-11-20 19:05:55 +02:00
Jaakko Perttilä
667090ca7d
qobuz_importer.user.js: Put ISRC list behind a button.
2018-11-20 15:04:22 +02:00
Jaakko Perttilä
1608191cd5
qobuz_importer.user.js: Add support for discs.
2018-11-16 04:31:25 +02:00
Jaakko Perttilä
7df7907a7b
qobuz_importer.user.js: update version.
2018-11-15 14:17:55 +02:00
Aurélien Mino
5a67f33783
Merge pull request #194 from murdos/eslint+prettier
...
Init package.json + setup prettier and eslint
2018-11-15 08:50:47 +01:00
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
b2425c7025
Init package.json + setup prettier and eslint
2018-11-13 00:20:51 +01: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/7809058 → https://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