mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
fix SA1513/SA1516
This commit is contained in:
@@ -5,13 +5,21 @@ namespace MediaBrowser.Controller.Session
|
||||
public class AuthenticationRequest
|
||||
{
|
||||
public string Username { get; set; }
|
||||
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
|
||||
public string PasswordSha1 { get; set; }
|
||||
|
||||
public string App { get; set; }
|
||||
|
||||
public string AppVersion { get; set; }
|
||||
|
||||
public string DeviceId { get; set; }
|
||||
|
||||
public string DeviceName { get; set; }
|
||||
|
||||
public string RemoteEndPoint { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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