mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Update caption text for Discovery sections
This commit is contained in:
@@ -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())) {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user