Set # for share on fediverse

This commit is contained in:
Damien Broqua 2024-08-05 17:54:11 +02:00
parent 948ccf9419
commit e3f47a7bf7
7 changed files with 34 additions and 8 deletions

View file

@ -41,8 +41,8 @@ if (typeof item !== "undefined") {
this.shareMessageTransformed = message
.replaceAll("{artist}", this.item.artists[0].name)
.replaceAll("{format}", this.item.formats[0].name)
.replaceAll("{genres}", this.item.genres.join())
.replaceAll("{styles}", this.item.styles.join())
.replaceAll("{genres}", this.item.genres.join(", "))
.replaceAll("{styles}", this.item.styles.join(", "))
.replaceAll("{year}", this.item.year)
.replaceAll("{video}", video)
.replaceAll("{album}", this.item.title);