Skip to content

Commit

Permalink
fix: limit album title only
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanrk committed May 13, 2022
1 parent 59b3810 commit f844df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music-rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async function setActivity(rpc: Client) {
timestamps: { end },
assets: {
large_image: infos.artwork,
large_text: limitStr(`${props.album} (${props.year})`, 128),
large_text: `${limitStr(`${props.album}`, 120)} (${props.year})`,
},
};
if (infos.url) {
Expand Down

0 comments on commit f844df1

Please sign in to comment.