-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathparseCopyrightNotice.meta.js
More file actions
25 lines (24 loc) · 1.27 KB
/
Copy pathparseCopyrightNotice.meta.js
File metadata and controls
25 lines (24 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** @type {import('@kellnerd/userscript-bundler').EnhancedUserscriptMetadata} */
const metadata = {
name: 'MusicBrainz: Parse copyright notice',
author: 'kellnerd',
description: 'Parses copyright notices and automates the process of creating release and recording relationships for these.',
features: [
'Extracts all copyright and legal information from the given text.',
'Automates the process of creating label-release (or artist-release) relationships for these credits.',
'Also creates phonographic copyright relationships for all selected recordings.',
'Detects artists who own the copyright of their own release and defaults to adding artist-release relationships for these credits.',
'See the [wiki page](https://github.com/kellnerd/musicbrainz-scripts/wiki/Parse-Copyright-Notices) for more details.',
'Allows seeding of the credit input (`credits`) and the edit note (`edit-note`) via custom query parameters, which are encoded into the hash of the URL (*Example*: `/edit-relationships#credits=(C)+2023+Test&edit-note=Seeding+example`).',
],
grant: [
'GM.getValue',
'GM.setValue',
],
match: [
'*://*.musicbrainz.org/release/*/edit-relationships',
'*://musicbrainz.eu/release/*/edit-relationships',
],
'run-at': 'document-idle',
};
export default metadata;