mirror of https://github.com/jellyfin/jellyfin.git
Made PlaybackSpeed nullable for kotlin SDK
This commit is contained in:
parent
7c46947df5
commit
bb840a2e70
|
@ -11,7 +11,7 @@ namespace MediaBrowser.Model.Session
|
|||
/// </summary>
|
||||
public class PlaybackProgressInfo
|
||||
{
|
||||
private double _playbackSpeed = 1.0;
|
||||
private double? _playbackSpeed = 1.0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can seek.
|
||||
|
@ -117,7 +117,7 @@ namespace MediaBrowser.Model.Session
|
|||
/// Gets or sets the playback speed.
|
||||
/// </summary>
|
||||
/// <value>The playback speed.</value>
|
||||
public double PlaybackSpeed
|
||||
public double? PlaybackSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace MediaBrowser.Model.Session
|
|||
{
|
||||
public class PlayerStateInfo
|
||||
{
|
||||
private double _playbackSpeed = 1.0;
|
||||
private double? _playbackSpeed = 1.0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the now playing position ticks.
|
||||
|
@ -79,7 +79,7 @@ namespace MediaBrowser.Model.Session
|
|||
/// Gets or sets the playback speed.
|
||||
/// </summary>
|
||||
/// <value>The playback speed.</value>
|
||||
public double PlaybackSpeed
|
||||
public double? PlaybackSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue