mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
Merge branch 'master' into acute-accent_to_right-single-quotation-mark
This commit is contained in:
commit
807fe4f69f
24 changed files with 33 additions and 34 deletions
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Bandcamp releases to MusicBrainz
|
||||
// @description Add a button on Bandcamp's album pages to open MusicBrainz release editor with pre-filled data for the selected release
|
||||
// @version 2018.01.14.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Bandcamp releases to MusicBrainz Album Link Helper
|
||||
// @description Add a link to Bandcamp's album canonical URL on pages without /album/, for one to import the release into MusicBrainz
|
||||
// @version 2015.07.07.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer_helper.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/bandcamp_importer_helper.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name MusicBrainz: Batch-add "performance of" relationships
|
||||
// @description Batch link recordings to works from artist Recordings page.
|
||||
// @version 2018.1.1.0
|
||||
// @version 2018.2.18.1
|
||||
// @author Michael Wiencek
|
||||
// @license X11
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/batch-add-recording-relationships.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Beatport Classic releases to MusicBrainz
|
||||
// @description One-click importing of releases from classic.beatport.com/release pages into MusicBrainz
|
||||
// @version 2017.06.13.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/beatport_classic_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/beatport_classic_importer.user.js
|
||||
// @include http*://classic.beatport.com/release/*
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// @author VxJasonxV
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts/
|
||||
// @description One-click importing of releases from beatport.com/release pages into MusicBrainz
|
||||
// @version 2017.06.13.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/beatport_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/beatport_importer.user.js
|
||||
// @include http://www.beatport.com/release/*
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// @include http://1d-paysdelaloire.com/*/album/*
|
||||
// @include http://1d-rhonealpes.com/*/album/*
|
||||
// @include http://cd1d.com/*/album/*
|
||||
// @version 2015.06.22.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/cd1d_importer.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/cd1d_importer.user.js
|
||||
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// @name Import CD Baby releases to MusicBrainz
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts/
|
||||
// @description One-click importing of releases from cdbaby.com into MusicBrainz.
|
||||
// @version 2017.05.18.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/cdbaby_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/cdbaby_importer.user.js
|
||||
// @include /^https?:\/\/(?:store\.)?(?:cdbaby\.com)\/cd\/[^\/]+/
|
||||
|
|
|
@ -5,7 +5,7 @@ var meta = function() {
|
|||
// @name Import DG/Decca releases to MusicBrainz
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts
|
||||
// @author loujine
|
||||
// @version 2016.11.13.1
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/dgdecca_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/dgdecca_importer.user.js
|
||||
// @icon https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/assets/images/Musicbrainz_import_logo.png
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// @name Import Discogs releases to MusicBrainz
|
||||
// @description Add a button to import Discogs releases to MusicBrainz and add links to matching MusicBrainz entities for various Discogs entities (artist,release,master,label)
|
||||
// @version 2018.2.28
|
||||
// @version 2018.3.7.1
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/discogs_importer.user.js
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// ==UserScript==
|
||||
// @name Import Encyclopedisque releases to MusicBrainz
|
||||
// @version 2016.05.29.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @description Easily import Encyclopedisque releases into MusicBrainz
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/encyclopedisque_importer.user.js
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// @description See what's inside a release group without having to follow its URL. Also adds convenient edit links for it.
|
||||
// @namespace http://userscripts.org/users/266906
|
||||
// @author Michael Wiencek <mwtuea@gmail.com>
|
||||
// @version 6.4
|
||||
// @version 2018.2.18.1
|
||||
// @license GPL
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/expand-collapse-release-groups.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/expand-collapse-release-groups.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name MusicBrainz: Fast cancel edits
|
||||
// @description Mass cancel open edits with optional edit notes.
|
||||
// @version 2015.6.7
|
||||
// @version 2018.2.18.1
|
||||
// @author Michael Wiencek
|
||||
// @license X11
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/fast-cancel-edits.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import FMA releases to MusicBrainz
|
||||
// @description Add a button to import https://freemusicarchive.org/ releases to MusicBrainz via API
|
||||
// @version 2016.08.29.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/fma_importer.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/fma_importer.user.js
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// @name Import Juno Download releases to MusicBrainz
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts/
|
||||
// @description One-click importing of releases from junodownload.com/products pages into MusicBrainz
|
||||
// @version 2015.06.21.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/juno_download_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/juno_download_importer.user.js
|
||||
// @include http*://www.junodownload.com/products/*
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// @name Import Last.fm releases to MusicBrainz
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts/
|
||||
// @description One-click importing of releases from last.fm into MusicBrainz. PLEASE import releases from more reliable sources if possible.
|
||||
// @version 2015.06.21.0
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/lastfm_importer.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/lastfm_importer.user.js
|
||||
// @include /^https?:\/\/(?:www\.)?(?:last\.fm|lastfm\.(?:com\.br|com\.tr|at|com|de|es|fr|it|jp|pl|pt|ru|se))\/music\/[^\/]+/[^+][^\/]+/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Loot releases to MusicBrainz
|
||||
// @description Add a button to import Loot.co.za releases to MusicBrainz
|
||||
// @version 2016.05.29.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/loot_importer.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/loot_importer.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Musicbrainz DiscIds Detector
|
||||
// @namespace http://userscripts.org/users/22504
|
||||
// @version 2017.02.22.0
|
||||
// @version 2018.2.18.1
|
||||
// @description Generate MusicBrainz DiscIds from online EAC logs, and check existence in MusicBrainz database.
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_discids_detector.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Display shortcut for relationships on MusicBrainz
|
||||
// @description Display icon shortcut for relationships of release-group, release, recording and work: e.g. Amazon, Discogs, Wikipedia, ... links. This allows to access some relationships without opening the entity page.
|
||||
// @version 2017.11.12.1
|
||||
// @version 2018.2.18.1
|
||||
// @author Aurelien Mino <aurelien.mino@gmail.com>
|
||||
// @licence GPL (http://www.gnu.org/copyleft/gpl.html)
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/mb_relationship_shortcuts.user.js
|
||||
|
@ -143,6 +143,10 @@ $(document).ready(function(){
|
|||
var targettype = $(this).attr("target-type").replace("release_group", "release-group");
|
||||
var relations = {};
|
||||
|
||||
if (relationsIconsURLs[targettype] === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(this).children("relation").each(function() {
|
||||
var reltype = $(this).attr("type");
|
||||
var target = $(this).children("target").text();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Musicbrainz UI enhancements
|
||||
// @description Various UI enhancements for Musicbrainz
|
||||
// @version 2015.09.15.1
|
||||
// @version 2018.2.18.1
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_ui_enhancements.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/mb_ui_enhancements.user.js
|
||||
// @icon http://wiki.musicbrainz.org/-/images/3/3d/Musicbrainz_logo.png
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Metal Archives releases into MusicBrainz
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts/
|
||||
// @version 2017.05.23.0
|
||||
// @version 2018.2.18.1
|
||||
// @description Add a button on Metal Archives release pages allowing to open MusicBrainz release editor with pre-filled data for the selected release
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/metalarchives_importer.user.js
|
||||
// @update https://raw.github.com/murdos/musicbrainz-userscripts/master/metalarchives_importer.user.js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Qobuz releases to MusicBrainz
|
||||
// @description Add a button on Qobuz's album pages to open MusicBrainz release editor with pre-filled data for the selected release
|
||||
// @version 2018.01.14.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/qobuz_importer.user.js
|
||||
// @updateURL https://raw.github.com/murdos/musicbrainz-userscripts/master/qobuz_importer.user.js
|
||||
|
|
|
@ -1,21 +1,16 @@
|
|||
// ==UserScript==
|
||||
// @name MusicBrainz: Set recording comments for a release
|
||||
// @description Batch set recording comments from a Release page.
|
||||
// @version 2016.5.30
|
||||
// @version 2018.2.18.1
|
||||
// @author Michael Wiencek
|
||||
// @license X11
|
||||
// @namespace 790382e7-8714-47a7-bfbd-528d0caa2333
|
||||
// @downloadURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js
|
||||
// @updateURL https://raw.githubusercontent.com/murdos/musicbrainz-userscripts/master/set-recording-comments.user.js
|
||||
// @include *://musicbrainz.org/release/*
|
||||
// @include *://beta.musicbrainz.org/release/*
|
||||
// @include *://*.mbsandbox.org/release/*
|
||||
// @match *://musicbrainz.org/release/*
|
||||
// @match *://beta.musicbrainz.org/release/*
|
||||
// @match *://*.musicbrainz.org/release/*
|
||||
// @match *://*.mbsandbox.org/release/*
|
||||
// @exclude *://musicbrainz.org/release/*/*
|
||||
// @exclude *://beta.musicbrainz.org/release/*/*
|
||||
// @exclude *://*.mbsandbox.org/release/*/*
|
||||
// @exclude *musicbrainz.org/release/*/*
|
||||
// @exclude *.mbsandbox.org/release/*/*
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
|
@ -81,7 +76,7 @@ function setRecordingComments() {
|
|||
var release = location.pathname.match(MBID_REGEX)[0];
|
||||
|
||||
$.get("/ws/2/release/" + release + "?inc=recordings&fmt=json", function (data) {
|
||||
var comments = _.pluck(_.pluck(_.flatten(_.pluck(data.media, "tracks")), "recording"), "disambiguation");
|
||||
var comments = _.map(_.map(_.flatten(_.map(data.media, "tracks")), "recording"), "disambiguation");
|
||||
|
||||
for (var i = 0, len = comments.length; i < len; i++) {
|
||||
var comment = comments[i];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Import Takealot releases to MusicBrainz
|
||||
// @description Add a button to import Takealot releases to MusicBrainz
|
||||
// @version 2016.05.29.0
|
||||
// @version 2018.2.18.1
|
||||
// @namespace https://github.com/murdos/musicbrainz-userscripts
|
||||
// @include http*://www.takealot.com/*
|
||||
// @downloadURL https://raw.github.com/murdos/musicbrainz-userscripts/master/takealot_importer.user.js
|
||||
|
|
|
@ -26,10 +26,10 @@ To test without modifying file, use stdin:
|
|||
def make_version_line(old_value='0.0.0.0', spacing=' '*8, eol="\n"):
|
||||
prev_version = [int(x) for x in old_value.split('.')]
|
||||
now = datetime.datetime.utcnow()
|
||||
version = [now.year, now.month, now.day, 0]
|
||||
version = [now.year, now.month, now.day, 1]
|
||||
if prev_version[:3] == version[:3]:
|
||||
version[3] = prev_version[3] + 1
|
||||
version_str = '%04d.%02d.%02d.%d' % tuple(version)
|
||||
version_str = '%04d.%d.%d.%d' % tuple(version)
|
||||
return ('// @version' + spacing + version_str + eol, version_str)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue