mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 21:33:02 +02:00
add NextMediaType
This commit is contained in:
parent
88bb75bec4
commit
9a0c5e3bda
|
@ -213,6 +213,9 @@ namespace MediaBrowser.Api.UserLibrary
|
||||||
[ApiMember(Name = "MediaSourceId", Description = "The id of the MediaSource", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")]
|
[ApiMember(Name = "MediaSourceId", Description = "The id of the MediaSource", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")]
|
||||||
public string MediaSourceId { get; set; }
|
public string MediaSourceId { get; set; }
|
||||||
|
|
||||||
|
[ApiMember(Name = "NextMediaType", Description = "The next media type that will play", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "DELETE")]
|
||||||
|
public string NextMediaType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the position ticks.
|
/// Gets or sets the position ticks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -363,7 +366,8 @@ namespace MediaBrowser.Api.UserLibrary
|
||||||
PositionTicks = request.PositionTicks,
|
PositionTicks = request.PositionTicks,
|
||||||
MediaSourceId = request.MediaSourceId,
|
MediaSourceId = request.MediaSourceId,
|
||||||
PlaySessionId = request.PlaySessionId,
|
PlaySessionId = request.PlaySessionId,
|
||||||
LiveStreamId = request.LiveStreamId
|
LiveStreamId = request.LiveStreamId,
|
||||||
|
NextMediaType = request.NextMediaType
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,5 +47,7 @@ namespace MediaBrowser.Model.Session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if failed; otherwise, <c>false</c>.</value>
|
||||||
public bool Failed { get; set; }
|
public bool Failed { get; set; }
|
||||||
|
|
||||||
|
public string NextMediaType { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue