mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 11:52:27 +00:00
Turn all acute accents used as apostrophe into the proper character.
acute accents are wrong and they also make the MB track parser add spaces around it. Example https://www.discogs.com/release/7809058 → https://musicbrainz.org/edit/51145485 This is only small change proposal on track titles but if wanted, it should be done for track artists and release title and artists as well. Maybe as a new cleanup function. Tell me.
This commit is contained in:
parent
316d2a5416
commit
ba7b8dcd87
1 changed files with 2 additions and 2 deletions
|
@ -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 2017.02.25.0
|
||||
// @version 2018.2.28
|
||||
// @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
|
||||
|
@ -599,7 +599,7 @@ function parseDiscogsRelease(data) {
|
|||
|
||||
var track = new Object();
|
||||
|
||||
track.title = discogsTrack.title;
|
||||
track.title = discogsTrack.title.replace(/´/g, '’');
|
||||
track.duration = MBImport.hmsToMilliSeconds(discogsTrack.duration); // MB in milliseconds
|
||||
|
||||
// Track artist credit
|
||||
|
|
Loading…
Reference in a new issue