forked from dbroqua/MusicTopus
Allow {genres} and {styles} for sharing album on fediverse
This commit is contained in:
parent
68414e3e71
commit
5b2758afca
5 changed files with 10 additions and 2 deletions
|
@ -40,6 +40,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("{year}", this.item.year)
|
||||
.replaceAll("{video}", video)
|
||||
.replaceAll("{album}", this.item.title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue