Add "Listen Along" button

This commit is contained in:
Jan Szymański
2021-08-19 16:16:49 +02:00
parent c6f8c42c45
commit 7fa1278b31

View File

@ -29,6 +29,9 @@ module.exports = (win, {activityTimoutEnabled, activityTimoutTime}) => {
songInfo.uploadDate,
songInfo.views.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") + " views"
].join(' || '),
buttons: [
{ label: "Listen Along", url: songInfo.url },
]
};
if (songInfo.isPaused) {