mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 21:54:26 -04:00
EditorConfig reformat: MediaBrowser.Model
This commit is contained in:
parent
3ed6f37030
commit
382e8699a2
@ -14,4 +14,4 @@ namespace MediaBrowser.Model.Channels
|
|||||||
|
|
||||||
Season = 5
|
Season = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ namespace MediaBrowser.Model.Channels
|
|||||||
PlayCount = 5,
|
PlayCount = 5,
|
||||||
CommunityPlayCount = 6
|
CommunityPlayCount = 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,4 +20,4 @@
|
|||||||
|
|
||||||
GameExtra = 8
|
GameExtra = 8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
|
|
||||||
Photo = 2
|
Photo = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,4 +26,4 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
Limit = 1;
|
Limit = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
Legacy,
|
Legacy,
|
||||||
Compatible
|
Compatible
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,4 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
MetadataSaver,
|
MetadataSaver,
|
||||||
SubtitleFetcher
|
SubtitleFetcher
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
None = 3,
|
None = 3,
|
||||||
Smart = 4
|
Smart = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,4 @@ namespace MediaBrowser.Model.Configuration
|
|||||||
ChannelContent,
|
ChannelContent,
|
||||||
Other
|
Other
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ namespace MediaBrowser.Model.Cryptography
|
|||||||
byte[] ComputeMD5(byte[] bytes);
|
byte[] ComputeMD5(byte[] bytes);
|
||||||
byte[] ComputeSHA1(byte[] bytes);
|
byte[] ComputeSHA1(byte[] bytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,4 +83,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
VideoAudio = 1,
|
VideoAudio = 1,
|
||||||
Audio = 2
|
Audio = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
System = 0,
|
System = 0,
|
||||||
User = 1
|
User = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
Video = 1,
|
Video = 1,
|
||||||
Photo = 2
|
Photo = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
Streaming = 0,
|
Streaming = 0,
|
||||||
Static = 1
|
Static = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
Regex = 1,
|
Regex = 1,
|
||||||
Substring = 2
|
Substring = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
[XmlAttribute("match")]
|
[XmlAttribute("match")]
|
||||||
public HeaderMatchType Match { get; set; }
|
public HeaderMatchType Match { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,4 +35,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
IsRequired = isRequired;
|
IsRequired = isRequired;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
GreaterThanEqual = 3,
|
GreaterThanEqual = 3,
|
||||||
EqualsAny = 4
|
EqualsAny = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,4 +26,4 @@
|
|||||||
AudioSampleRate = 22,
|
AudioSampleRate = 22,
|
||||||
AudioBitDepth = 23
|
AudioBitDepth = 23
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
MaxBitrate = maxBitrate;
|
MaxBitrate = maxBitrate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
public int? MaxWidth { get; set; }
|
public int? MaxWidth { get; set; }
|
||||||
public int? MaxHeight { get; set; }
|
public int? MaxHeight { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
Playlist = 4,
|
Playlist = 4,
|
||||||
MusicAlbum = 5
|
MusicAlbum = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Hls = 3
|
Hls = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
public SubtitleDeliveryMethod DeliveryMethod { get; set; }
|
public SubtitleDeliveryMethod DeliveryMethod { get; set; }
|
||||||
public bool IsExternalUrl { get; set; }
|
public bool IsExternalUrl { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
Auto = 0,
|
Auto = 0,
|
||||||
Bytes = 1
|
Bytes = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@
|
|||||||
public int? AudioStreamIndex { get; set; }
|
public int? AudioStreamIndex { get; set; }
|
||||||
public int? SubtitleStreamIndex { get; set; }
|
public int? SubtitleStreamIndex { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
[XmlAttribute("value")]
|
[XmlAttribute("value")]
|
||||||
public string Value { get; set; }
|
public string Value { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -90,4 +90,4 @@ namespace MediaBrowser.Model.Drawing
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@ namespace MediaBrowser.Model.Dto
|
|||||||
Grouping = 1,
|
Grouping = 1,
|
||||||
Placeholder = 2
|
Placeholder = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.Dto
|
|||||||
Score,
|
Score,
|
||||||
Likes
|
Likes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,4 +14,4 @@ namespace MediaBrowser.Model.Dto
|
|||||||
|
|
||||||
HasLikedActor = 5
|
HasLikedActor = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -55,4 +55,4 @@
|
|||||||
public const string MusicFavoriteAlbums = "MusicFavoriteAlbums";
|
public const string MusicFavoriteAlbums = "MusicFavoriteAlbums";
|
||||||
public const string MusicFavoriteSongs = "MusicFavoriteSongs";
|
public const string MusicFavoriteSongs = "MusicFavoriteSongs";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,4 +14,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
BluRay
|
BluRay
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
public bool TrialVersion { get; set; }
|
public bool TrialVersion { get; set; }
|
||||||
public bool IsValid { get; set; }
|
public bool IsValid { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,4 +22,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
EmbeddedImage
|
EmbeddedImage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -100,4 +100,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
instance.SetProviderId(provider.ToString(), value);
|
instance.SetProviderId(provider.ToString(), value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,4 +14,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Vertical
|
Vertical
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,4 +14,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Descending
|
Descending
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,4 +8,4 @@ namespace MediaBrowser.Model.Entities
|
|||||||
Archive = 4,
|
Archive = 4,
|
||||||
LocalTrailer = 5
|
LocalTrailer = 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.Globalization
|
|||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Value { get; set; }
|
public string Value { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,4 +22,4 @@ namespace MediaBrowser.Model.IO
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
NetworkShare
|
NetworkShare
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,4 +31,4 @@ namespace MediaBrowser.Model.IO
|
|||||||
/// <param name="mounters">The mounters.</param>
|
/// <param name="mounters">The mounters.</param>
|
||||||
void AddParts(IEnumerable<IIsoMounter> mounters);
|
void AddParts(IEnumerable<IIsoMounter> mounters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,4 +19,4 @@ namespace MediaBrowser.Model.IO
|
|||||||
/// <value>The mounted path.</value>
|
/// <value>The mounted path.</value>
|
||||||
string MountedPath { get; }
|
string MountedPath { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -123,4 +123,4 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
public bool IsPostPaddingRequired { get; set; }
|
public bool IsPostPaddingRequired { get; set; }
|
||||||
public KeepUntil KeepUntil { get; set; }
|
public KeepUntil KeepUntil { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
Weekdays,
|
Weekdays,
|
||||||
Weekends
|
Weekends
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,4 +16,4 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
/// <value>The end date.</value>
|
/// <value>The end date.</value>
|
||||||
public DateTime EndDate { get; set; }
|
public DateTime EndDate { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
Ok = 0,
|
Ok = 0,
|
||||||
Unavailable = 1
|
Unavailable = 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,4 +7,4 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
RecordingTv = 2,
|
RecordingTv = 2,
|
||||||
LiveTv = 3
|
LiveTv = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
Thx,
|
Thx,
|
||||||
Atmos
|
Atmos
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,4 +16,4 @@ namespace MediaBrowser.Model.LiveTv
|
|||||||
/// <value>The sort order.</value>
|
/// <value>The sort order.</value>
|
||||||
public SortOrder SortOrder { get; set; }
|
public SortOrder SortOrder { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,4 +20,4 @@
|
|||||||
|
|
||||||
public bool? IsScheduled { get; set; }
|
public bool? IsScheduled { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,4 +23,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ namespace MediaBrowser.Model.MediaInfo
|
|||||||
Rtp = 5,
|
Rtp = 5,
|
||||||
Ftp = 6
|
Ftp = 6
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
public const string SMI = "smi";
|
public const string SMI = "smi";
|
||||||
public const string TTML = "ttml";
|
public const string TTML = "ttml";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
Zero,
|
Zero,
|
||||||
Valid
|
Valid
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,4 +11,4 @@
|
|||||||
public const string MSMPEG4 = "msmpeg4";
|
public const string MSMPEG4 = "msmpeg4";
|
||||||
public const string VC1 = "vc1";
|
public const string VC1 = "vc1";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,4 +23,4 @@ namespace MediaBrowser.Model.Net
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Task SendToAsync(byte[] buffer, int offset, int bytes, IpEndPointInfo endPoint, CancellationToken cancellationToken);
|
Task SendToAsync(byte[] buffer, int offset, int bytes, IpEndPointInfo endPoint, CancellationToken cancellationToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,4 +21,4 @@ namespace MediaBrowser.Model.Notifications
|
|||||||
CameraImageUploaded,
|
CameraImageUploaded,
|
||||||
UserLockedOut
|
UserLockedOut
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@ namespace MediaBrowser.Model.Notifications
|
|||||||
Admins = 1,
|
Admins = 1,
|
||||||
Custom = 2
|
Custom = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
/// <value>The type of the item.</value>
|
/// <value>The type of the item.</value>
|
||||||
public string Url { get; set; }
|
public string Url { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@ namespace MediaBrowser.Model.Providers
|
|||||||
|
|
||||||
public bool IncludeAllLanguages { get; set; }
|
public bool IncludeAllLanguages { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,4 +5,4 @@ namespace MediaBrowser.Model.Providers
|
|||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
SoundtrackSongsResult = new ThemeMediaResult();
|
SoundtrackSongsResult = new ThemeMediaResult();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,4 +54,4 @@ namespace MediaBrowser.Model.Querying
|
|||||||
EnableImageTypes = new ImageType[] { };
|
EnableImageTypes = new ImageType[] { };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,4 +43,4 @@ namespace MediaBrowser.Model.Serialization
|
|||||||
/// <returns>System.Object.</returns>
|
/// <returns>System.Object.</returns>
|
||||||
object DeserializeFromBytes(Type type, byte[] buffer);
|
object DeserializeFromBytes(Type type, byte[] buffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,4 +24,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
/// <value>The name of the item.</value>
|
/// <value>The name of the item.</value>
|
||||||
public string ItemName { get; set; }
|
public string ItemName { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,4 +43,4 @@
|
|||||||
PlayMediaSource = 34,
|
PlayMediaSource = 34,
|
||||||
PlayTrailers = 35
|
PlayTrailers = 35
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
|
|
||||||
public long? TimeoutMs { get; set; }
|
public long? TimeoutMs { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,4 +26,4 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
PlayShuffle = 4
|
PlayShuffle = 4
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
DirectStream = 1,
|
DirectStream = 1,
|
||||||
DirectPlay = 2
|
DirectPlay = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
public string MediaSourceId { get; set; }
|
public string MediaSourceId { get; set; }
|
||||||
public int? StartIndex { get; set; }
|
public int? StartIndex { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,4 +62,4 @@
|
|||||||
/// <value>The repeat mode.</value>
|
/// <value>The repeat mode.</value>
|
||||||
public RepeatMode RepeatMode { get; set; }
|
public RepeatMode RepeatMode { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
FastForward,
|
FastForward,
|
||||||
PlayPause
|
PlayPause
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,4 +12,4 @@
|
|||||||
/// <value>The controlling user identifier.</value>
|
/// <value>The controlling user identifier.</value>
|
||||||
public string ControllingUserId { get; set; }
|
public string ControllingUserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
/// <value>The name of the user.</value>
|
/// <value>The name of the user.</value>
|
||||||
public string UserName { get; set; }
|
public string UserName { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,4 +50,4 @@ namespace MediaBrowser.Model.Session
|
|||||||
SubtitleCodecNotSupported = 21,
|
SubtitleCodecNotSupported = 21,
|
||||||
DirectPlayError = 22
|
DirectPlayError = 22
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,4 +38,4 @@ namespace MediaBrowser.Model.System
|
|||||||
/// <value>The id.</value>
|
/// <value>The id.</value>
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ namespace MediaBrowser.Model.System
|
|||||||
Port = 9;
|
Port = 9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,4 @@
|
|||||||
|
|
||||||
bool IsLogged { get; }
|
bool IsLogged { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,4 +73,4 @@ namespace MediaBrowser.Model.Tasks
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
void ReloadTriggerEvents();
|
void ReloadTriggerEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,4 +75,4 @@ namespace MediaBrowser.Model.Tasks
|
|||||||
|
|
||||||
void RunTaskOnNextStartup(string key);
|
void RunTaskOnNextStartup(string key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,4 @@ namespace MediaBrowser.Model.Updates
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
MBClassic
|
MBClassic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,4 +18,4 @@ namespace MediaBrowser.Model.Updates
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Dev = 2
|
Dev = 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,4 +92,4 @@ namespace MediaBrowser.Model.Updates
|
|||||||
|
|
||||||
public string runtimes { get; set; }
|
public string runtimes { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user