mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix recent activity episode titles
This commit is contained in:
parent
ba15a638ba
commit
ce58a73714
8 changed files with 60 additions and 35 deletions
|
@ -151,20 +151,20 @@
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
var settingsKey = 'periodicmessage-' + feature;
|
||||
var settingsKey = 'periodicmessage2-' + feature;
|
||||
|
||||
var lastMessage = parseInt(appSettings.get(settingsKey) || '0');
|
||||
|
||||
if (!lastMessage) {
|
||||
|
||||
// Don't show on the very first playback attempt
|
||||
appSettings.set(settingsKey, new Date().getTime());
|
||||
appSettings.set(settingsKey, new Date().getTime() - intervalMs);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
if ((new Date().getTime() - lastMessage) > intervalMs) {
|
||||
|
||||
connectionManager.currentApiClient().getPluginSecurityInfo().then(function (regInfo) {
|
||||
return connectionManager.currentApiClient().getPluginSecurityInfo().then(function (regInfo) {
|
||||
|
||||
if (regInfo.IsMBSupporter) {
|
||||
appSettings.set(settingsKey, new Date().getTime());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue