mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix sonarqube issues
This commit is contained in:
parent
be9f964c18
commit
a3949c1889
30 changed files with 58 additions and 59 deletions
|
@ -2048,7 +2048,7 @@ class PlaybackManager {
|
|||
return player.play(options);
|
||||
}
|
||||
|
||||
function playWithIntros(items, options, user) {
|
||||
function playWithIntros(items, options) {
|
||||
let playStartIndex = options.startIndex || 0;
|
||||
let firstItem = items[playStartIndex];
|
||||
|
||||
|
@ -2065,7 +2065,7 @@ class PlaybackManager {
|
|||
}
|
||||
|
||||
if (firstItem.MediaType === 'Photo' || firstItem.MediaType === 'Book') {
|
||||
return playOther(items, options, user);
|
||||
return playOther(items, options);
|
||||
}
|
||||
|
||||
const apiClient = ServerConnections.getApiClient(firstItem.ServerId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue