Laurent Monin
8c29ca5c3f
import_functions: makeArtistCredits() now splits featuring or versus artists
2015-06-13 15:18:04 +02:00
Laurent Monin
162a402b27
Update README
2015-06-13 11:38:55 +02:00
Laurent Monin
470f3322a7
Add Juno Download importer
2015-06-13 11:38:19 +02:00
Laurent Monin
6e2e20eb7a
Bump versions
2015-06-13 04:29:28 +02:00
Laurent Monin
3d29fb078b
cd1d_importer: use MBReleaseImportHelper.makeArtistCredits()
2015-06-13 04:28:47 +02:00
Laurent Monin
6d44668600
importers: move release type guessing to fnBuildFormParameters()
...
- use milliseconds for track durations everywhere for consistency
- use total duration in guessing only if all tracks have a duration
- improve a bit the differenciation single/EP/album
- it only happens if no release type was set by user script
2015-06-13 04:25:31 +02:00
Laurent Monin
e9c648daa1
cd1d_importer: use relative paths for libs
2015-06-13 04:21:18 +02:00
Laurent Monin
529561b389
import_functions: use same protocol than the page we are on for the form
...
It prevents the warning on beatport pro (https)
2015-06-13 04:19:48 +02:00
Laurent Monin
18805276c5
Bump versions
2015-06-13 00:55:28 +02:00
Laurent Monin
94367bfa31
encyclopedisque_importer: use MBReleaseImportHelper.URL_TYPES
2015-06-13 00:55:28 +02:00
Laurent Monin
74800b0c5e
encyclopedisque_importer: use relative paths for libs
2015-06-13 00:55:28 +02:00
Laurent Monin
a6c983b785
import_functions: add other_databases url type
2015-06-13 00:55:28 +02:00
Laurent Monin
a2710a1067
discogs_importer: if no release type was found, try to guess one
2015-06-13 00:55:28 +02:00
Laurent Monin
3bf4752cbc
discogs_importer: use MBReleaseImportHelper.URL_TYPES.discogs
2015-06-13 00:23:45 +02:00
Laurent Monin
ac4e33f43d
import_functions: add discogs url type
2015-06-13 00:15:20 +02:00
Laurent Monin
0e5b59a81c
cd1d_importer: use MBReleaseImportHelper.URL_TYPES
2015-06-13 00:09:58 +02:00
Laurent Monin
6991a5ad6f
import_functions: add purchase_for_mail_order url type
2015-06-13 00:08:58 +02:00
Laurent Monin
d20e5367ca
cd1d_importer: use MBReleaseImportHelper.guessReleaseType()
2015-06-13 00:07:18 +02:00
Laurent Monin
af2e38d30a
cd1d_importer: add more websites, they all share the same interface
2015-06-13 00:06:33 +02:00
Laurent Monin
e0ca73766a
bandcamp_importer: use MBReleaseImportHelper.guessReleaseType
2015-06-12 23:54:01 +02:00
Laurent Monin
6283a0c9ed
bandcamp_importer: use MBReleaseImportHelper.URL_TYPES
2015-06-12 23:53:35 +02:00
Laurent Monin
9e12ad8e3f
beatport_pro_importer: bump version
2015-06-12 23:33:29 +02:00
Laurent Monin
2f66a3f2e3
Merge pull request #52 from zas/beatport_pro_fixes
...
BeatPort Pro: make it work again
2015-06-12 23:32:28 +02:00
Laurent Monin
3572fe2fc9
beatport_pro_importer: set release artist to 'Various Artists' when > 4
...
Suggested by CatQuest: http://chatlogs.musicbrainz.org/musicbrainz/2015/2015-06/2015-06-12.html#T21-06-03-216220
2015-06-12 23:21:37 +02:00
Laurent Monin
fe64395c72
beatport_pro_importer: try to guess the release type
...
- set the release type to single/EP/album based on title, number of tracks and total duration
2015-06-12 22:42:04 +02:00
Laurent Monin
be4e3ef1a6
import_functions: add guessReleaseType() helper
...
- it tries to guess the release type based on title, number of tracks, and total duration
- it will be used to provide a sensible default value for type in importers
- it will fail to guess sometimes of course, but editor has to check values set by importer
2015-06-12 22:40:40 +02:00
Laurent Monin
65ed707c0f
beatport_importer_pro: tidy up release object construction
...
- regroup properties initialization
- add few default values (language to English, script to Latin)
2015-06-12 22:08:40 +02:00
Laurent Monin
a8f8f8b34e
beatport_pro_importer: no need to store id in release object
...
It is only used to match tracks.
2015-06-12 22:06:00 +02:00
Laurent Monin
3036d458b9
beatport_importer: use makeArtistCredits for both release and tracks
2015-06-12 22:04:01 +02:00
Laurent Monin
ad1f0e3e51
import_functions: add makeArtistCredits() function to build artist credits
2015-06-12 22:01:06 +02:00
Laurent Monin
70e83a1b3b
beatport_pro_importer: fix up release url
...
- set it by default as 'purchase for download'
- remove any hash or query part from the url
2015-06-12 21:37:19 +02:00
Laurent Monin
22b64ea7fa
beatport_pro_importer: add @namespace
2015-06-12 21:29:48 +02:00
Laurent Monin
6a7015fd9b
beatport_pro_importer: remove obsolete @sourceURL
2015-06-12 21:29:01 +02:00
Laurent Monin
7c3a39c79d
import_functions: add URL_TYPES property
2015-06-12 21:28:24 +02:00
Laurent Monin
c8ee328d78
BeatPort Pro: make it work again
...
Fixed:
- invisible import button
- more tracks than in the release
- release artist credit were the ones of the last track
- remove 'Original Mix' from track titles
- update jquery to recent version
- prevent jquery conflicts
- use relative paths for lib
2015-06-12 19:57:46 +02:00
Laurent Monin
f5255fb22e
discogs_importer: update version
2015-06-12 16:34:29 +02:00
Laurent Monin
f69a3b23b8
Merge pull request #51 from zas/cache_key_places
...
discogs_importer: use a cache key instead of url to handle labels vs places
2015-06-12 16:33:22 +02:00
Laurent Monin
c5ad8604bf
discogs_importer: also match artist simple alias
2015-06-12 16:20:57 +02:00
Laurent Monin
c1c1f1682e
discogs_importer: simplify code using getDiscogsLinkKey()
...
Parse current page url once, and propagate the resulting key.
2015-06-12 16:20:57 +02:00
Laurent Monin
d9a58d0820
discogs_importer: get clean url from the release json data instead of window.location
2015-06-12 16:20:57 +02:00
Laurent Monin
01bba52c05
discogs_importer: include artist link ending with ?noanv=1 (main artist name)
2015-06-12 16:20:57 +02:00
Laurent Monin
8172a6a5f2
discogs_importer: use add_mblinks()
...
As a major change, magnifyLinks() is only called on elements selected instead on the whole page.
Types are now passed as an array, which prevents repeated expansion of selectors
2015-06-12 16:20:56 +02:00
Laurent Monin
6ac8a4f740
discogs_importer: add_mblinks() function
2015-06-12 16:20:56 +02:00
Laurent Monin
52a6b17908
getCacheKeyFromUrl(): remove useless console.log()
2015-06-12 16:20:56 +02:00
Laurent Monin
152db36755
magnifyLinks(): drop force parameter, and use a counter for processed nodes
...
Using a counter helps for debugging.
2015-06-12 16:20:56 +02:00
Laurent Monin
a9695a21ca
discogs_importer: improve debug_color() output
2015-06-12 16:20:56 +02:00
Laurent Monin
bce2b544d5
discogs_importer: disable pjax navigation
...
At least until someone can get get pjax events to work with GM
2015-06-12 16:20:56 +02:00
Laurent Monin
ed894db18e
discogs_importer: update cache version, since we are using keys now
2015-06-12 16:20:56 +02:00
Laurent Monin
48093bda90
searchAndDisplayMbLinkInSection(): use cache key and improve support for places
...
Test case: http://www.discogs.com/Thomas-Fersen-Triplex/release/1307146 (companies)
2015-06-12 16:20:56 +02:00
Laurent Monin
ed92c733ef
Use a cache key instead of url for discogs release page
2015-06-12 16:20:56 +02:00