mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
rework media versions to be based on original item id
This commit is contained in:
@@ -28,13 +28,6 @@ namespace MediaBrowser.Controller.Dto
|
||||
/// <returns>SessionInfoDto.</returns>
|
||||
SessionInfoDto GetSessionInfoDto(SessionInfo session);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the base item info.
|
||||
/// </summary>
|
||||
/// <param name="item">The item.</param>
|
||||
/// <returns>BaseItemInfo.</returns>
|
||||
BaseItemInfo GetBaseItemInfo(BaseItem item);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the dto id.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,6 +12,7 @@ namespace MediaBrowser.Controller.Library
|
||||
public List<User> Users { get; set; }
|
||||
public long? PlaybackPositionTicks { get; set; }
|
||||
public BaseItem Item { get; set; }
|
||||
public string MediaVersionId { get; set; }
|
||||
|
||||
public PlaybackProgressEventArgs()
|
||||
{
|
||||
|
||||
@@ -34,5 +34,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// </summary>
|
||||
/// <value>The session id.</value>
|
||||
public Guid SessionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media version identifier.
|
||||
/// </summary>
|
||||
/// <value>The media version identifier.</value>
|
||||
public string MediaVersionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,5 +34,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// </summary>
|
||||
/// <value>The position ticks.</value>
|
||||
public long? PositionTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media version identifier.
|
||||
/// </summary>
|
||||
/// <value>The media version identifier.</value>
|
||||
public string MediaVersionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,5 +22,11 @@ namespace MediaBrowser.Controller.Session
|
||||
/// </summary>
|
||||
/// <value>The position ticks.</value>
|
||||
public long? PositionTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media version identifier.
|
||||
/// </summary>
|
||||
/// <value>The media version identifier.</value>
|
||||
public string MediaVersionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,12 +119,24 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <value>The now playing item.</value>
|
||||
public BaseItem NowPlayingItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the now playing media version identifier.
|
||||
/// </summary>
|
||||
/// <value>The now playing media version identifier.</value>
|
||||
public string NowPlayingMediaVersionId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the now playing run time ticks.
|
||||
/// </summary>
|
||||
/// <value>The now playing run time ticks.</value>
|
||||
public long? NowPlayingRunTimeTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the now playing position ticks.
|
||||
/// </summary>
|
||||
/// <value>The now playing position ticks.</value>
|
||||
public long? NowPlayingPositionTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is paused.
|
||||
/// </summary>
|
||||
@@ -161,6 +173,18 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <value><c>true</c> if [supports fullscreen toggle]; otherwise, <c>false</c>.</value>
|
||||
public bool SupportsFullscreenToggle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [supports osd toggle].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [supports osd toggle]; otherwise, <c>false</c>.</value>
|
||||
public bool SupportsOsdToggle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [supports navigation commands].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [supports navigation commands]; otherwise, <c>false</c>.</value>
|
||||
public bool SupportsNavigationControl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is active.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user