diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
| commit | 327af0fe62bb3a055e4286154e9ba6104969af24 (patch) | |
| tree | 60ece20a2867291141d1a5918859f2d5e3cb582a /MediaBrowser.Model/ApiClient | |
| parent | 72917cc0b795c8f18a7b982ef8c70da5aa8c8fa8 (diff) | |
rework media versions to be based on original item id
Diffstat (limited to 'MediaBrowser.Model/ApiClient')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IApiClient.cs | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 46d3dcc3f5..91ac67a1f7 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -538,35 +538,26 @@ namespace MediaBrowser.Model.ApiClient /// <summary> /// Reports to the server that the user has begun playing an item /// </summary> - /// <param name="itemId">The item id.</param> - /// <param name="userId">The user id.</param> - /// <param name="isSeekable">if set to <c>true</c> [is seekable].</param> - /// <param name="queueableMediaTypes">The list of media types that the client is capable of queuing onto the playlist. See MediaType class.</param> + /// <param name="info">The information.</param> /// <returns>Task{UserItemDataDto}.</returns> /// <exception cref="ArgumentNullException">itemId</exception> - Task ReportPlaybackStartAsync(string itemId, string userId, bool isSeekable, List<string> queueableMediaTypes); + Task ReportPlaybackStartAsync(PlaybackStartInfo info); /// <summary> /// Reports playback progress to the server /// </summary> - /// <param name="itemId">The item id.</param> - /// <param name="userId">The user id.</param> - /// <param name="positionTicks">The position ticks.</param> - /// <param name="isPaused">if set to <c>true</c> [is paused].</param> - /// <param name="isMuted">if set to <c>true</c> [is muted].</param> + /// <param name="info">The information.</param> /// <returns>Task{UserItemDataDto}.</returns> /// <exception cref="ArgumentNullException">itemId</exception> - Task ReportPlaybackProgressAsync(string itemId, string userId, long? positionTicks, bool isPaused, bool isMuted); + Task ReportPlaybackProgressAsync(PlaybackProgressInfo info); /// <summary> /// Reports to the server that the user has stopped playing an item /// </summary> - /// <param name="itemId">The item id.</param> - /// <param name="userId">The user id.</param> - /// <param name="positionTicks">The position ticks.</param> + /// <param name="info">The information.</param> /// <returns>Task{UserItemDataDto}.</returns> /// <exception cref="ArgumentNullException">itemId</exception> - Task ReportPlaybackStoppedAsync(string itemId, string userId, long? positionTicks); + Task ReportPlaybackStoppedAsync(PlaybackStopInfo info); /// <summary> /// Instructs antoher client to browse to a library item. |
