mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
fix SA1513/SA1516
This commit is contained in:
@@ -61,6 +61,7 @@ namespace MediaBrowser.Controller.Session
|
||||
{
|
||||
return Array.Empty<string>();
|
||||
}
|
||||
|
||||
return Capabilities.PlayableMediaTypes;
|
||||
}
|
||||
}
|
||||
@@ -154,6 +155,7 @@ namespace MediaBrowser.Controller.Session
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (controllers.Length > 0)
|
||||
{
|
||||
return false;
|
||||
@@ -255,6 +257,7 @@ namespace MediaBrowser.Controller.Session
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -292,6 +295,7 @@ namespace MediaBrowser.Controller.Session
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (progressInfo.IsPaused)
|
||||
{
|
||||
return;
|
||||
@@ -334,6 +338,7 @@ namespace MediaBrowser.Controller.Session
|
||||
_progressTimer.Dispose();
|
||||
_progressTimer = null;
|
||||
}
|
||||
|
||||
_lastProgressInfo = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user