madmouser1
9b6e032081
start testing JSON objects
...
The JSON format is not standard or complete so need to test for keys
2019-01-06 13:27:42 +01:00
madmouser1
30bd661fe0
ran ESLint formatter from ST3
2019-01-06 13:27:42 +01:00
madmouser1
3723dedd1d
fixed download and update url
2019-01-06 13:27:42 +01:00
madmouser1
029193e477
initial rewrite to use Takealot new UI and public API
2019-01-06 13:27:42 +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
madmouser1
a2cdaa2796
granted unsafeWindow
2019-01-05 15:32:50 +01:00
Aurélien Mino
65f215df9d
Fix build
2019-01-05 15:01:21 +01:00
Laurent Monin
b9039569c7
Revert a change from 0e597ddb8
that breaks duration parsing in some userscripts
...
CD1D importer is failing to parse durations with isNaN() so revert to previous code
2018-12-09 20:19:52 +01:00
Laurent Monin
0e597ddb87
Merge pull request #197 from murdos/code-cleanup
...
Code cleanup
2018-12-06 12:12:36 +01:00
Laurent Monin
b6481274aa
Merge pull request #198 from Jormangeud/qobuz-fixes
...
qobuz_importer.user.js: Support for classical releases.
2018-12-06 09:20:37 +01:00
Jaakko Perttilä
abc8c4ba36
mbimport.js: Add support for disambiguation comment
2018-11-28 23:40:48 +01: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
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