mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-22 16:46:54 +01:00
Upgraded Protobuf, and added api support for it
This commit is contained in:
parent
de74609784
commit
cb7f04e4d3
@@ -1,18 +1,31 @@
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
{
|
||||
[ProtoContract]
|
||||
public class VideoInfo
|
||||
{
|
||||
[ProtoMember(1)]
|
||||
public string Codec { get; set; }
|
||||
|
||||
[ProtoMember(2)]
|
||||
public int Height { get; set; }
|
||||
|
||||
[ProtoMember(3)]
|
||||
public int Width { get; set; }
|
||||
|
||||
[ProtoMember(4)]
|
||||
public string ScanType { get; set; }
|
||||
|
||||
[ProtoMember(5)]
|
||||
public VideoType VideoType { get; set; }
|
||||
|
||||
[ProtoMember(6)]
|
||||
public IEnumerable<SubtitleStream> Subtitles { get; set; }
|
||||
|
||||
[ProtoMember(7)]
|
||||
public IEnumerable<AudioStream> AudioStreams { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user