Laurent Monin
1c71b7c79a
discogs: add a warning near Import button when tracklist is perhaps buggy
...
Example of such release: http://www.discogs.com/Undertone-Sexy-Thing/release/1009184
See discussion at 1bf80fbaf9 (commitcomment-11717691)
2015-06-17 09:43:57 +02:00
Laurent Monin
86a4c286f6
discogs: bump version
2015-06-17 00:37:17 +02:00
Laurent Monin
1bf80fbaf9
discogs: make the script tougher against weird track numbering
...
http://www.discogs.com/release/73531 was leading to an error:
when it tries to parse track 3 position (AA1) it thinks it's a new disc and increase
releaseNumber.
Of course there is no matching release format, so it generates an exception..
http://www.discogs.com/Undertone-Sexy-Thing/release/1009184 also leads to the same exception, somehow for a similar reason (track numbering has the usual scheme),
but the real fix is on the discogs side for this one, tracks 7.1-7.6 should be track 7 with sub-tracks.
Just make the script tougher here again, it just tries to import tracks as they are.
2015-06-17 00:37:17 +02:00
Laurent Monin
8eaef73605
discogs: catch parseDiscogsRelease() exceptions and insert an error message
2015-06-16 23:24:24 +02:00
Laurent Monin
7343042f5c
bandcamp: bump version
2015-06-16 21:44:53 +02:00
Laurent Monin
c64904a968
Merge pull request #55 from zas/bandcamp_multidomains
...
bandcamp_importer: support bandcamp pages having their own domain
2015-06-16 21:43:44 +02:00
Laurent Monin
e2f318c128
bandcamp_importer: support bandcamp pages having their own domain
...
Currently, one has to add the domain to userscript preferences for pages provided by bandcamp
but under another domain (ie. http://bearthemammoth.com/album/yamadori )
This change makes the @include wider (it may match totally unrelated pages) and test for
a bandcamp-specific object before doing anything.
2015-06-16 21:38:33 +02:00
Laurent Monin
38e732a3c4
bandcamp: try to use mblinks cache to get artist mbid
2015-06-16 21:24:01 +02:00
Laurent Monin
6a57231062
Bump versions
2015-06-16 16:19:53 +02:00
Laurent Monin
4349c66f07
Import buttons: minor style improvement
2015-06-16 16:17:00 +02:00
Laurent Monin
d873d94c91
Add a bit of space between buttons on CD1D
2015-06-16 16:17:00 +02:00
Laurent Monin
9ee0a2ee48
Add Search button to all importers and improve integration on each website
2015-06-16 16:17:00 +02:00
Laurent Monin
4d96e7bffa
luceneEscape: also escape slash
2015-06-16 16:17:00 +02:00
Laurent Monin
4719a5d7d7
mblinks: swap version and expiration parameters
2015-06-16 16:16:59 +02:00
Laurent Monin
bfe25c7da5
mblinks: make expiration optional
...
Use a common default value of 90 days.
2015-06-16 16:16:59 +02:00
Aurélien Mino
3d1f09cb89
encyclopedisque: bump version.
2015-06-15 23:43:48 +02:00
Aurélien Mino
ebacc7d40e
encyclopedique: also insert MB link for the current page.
2015-06-15 23:43:15 +02:00
Aurélien Mino
bc84a78254
encyclopedisque: code cleanup.
2015-06-15 23:19:45 +02:00
Aurélien Mino
043ab5615a
encyclopedisque: added MB links for artists.
2015-06-15 23:15:14 +02:00
Laurent Monin
5a4058eb6b
discogs_importer: display search links for not-yet-found entities
2015-06-15 23:09:26 +02:00
Laurent Monin
1a07a75774
import_functions: add searchUrlFor() which returns an url for search of given entity
2015-06-15 23:09:22 +02:00
Aurélien Mino
f9b4b1e51a
encyclopedique: use mblinks and clean code.
2015-06-15 23:05:59 +02:00
Laurent Monin
a825129dfd
Add last.fm importer
...
- it doesn't import much data, since last.fm has almost none but the tracklist (a bit more if last.fm uses MB data, but in this case no point in importing...)
- it is very unclear which release last.fm is listing, editor have to take care of formats, release dates, label, etc...
- artist credits are somehow random, don't expect miracles
I don't think last.fm is a good source for releases, it should only be used in last resort.
Suggested by https://github.com/murdos/musicbrainz-userscripts/issues/57
2015-06-15 17:40:48 +02:00
Laurent Monin
4bd4b74c7f
import_functions: set artist mbid for Various Artists and [unknown]
2015-06-15 17:23:24 +02:00
Laurent Monin
565c776910
import_functions: add a function to parse ISO8601 durations
2015-06-15 13:59:09 +02:00
Laurent Monin
5b43dd6938
Bump modified scripts versions
2015-06-15 09:54:21 +02:00
Laurent Monin
5a2d439d55
Unify the style of the MB import button among websites
...
- display musicbrainz icon in it
- unify css style
- add a new lib/mbimportstyle.js (store functions inserting css)
2015-06-15 09:52:59 +02:00
Laurent Monin
42bb4890ca
hmsToMilliSeconds(): fix an issue with Bandcamp "hidden" tracks
...
str may be null, so check.
2015-06-15 09:50:40 +02:00
Laurent Monin
67f1325327
Bump versions
...
libs changed a bit.
2015-06-14 15:02:07 +02:00
Laurent Monin
65fcc5a579
beatport_importer: remove unused external libs
2015-06-14 14:59:55 +02:00
Laurent Monin
9d07b80dc4
Use relative paths for libs
2015-06-14 14:55:19 +02:00
Laurent Monin
857cdf7c30
discogs_importer: in debug mode, display a border around the import div
2015-06-14 14:25:10 +02:00
Laurent Monin
b26c5407de
discogs_importer: improve display of links to this page
...
- only display if there is actually a link
- make text smaller
- change text to '... linked to this page'
- vertical align icons
2015-06-14 14:21:18 +02:00
Laurent Monin
2b1bb7f7e1
discogs_importer: make the musicbrainz import block appears smoothly
2015-06-14 14:17:49 +02:00
Laurent Monin
0f8ad4e971
import_functions: add a class to the search link, tidy up code a bit.
2015-06-14 14:13:56 +02:00
Laurent Monin
d76525949e
import_functions: add a class to the form element
2015-06-14 14:13:00 +02:00
Laurent Monin
c3899a73b4
import_functions: use a button type=submit instead of an input
...
It is easier to style, same behavior.
2015-06-14 14:11:39 +02:00
Laurent Monin
b7a52ff58c
discogs_importer: make /master/view/ pages act like /master/
2015-06-14 14:08:55 +02:00
Laurent Monin
5e178fd6a0
juno_download_importer: bump version
2015-06-13 15:34:22 +02:00
Laurent Monin
7e0c7efdbc
juno_download_importer: fix up comment
...
Thanks to CatQuest for spotting it ;)
2015-06-13 15:19:30 +02:00
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