Commit graph

385 commits

Author SHA1 Message Date
Pascal "Pixel" Rigaux
a5138fe3d7 fix #31: handle discogs tracks in case of sub-tracks
in case of sub-tracks (at least for http://api.discogs.com/releases/5880212 ),
json field "position" is "" so previous code ignored the track.

The solution here is to use first sub-track position which is good enough to detect change of CD numbers.
2015-01-16 13:56:36 +01:00
Aurélien Mino
5424744063 Merge pull request #29 from VxJasonxV/discogs-updates
removes GreaseMonkey's JQuery, uses pure json instead of JSON-P
2015-01-07 21:58:50 +01:00
Jason Salaz
8108a1449b removes GreaseMonkey's JQuery, uses pure json instead of JSON-P 2014-12-30 08:35:11 -08:00
Aurélien Mino
18015ca130 [ui_enhancements] Improve highlighting of year in ISRC. 2014-12-25 21:28:46 +01:00
Aurélien Mino
3fd86d7f5b [ui_enhancements] Also display recording comment on release track
listing.
2014-12-25 21:14:06 +01:00
Aurélien Mino
fd658e0714 [ui_enhancements] Display ISRC on release tracklisting.
This replaces the feature provided by the "MusicBrainz Advanced Release
view" userscript that is now entirely defunct.
2014-12-22 00:03:22 +01:00
Aurélien Mino
ba5dacdae1 [ui_enhancements] Reindented and fixed eol. 2014-12-21 23:25:10 +01:00
Aurélien Mino
3048c98500 [ui_enhancements] Small fix for embedded Youtube videos. 2014-12-21 23:12:22 +01:00
Aurélien Mino
5a1c90e1f9 [ui_enhancements] Initial commit of exiting script with fixes and
cleanup.
2014-12-21 23:06:52 +01:00
Aurélien Mino
a5bd6cad96 [discid_detector] Added explicit @downloadURL and @updateURL and used
Mozilla versioning.
2014-12-21 22:05:56 +01:00
Aurélien Mino
270143f5db Initial commit of script previously published on userscripts.org. 2014-12-21 21:55:08 +01:00
Aurélien Mino
a8e70af92b Merge pull request #27 from zas/as_auto_editor_fix
Fix "Unknown field: as_auto_editor" error when importing
2014-11-04 22:09:00 +01:00
Laurent Monin
f7954eae68 Fix "Unknown field: as_auto_editor" error when importing
Since last MB server update (http://blog.musicbrainz.org/2014/11/03/server-update-2014-11-03/), i get this error when importing:

The data you’ve seeded contained the following errors:

    Unknown field: as_auto_editor

This field was removed, replaced by 'make_votable' which is always unchecked by default.
So basically those lines aren't needed anymore.
2014-11-04 21:53:46 +01:00
Aurélien Mino
ed1a7da663 Merge pull request #23 from zas/publishdate
Bandcamp: use publish date if album release date is before Bandcamp launch
2014-10-25 11:57:32 +02:00
Laurent Monin
d81573718e Bump @version 2014-10-18 14:33:21 +02:00
Laurent Monin
6d23a1e629 Fix up off-by-one error concerning months
getUTCMonth() returns month as 0..11
2014-10-18 14:33:07 +02:00
Laurent Monin
494be4068f Merge remote-tracking branch 'upstream/master' into publishdate 2014-10-18 14:30:59 +02:00
Aurélien Mino
4aa564f7bc Merge pull request #21 from VxJasonxV/beatport-pro-importer
Beatport Pro Importer v1
2014-10-14 09:57:56 +02:00
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
Jason Salaz
31c15e3697 parse title out of release metadata 2014-10-03 18:04:33 -06:00
Jason Salaz
214d4c6f8b Beatport Pro Importer v1 2014-10-03 17:50:48 -06: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