more API def
This commit is contained in:
parent
4c880c3e9f
commit
bc071eb45b
2 changed files with 41 additions and 0 deletions
|
@ -371,7 +371,9 @@ namespace JellyfinRPC
|
|||
}
|
||||
public class SessionInfo
|
||||
{
|
||||
public PlayState PlayState { get; set; }
|
||||
public JArray AdditionalUsers { get; }
|
||||
public Capabilities Capabilities { get; set; }
|
||||
public string RemoteEndPoint { get; }
|
||||
public JArray PlayableMediaTypes { get; }
|
||||
public string Id { get; }
|
||||
|
@ -462,5 +464,44 @@ namespace JellyfinRPC
|
|||
public string PasswordResetProviderId { get; }
|
||||
public string SyncPlayAccess { get; }
|
||||
}
|
||||
public class PlayState
|
||||
{
|
||||
public int PositionTicks { get; set; }
|
||||
public bool CanSeek { get; }
|
||||
public bool IsPaused { get; }
|
||||
public bool IsMuted { get; set; }
|
||||
public int VolumeLevel { get; set; }
|
||||
public bool AudioStreamIndex { get; }
|
||||
public bool SubtitleStreamIndex { get; }
|
||||
public string MediaSourceId { get; }
|
||||
public string PlayMethod { get; }
|
||||
public string RepeatMode { get; }
|
||||
public string PlaybackOrder { get; }
|
||||
public string LiveStreamId { get; }
|
||||
|
||||
}
|
||||
public class Capabilities
|
||||
{
|
||||
public JArray PlayableMediaTypes { get; set; }
|
||||
public JArray SupportedCommands { get; set; }
|
||||
public bool SupportsMediaControl { get; set; }
|
||||
public bool SupportsPersistentIdentifier { get; set; }
|
||||
public DeviceProfile DeviceProfile { get; set; }
|
||||
public string AppStoreUrl { get; set; }
|
||||
public string IconUrl { get; set; }
|
||||
}
|
||||
public class DeviceProfile
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Id { get; set; }
|
||||
public int MaxStreamingBitrate { get; set; }
|
||||
public int MaxStaticBitrate { get; set; }
|
||||
public int MusicStreamingTranscodingBitrate { get; set; }
|
||||
public JArray DirectPlayProfiles { get; set; }
|
||||
public JArray TranscodingProfiles { get; set; }
|
||||
public JArray ContainerProfiles { get; set; }
|
||||
public JArray CodecProfiles { get; set; }
|
||||
public JArray SubtitleProfiles { get; set; }
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue