Commit graph

36 commits

Author SHA1 Message Date
Aurélien Mino
0e864d8c59 Reformat with prettier 2.0 2020-04-05 16:02:07 +02:00
Jaakko Perttilä
58d76df826 qobuz_importer.user.js: update version 2019-03-26 17:13:54 +02:00
Jaakko Perttilä
a10f22dae6 qobuz_importer.user.js: fix for #217
Add run-at document-start.
2019-03-26 17:07:04 +02:00
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
Jaakko Perttilä
fa34c340ee qobuz_importer.user.js: fix #203
Change mozilla-specific property to standard.
2019-01-05 20:44:10 +02:00
Jaakko Perttilä
10b6e20755 classical -> is_classical 2018-11-28 17:18:20 +02:00
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
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
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
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
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
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
Laurent Monin
0f6f187455
Qobuz importer: fix importer (buttons not shown), use https 2018-01-14 18:49:11 +01: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
Laurent Monin
6a8d60d4a1 Bump versions 2015-10-04 09:24:38 +02:00
Laurent Monin
64b0978372 Qobuz importer: ensure the buttons are displayed only once
Selector was too large, and buttons were appearing multiple times in comments too.
2015-10-04 09:23:03 +02:00
Laurent Monin
6192f8c036 Qobuz importer: bump version 2015-07-24 10:28:56 +02:00
Laurent Monin
ff20cd7db7 Qobuz: test if max size image exists before replacing link
Replacing _600 with _max doesn't always work, sometimes the _max image isn't
available.
So only replace the link if it makes sense.
2015-07-24 10:13:55 +02:00
Laurent Monin
5bf082c843 Qobuz importer: bump version 2015-07-16 12:01:33 +02:00
Laurent Monin
4ac3b4f414 Qobuz importer: replace zoom image link by the maximun size image link
_600 -> _max
2015-07-16 12:00:54 +02:00
Laurent Monin
3165fc3288 Qobuz importer: bump version 2015-07-16 11:11:14 +02:00
Laurent Monin
5b66b05d8a Qobuz importer: remove a FIXME 2015-07-16 11:10:21 +02:00
Laurent Monin
7551206d1c Qobuz Import: map qobuz various/va/divers artists to MB Various Artists
List is prolly incomplete.
2015-07-16 11:09:24 +02:00
Laurent Monin
c3327d7f94 Qobuz importer: improve handling of featured artists 2015-07-16 10:53:28 +02:00
Laurent Monin
8205d46fd8 Initial version of qobuz importer 2015-07-15 15:06:15 +02:00