mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 14:58:36 +01:00
hook up roku session controller + web client layout fixes
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Providers\BaseMetadataProvider.cs" />
|
||||
<Compile Include="Session\ISessionController.cs" />
|
||||
<Compile Include="Session\ISessionControllerFactory.cs" />
|
||||
<Compile Include="Session\PlaybackInfo.cs" />
|
||||
<Compile Include="Session\PlaybackProgressInfo.cs" />
|
||||
<Compile Include="Session\PlaybackStopInfo.cs" />
|
||||
|
||||
16
MediaBrowser.Controller/Session/ISessionControllerFactory.cs
Normal file
16
MediaBrowser.Controller/Session/ISessionControllerFactory.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
namespace MediaBrowser.Controller.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface ISesssionControllerFactory
|
||||
/// </summary>
|
||||
public interface ISessionControllerFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the session controller.
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
/// <returns>ISessionController.</returns>
|
||||
ISessionController GetSessionController(SessionInfo session);
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,12 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <value>The sessions.</value>
|
||||
IEnumerable<SessionInfo> Sessions { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Adds the parts.
|
||||
/// </summary>
|
||||
/// <param name="sessionFactories">The session factories.</param>
|
||||
void AddParts(IEnumerable<ISessionControllerFactory> sessionFactories);
|
||||
|
||||
/// <summary>
|
||||
/// Logs the user activity.
|
||||
/// </summary>
|
||||
@@ -41,10 +47,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="appVersion">The app version.</param>
|
||||
/// <param name="deviceId">The device id.</param>
|
||||
/// <param name="deviceName">Name of the device.</param>
|
||||
/// <param name="remoteEndPoint">The remote end point.</param>
|
||||
/// <param name="user">The user.</param>
|
||||
/// <returns>Task.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">user</exception>
|
||||
Task<SessionInfo> LogSessionActivity(string clientType, string appVersion, string deviceId, string deviceName, User user);
|
||||
Task<SessionInfo> LogSessionActivity(string clientType, string appVersion, string deviceId, string deviceName, string remoteEndPoint, User user);
|
||||
|
||||
/// <summary>
|
||||
/// Used to report that playback has started for an item
|
||||
|
||||
@@ -14,6 +14,12 @@ namespace MediaBrowser.Controller.Session
|
||||
QueueableMediaTypes = new List<string>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the remote end point.
|
||||
/// </summary>
|
||||
/// <value>The remote end point.</value>
|
||||
public string RemoteEndPoint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can seek.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user