File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4679,7 +4679,7 @@ function updateTitle() {
46794679 if (typeof activeIslands !== 'undefined' && activeIslands.length > 0) {
46804680 activeIslands.forEach(i => {
46814681 if (i.type === 'live-activity' && i.data && i.data.text) {
4682- liveActivityTexts.push(i.data.text);
4682+ liveActivityTexts.push(i.data.text.slice(0, 14) );
46834683 }
46844684 });
46854685 }
@@ -4693,7 +4693,7 @@ function updateTitle() {
46934693 if (session && session.metadata) {
46944694 const { title, artist } = session.metadata;
46954695 if (title && title !== 'Unknown Title') {
4696- titlePrefix = `${title} | `;
4696+ titlePrefix = `${title.slice(0, 14) } | `;
46974697 }
46984698 }
46994699 }
@@ -4704,7 +4704,7 @@ function updateTitle() {
47044704 const url = openEmbed.dataset.embedUrl;
47054705 const appName = Object.keys(apps).find(name => apps[name].url === url);
47064706 if (appName) {
4707- titlePrefix = `${appName} | `;
4707+ titlePrefix = `${appName.slice(0, 14) } | `;
47084708 }
47094709 }
47104710 }
You can’t perform that action at this time.
0 commit comments