Change album / year divider from — to •

- The long dash can create confusion on japanese albums that have a similar character in them (used in japanese to express long vocals) https://open.spotify.com/album/129TFxq98ubI8cZfetjs3i?si=261e69f3fca542f8
- This also adds consistency as the same dot separator is also used in Friend Activity to separate song name from artist
This commit is contained in:
Davoleo 2021-09-30 14:30:49 +02:00 committed by GitHub
parent 3cdee1d9b3
commit 986a4b22b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ async function songchange() {
album_date = album_date.toLocaleString('default', album_date>recent_date ? { year: 'numeric', month: 'short' } : { year: 'numeric' })
album_link = "<a title=\""+Spicetify.Player.data.track.metadata.album_title+"\" href=\""+album_uri+"\" data-uri=\""+album_uri+"\" data-interaction-target=\"album-name\" class=\"tl-cell__content\">"+Spicetify.Player.data.track.metadata.album_title+"</a>"
nearArtistSpanText = album_link + " " + album_date
nearArtistSpanText = album_link + " " + album_date
} else if (Spicetify.Player.data.track.uri.includes('spotify:episode')) {
// podcast
bgImage = bgImage.replace('spotify:image:', 'https://i.scdn.co/image/')
@ -342,4 +342,4 @@ document.styleSheets[0].addRule('.Root__top-container::before',
opacity: calc(0.07 + 0.03 * var(--is_light, 0));
z-index: +3;`)
document.documentElement.style.setProperty('--warning_message', ' ');
document.documentElement.style.setProperty('--warning_message', ' ');