mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 05:18:27 +01:00
Fix warnings MediaBrowser.Model
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Class BrowseRequest
|
||||
/// Class BrowseRequest.
|
||||
/// </summary>
|
||||
public class BrowseRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Artist, Genre, Studio, Person, or any kind of BaseItem
|
||||
/// Artist, Genre, Studio, Person, or any kind of BaseItem.
|
||||
/// </summary>
|
||||
/// <value>The type of the item.</value>
|
||||
public string ItemType { get; set; }
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using MediaBrowser.Model.Dlna;
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
public class MessageCommand
|
||||
|
||||
@@ -1,28 +1,32 @@
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum PlayCommand
|
||||
/// Enum PlayCommand.
|
||||
/// </summary>
|
||||
public enum PlayCommand
|
||||
{
|
||||
/// <summary>
|
||||
/// The play now
|
||||
/// The play now.
|
||||
/// </summary>
|
||||
PlayNow = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The play next
|
||||
/// The play next.
|
||||
/// </summary>
|
||||
PlayNext = 1,
|
||||
|
||||
/// <summary>
|
||||
/// The play last
|
||||
/// The play last.
|
||||
/// </summary>
|
||||
PlayLast = 2,
|
||||
|
||||
/// <summary>
|
||||
/// The play instant mix
|
||||
/// The play instant mix.
|
||||
/// </summary>
|
||||
PlayInstantMix = 3,
|
||||
|
||||
/// <summary>
|
||||
/// The play shuffle
|
||||
/// The play shuffle.
|
||||
/// </summary>
|
||||
PlayShuffle = 4
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
public enum PlayMethod
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using MediaBrowser.Model.Services;
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
using System;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
@@ -13,36 +16,43 @@ namespace MediaBrowser.Model.Session
|
||||
/// </summary>
|
||||
/// <value>The item.</value>
|
||||
public BaseItemDto Item { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
/// <value>The item identifier.</value>
|
||||
public Guid ItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the session id.
|
||||
/// </summary>
|
||||
/// <value>The session id.</value>
|
||||
public string SessionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media version identifier.
|
||||
/// </summary>
|
||||
/// <value>The media version identifier.</value>
|
||||
public string MediaSourceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the position ticks.
|
||||
/// </summary>
|
||||
/// <value>The position ticks.</value>
|
||||
public long? PositionTicks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the live stream identifier.
|
||||
/// </summary>
|
||||
/// <value>The live stream identifier.</value>
|
||||
public string LiveStreamId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the play session identifier.
|
||||
/// </summary>
|
||||
/// <value>The play session identifier.</value>
|
||||
public string PlaySessionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
public class PlayerStateInfo
|
||||
|
||||
@@ -1,40 +1,50 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum PlaystateCommand
|
||||
/// Enum PlaystateCommand.
|
||||
/// </summary>
|
||||
public enum PlaystateCommand
|
||||
{
|
||||
/// <summary>
|
||||
/// The stop
|
||||
/// The stop.
|
||||
/// </summary>
|
||||
Stop,
|
||||
|
||||
/// <summary>
|
||||
/// The pause
|
||||
/// The pause.
|
||||
/// </summary>
|
||||
Pause,
|
||||
|
||||
/// <summary>
|
||||
/// The unpause
|
||||
/// The unpause.
|
||||
/// </summary>
|
||||
Unpause,
|
||||
|
||||
/// <summary>
|
||||
/// The next track
|
||||
/// The next track.
|
||||
/// </summary>
|
||||
NextTrack,
|
||||
|
||||
/// <summary>
|
||||
/// The previous track
|
||||
/// The previous track.
|
||||
/// </summary>
|
||||
PreviousTrack,
|
||||
|
||||
/// <summary>
|
||||
/// The seek
|
||||
/// The seek.
|
||||
/// </summary>
|
||||
Seek,
|
||||
|
||||
/// <summary>
|
||||
/// The rewind
|
||||
/// The rewind.
|
||||
/// </summary>
|
||||
Rewind,
|
||||
|
||||
/// <summary>
|
||||
/// The fast forward
|
||||
/// The fast forward.
|
||||
/// </summary>
|
||||
FastForward,
|
||||
PlayPause
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
public class PlaystateRequest
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
#pragma warning disable SA1600
|
||||
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
public class TranscodingInfo
|
||||
|
||||
@@ -3,7 +3,7 @@ using MediaBrowser.Model.Dto;
|
||||
namespace MediaBrowser.Model.Session
|
||||
{
|
||||
/// <summary>
|
||||
/// Class UserDataChangeInfo
|
||||
/// Class UserDataChangeInfo.
|
||||
/// </summary>
|
||||
public class UserDataChangeInfo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user