Commit graph

1007 commits

Author SHA1 Message Date
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
Adam James
c99037a4aa Add Deezer import userscript 2019-03-25 23:18:56 +01:00
liftarn
49b05824bc Fix #214 and #215 (#216)
[discogs] medium mapping for lathe cut and country mapping for Bahamas

Fix #214 and #215
2019-03-25 23:10:21 +01:00
brianfreud
7f212c141d Update mbimport.js
i was already instanced when a few loops were attempting to recreate it.  Changed those 'var' statements to 'let's to better scope them to just the applicable loops.
2019-03-18 08:09:02 +01:00
brianfreud
f30e6b6d5d Update mbimport.js
Move the home variable, and its default value, to arguments, to allow it to be something other than https://github.com/murdos/musicbrainz-userscripts for scripts that don't live there.
2019-03-18 08:09:02 +01:00
Frederik “Freso” S. Olesen
c5961ef481
mb_discids_detector: Rename Apollo to Orpheus
Apollo.rip died and Orpheus.network replaced it from a backup.

https://www.reddit.com/r/trackers/comments/9ffmk7/apollo_has_a_new_domain_athenaapollo_will_return/
https://www.invitescene.com/topic/32291-orpheusnetwork-aka-apollo-is-live/
etc.
2019-02-22 15:45:52 +01: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
Laurent Monin
f8192341eb
Merge pull request #206 from Jormangeud/qobuz-fixes
qobuz_importer.user.js: fix #203
2019-01-12 11:56:57 +01:00
madmouser1
1174f66b6f fixed language mapping 2019-01-06 13:27:42 +01:00
madmouser1
02aa3477a2 added more JSON identifiers and checks 2019-01-06 13:27:42 +01:00
madmouser1
7babcfac2e Further JOSN key testing and formatting 2019-01-06 13:27:42 +01:00
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