Commit graph

152 commits

Author SHA1 Message Date
Aurélien Mino
93b627adfa Merge pull request #38 from zas/bandcamp_importer_cleanup
Bandcamp importer: tidy up code
2015-05-27 05:12:00 +02:00
Aurélien Mino
505e33f440 Merge pull request #39 from zas/cd1d_importer
CD1D importer
2015-05-27 05:04:20 +02:00
Laurent Monin
55955213cb CD1D importer
CD1D.com is a french website distributing independent music, in digital and physical formats.
The importer supports following features:
- release date, including "today", and "yesterday"
- label
- multiple artists
- vinyl/CD/digital (whenever possible, not perfect due to the way releases are listed)
- track times conversion (the website don't use mm:ss format)
- add a download link for digital, a mailorder link for physical
2015-05-26 22:24:51 +02:00
Laurent Monin
34584e7b77 Bandcamp importer: tidy up code
- add missing curly brackets
- add missing semicolons
- fix up global vs local variables (missing var)
- move importer functions to their own namespace
- beautify code
- remove unneeded commented lines

Code behavior shouldn't have changed but risk of conflicts with third-party scripts is heavily reduced.
2015-05-25 18:13:40 +02:00
Aurélien Mino
e933144d2f Merge pull request #37 from zas/bci_label
Bandcamp import: attempt to detect label when release page is a sub-page of one.
2015-05-24 11:40:43 +02:00
Aurélien Mino
6b76728d75 Merge pull request #36 from zas/bci_helper
New script for Bandcamp that displays the link to the current album when not on an bandcamp /album/ page.
2015-05-24 11:38:45 +02:00
Laurent Monin
c2f688be23 Bandcamp import: attempt to detect label when release page is a sub-page of one
When a label has its own bandcamp page, most releases have a back link to the root page for the label.

Ie. https://baroness.bandcamp.com/album/yellow-green has a link on the top left to Relapse Records artists page (https://relapserecords.bandcamp.com/artists)

The code detects if such link exists and use the label's name to prefill the Add Release form.
Of course, sometimes it will be wrong, because the so-called label on Bandcamp isn't a real label, the user should be able to sort it out.
2015-05-20 14:01:35 +02:00
Laurent Monin
3c2a7641fd Display the link to the current album when not on an bandcamp /album/ page 2015-05-20 00:26:50 +02:00
Aurélien Mino
2ff1b9fa1f Merge pull request #35 from zas/bci_new_links
Bandcamp importer: Add commas after tags, and a link to original image
2015-05-19 20:35:03 +02:00
Laurent Monin
50391d1969 Update version 2015-05-16 14:41:35 +02:00
Laurent Monin
c3d552dfe5 Add a link to the original cover art image under the album image.
On Bandcamp, original images can be downloaded replacing _10 by _0 in image links.
2015-05-16 14:41:23 +02:00
Laurent Monin
ed4e372ea6 Add commas to tags to ease cut'n'paste to MusicBrainz
MusicBrainz accept list of tags separated by commas.
2015-05-16 14:39:51 +02:00
Aurélien Mino
9aef576d3b [ui_enhancements] Fix display of releases with many mediums after Server update, 2015-02-09. 2015-02-14 13:56:20 +01:00
Aurélien Mino
a21eae18e6 [ui_enhancements] Fix display of releases with few mediums after Server
update, 2015-02-09.
2015-02-14 12:29:36 +01:00
Aurélien Mino
f217ccf005 Use new logging system in all import scripts. 2015-01-18 14:13:32 +01:00
Aurélien Mino
59e0f8b244 Enhanced logging system factored in a new lib: logger.js. 2015-01-18 14:00:58 +01:00
Aurélien Mino
7716463be2 [import_functions] Improve header documentation 2015-01-18 13:34:10 +01:00
Aurélien Mino
7890f15146 [discogs_importer] Fixes #16: comma after every artist.
Some odd/old Discogs releases have comma as ending join phrase in the
artist credit. While Discogs data is wrong, it's better to handle such
case.
2015-01-18 02:01: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