Commit graph

115 commits

Author SHA1 Message Date
Laurent Monin
7a35a63e01 Use publish date if album release date is before Bandcamp launch
Date is parsed using native js Date(), not sure why an external lib was used before.



See http://musicbrainz.org/edit/29612074
2014-10-08 23:24:41 +02:00
Aurélien Mino
fca73e80e5 [beatport] Make sure the import button is visible
Insert the form correctly in the metadata table.
2014-09-29 01:10:59 +02:00
Aurélien Mino
f8dd7116bd Update @version 2014-09-27 19:52:04 +02:00
Aurélien Mino
6cb9aa8530 Don't use String.prototype.contains()
It doesn't seem to be supported everywhere. Fixes #7
2014-09-27 15:50:20 +02:00
Aurélien Mino
8ae4c7bd36 Merge pull request #17 from 96187/master
Add support for more medium formats and a few other fixes
2014-09-26 16:35:03 +02:00
nikki
8491eb1c0e Revert "Check that a variable is set before trying to use it"
This reverts commit f4fc0abf9f.
2014-09-26 16:21:01 +02:00
Aurélien Mino
57683186c0 Merge pull request #19 from VxJasonxV/master
Beatport Importer Userscript v1
2014-09-26 14:25:35 +02:00
Aurélien Mino
d73423b946 Merge pull request #20 from zas/bandcamp_fixes
Bandcamp fixes
2014-09-26 12:39:32 +02:00
Laurent Monin
d1cb622d77 Fix up free/paid download links
The matter is quite complex here, as Bandcamp is providing many options for the artist.
Mostly this should fix mixing up free download / paid download links in almost all cases.
2014-09-26 11:51:15 +02:00
Laurent Monin
8868beeb5c Set default values for packaging, language and script
Most of stuffs imported from Bandcamp is eng/latin, and packaging should be None for digital releases.
2014-09-26 11:47:44 +02:00
Laurent Monin
941638c6ec Fix release date (use microdata date published) 2014-09-26 11:46:03 +02:00
Jason Salaz
380dbdb0d3 Updating date in @version to reflect actual completion date 2014-09-26 01:47:48 -06:00
Jason Salaz
ef34bc26d7 Beatport Importer Userscript v1
This script currently supports importing;
* Release Title
* Release Label
* Release Catalog Number (if available)
* Release Date
* Tracklist
2014-09-26 01:43:17 -06:00
nikki
075e459f2e Map "Memory Stick" to "Other" instead, since after investigation it seems it's also used for SD cards 2014-08-15 06:04:41 +02:00
nikki
c63c914c0e Set unsafeWindow in a way which works in Opera 2014-08-15 05:47:18 +02:00
nikki
f4fc0abf9f Check that a variable is set before trying to use it 2014-08-15 04:46:15 +02:00
nikki
53543993c2 mediums.i.position has been removed since it was originally never supported, so don't try seeding it 2014-08-15 02:40:24 +02:00
nikki
90586d5ec6 Update some format mappings: CDV is now available separately, Floppy Disk wasn't being correctly mapped to a format and Memory Stick is essentially equivalent to MusicBrainz's USB Flash Drive 2014-08-15 02:25:58 +02:00
nikki
0492f90949 Add support for more specific CD/DVD formats (VCD, SVCD, CD+G, HDCD, DVD-Audio, DVD-Video, 8cm CD) 2014-08-15 02:23:51 +02:00
nikki
94cbef72d5 Map Discogs "Album", "EP" and "Mini-Album" and support secondary types separately from primary type 2014-08-15 01:55:30 +02:00
nikki
36de6b612e Map Discogs "Unofficial Release" to MusicBrainz "Bootleg" 2014-08-15 00:51:44 +02:00
Aurélien Mino
39149d1cae New releases for all scripts. 2014-02-22 10:33:26 +01:00
Aurélien Mino
5bb6f2304a Merge pull request #12 from Freso/fix-bandcamp-free-purchase
[bandcamp] Fix URL adding "name your price" downloads.
2014-02-22 10:10:50 +01:00
Frederik "Freso" S. Olesen
a4cf5c7998 [bandcamp] Fix URL adding "name your price" downloads.
The logic checked for minimum_price > 0 and == 0 both, while they
obviously cannot both be true.
2014-02-21 23:58:30 +01:00
Aurélien Mino
dd2e2abe79 Merge pull request #11 from Freso/support-release-editor-urls
Support release editor urls, thanks to Freso!
2014-02-21 23:33:13 +01:00
Frederik "Freso" S. Olesen
f8097a6bc4 [bandcamp] @require dateFormat.js.
From jquery.dateFormat.js:
"""
// require dateFormat.js
// please check `dist/jquery.dateFormat.js` for a complete version
"""
2014-02-21 22:23:35 +01:00
Frederik "Freso" S. Olesen
29ecb71ad7 [bandcamp] Check for Creative Commons license URLs too. 2014-02-21 22:07:16 +01:00
Frederik "Freso" S. Olesen
d511817a4d [bandcamp] Add Bandcamp URLs to the release editor. 2014-02-21 21:38:05 +01:00
Aurélien Mino
09766d3ac7 Merge pull request #10 from Freso/fix-whitespace
Clean up whitespace.
2014-02-21 21:02:50 +01:00
Frederik "Freso" S. Olesen
94839e507e [encyclopedisque] Add Encyclopedisque URL in release editor. 2014-02-21 20:26:51 +01:00
Frederik "Freso" S. Olesen
d8c6b8eb65 [discogs_importer] Add Discogs URL in release editor. 2014-02-21 20:05:25 +01:00
Frederik "Freso" S. Olesen
a36d3df27d Add support for URLs in the release editor. 2014-02-21 20:04:38 +01:00
Frederik "Freso" S. Olesen
bf39917070 Manual indentation of $.ajax() call in discogs_importer.user.js.
Follow-up to commit 1a3a2414dc.
2014-02-21 19:45:11 +01:00
Frederik "Freso" S. Olesen
1a3a2414dc Line up indentations properly.
`sed -E 's/^((    )*) {1,3}([^ ])/\1\3/'`
(Thanks to @warpr and @JonnyJD for help with cracking that one!)
2014-02-21 19:43:59 +01:00
Frederik "Freso" S. Olesen
9f346bc8e4 Replace tabs with spaces.
`sed 's/\t/    /g'`
2014-02-21 19:43:51 +01:00
Frederik "Freso" S. Olesen
25fcd18750 Remove trailing whitespace.
`sed 's/[[:space:]]*$//'`
2014-02-21 19:43:36 +01:00
Aurélien Mino
1c7bb8bc97 Merge pull request #9 from Freso/patch-1
[bandcamp_importer] Include HTTPS'd Bandcamp pages
2014-01-02 05:26:07 -08:00
Frederik "Freso" S. Olesen
0f6e854037 [bandcamp_importer] Include HTTPS'd Bandcamp pages 2014-01-02 14:20:19 +01:00
Aurélien Mino
66dfc41313 [discogs] Code clean-up 2013-12-31 19:21:47 +01:00
Aurélien Mino
a5de573acc Merge pull request #8 from kolen/master
Updated URL of jquery-dateFormat (added 'src' path component)
2013-12-31 10:12:53 -08:00
kolen
df6cf098b3 Updated URL of jquery-dateFormat (added 'src' path component) 2013-12-30 20:44:34 +04:00
Aurélien Mino
035eb6861e [discogs_importer] Adapt script with recent changes on Discogs site and
done some refactoring in order to also display the MusicBrainz
release(s) that link to the displayed Discogs release.
2013-12-04 08:36:53 +01:00
Aurélien Mino
35010a8020 Search and display link to MB for releases already referenced in MB database. 2013-09-30 23:20:38 +02:00
Aurélien Mino
70f5a17dbc Support new features of Encyclopedisque.fr:
- explicit release-group type (LP, EP, Single)
- 12"
- release country
- track duration
- ...
2013-09-30 22:56:24 +02:00
Aurélien Mino
b9233d9dd6 Cosmetics changes: re-format code, indents and line endings. 2013-09-30 22:55:16 +02:00
Aurélien Mino
446c9487ea [discogs_importer] Fixed a bug in MB links 2013-08-19 00:36:01 +02:00
Aurélien Mino
c15c6938f9 [discogs_importer] Display links to MB release/release-group from Discogs site. 2013-08-04 10:33:02 +02:00
Aurélien Mino
5af34fde4e Merge pull request #4 from Freso/master
Use https for GoogleAPIs' jQuery libs
2013-03-04 05:12:50 -08:00
Frederik "Freso" S. Olesen
48da95808d Use https for GoogleAPIs' jQuery lib 2013-03-04 11:40:06 +01:00
Frederik "Freso" S. Olesen
f0409b75da Use https for GoogleAPIs' jQuery lib 2013-03-04 11:38:13 +01:00