Update caption text for Discovery sections

This commit is contained in:
HighImKevin
2026-09-19 19:20:23 -04:00
parent 54d420e828
commit 6bb1c3b5ae
2 changed files with 27 additions and 9 deletions
+2 -2
View File
@@ -567,7 +567,7 @@
'writtenByWriterRecentlyWatched'
]);
const RECENTLY_WATCHED_CAPTION_DEFAULT = 'because you recently watched {Title}';
const RECENTLY_WATCHED_CAPTION_DEFAULT = 'Because you recently watched {Title}';
const RECENTLY_WATCHED_NAME_DEFAULTS = {
starringActorRecentlyWatched: 'Starring {Person}',
@@ -596,7 +596,7 @@
let name = normalizeDiscoveryTemplatePlaceholders(match[1].trim());
let captionRight = normalizeDiscoveryTemplatePlaceholders(match[2].trim());
const caption = captionRight
? `because you recently watched ${captionRight}`
? `Because you recently watched ${captionRight}`
: RECENTLY_WATCHED_CAPTION_DEFAULT;
// Prefer canonical caption placeholder when right side is Movie/Title token only
if (/^\{Title\}$/i.test(captionRight) || /^\[Movie\]$/i.test(match[2].trim())) {
+25 -7
View File
@@ -1443,7 +1443,7 @@
}
},
name: 'Starring {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -1479,7 +1479,7 @@
}
},
name: 'Directed by {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -1515,7 +1515,7 @@
}
},
name: 'Written by {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -2048,7 +2048,7 @@
}
},
name: 'Starring {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -2084,7 +2084,7 @@
}
},
name: 'Directed by {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -2120,7 +2120,7 @@
}
},
name: 'Written by {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -2163,7 +2163,7 @@
}
},
name: 'Guest starring {Person}',
caption: 'because you recently watched {Title}',
caption: 'Because you recently watched {Title}',
enabled: true,
userConfigurable: true,
itemLimit: 20,
@@ -2226,12 +2226,30 @@
fadeInSections: false,
ensureThumbsForPopularTVNetworks: false,
showStaleDataBeforeRefresh: true,
dismissEmptySectionTimer: 0,
minPeopleAppearancesTotal: 10,
minPeopleAppearancesMovies: 10,
minPeopleAppearancesSeries: 10,
minPeopleAppearancesEpisodes: 10,
maxPeopleCount: 100,
loadPeopleEpisodeData: false,
categories: [
{
id: 'none',
name: 'None',
icon: 'home',
},
{
id: 'discovery',
name: 'Discover',
icon: 'explore',
},
{
id: 'pinned',
name: 'Pinned',
icon: 'pin',
}
]
}
const USER_HOME_SCREEN_SETTINGS = {