mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
rename SeekPosition to SeekPositionTicks
This commit is contained in:
parent
683f00ba38
commit
2aaf939f22
@ -119,8 +119,8 @@ namespace MediaBrowser.Api
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the position to seek to
|
/// Gets or sets the position to seek to
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiMember(Name = "SeekPosition", Description = "The position to seek to.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
|
[ApiMember(Name = "SeekPositionTicks", Description = "The position to seek to.", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||||
public long? SeekPosition { get; set; }
|
public long? SeekPositionTicks { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the play command.
|
/// Gets or sets the play command.
|
||||||
@ -200,7 +200,7 @@ namespace MediaBrowser.Api
|
|||||||
Data = new PlaystateRequest
|
Data = new PlaystateRequest
|
||||||
{
|
{
|
||||||
Command = request.Command,
|
Command = request.Command,
|
||||||
SeekPosition = request.SeekPosition
|
SeekPositionTicks = request.SeekPositionTicks
|
||||||
}
|
}
|
||||||
|
|
||||||
}, CancellationToken.None).ConfigureAwait(false);
|
}, CancellationToken.None).ConfigureAwait(false);
|
||||||
|
@ -3,7 +3,6 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.Serialization;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
@ -36,6 +36,6 @@ namespace MediaBrowser.Model.Session
|
|||||||
{
|
{
|
||||||
public PlaystateCommand Command { get; set; }
|
public PlaystateCommand Command { get; set; }
|
||||||
|
|
||||||
public long? SeekPosition { get; set; }
|
public long? SeekPositionTicks { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using MediaBrowser.Controller.Entities;
|
using System;
|
||||||
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Controller.Localization;
|
using MediaBrowser.Controller.Localization;
|
||||||
using MediaBrowser.Controller.Sorting;
|
using MediaBrowser.Controller.Sorting;
|
||||||
using MediaBrowser.Model.Querying;
|
using MediaBrowser.Model.Querying;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user