New display setting to configure slideshow delay
This commit is contained in:
committed by
Bill Thornton
parent
c2df080ad8
commit
a2fef21af2
@@ -1,4 +1,5 @@
|
||||
import { ServerConnections } from 'lib/jellyfin-apiclient';
|
||||
import * as userSettings from '../../scripts/settings/userSettings';
|
||||
import { PluginType } from 'types/plugin.ts';
|
||||
|
||||
export default class PhotoPlayer {
|
||||
@@ -24,7 +25,9 @@ export default class PhotoPlayer {
|
||||
interval: 11000,
|
||||
interactive: true,
|
||||
// playbackManager.shuffle has no options. So treat 'shuffle' as a 'play' action
|
||||
autoplay: options.autoplay || options.shuffle,
|
||||
autoplay: {
|
||||
delay: userSettings.slideshowInterval() * 1000
|
||||
},
|
||||
user: result
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user