mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 18:50:26 +00:00
add methods to get quality options
This commit is contained in:
@@ -90,13 +90,6 @@ namespace MediaBrowser.Controller.Sync
|
||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
|
||||
bool SupportsSync(BaseItem item);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the device profile.
|
||||
/// </summary>
|
||||
/// <param name="targetId">The target identifier.</param>
|
||||
/// <returns>DeviceProfile.</returns>
|
||||
DeviceProfile GetDeviceProfile(string targetId);
|
||||
|
||||
/// <summary>
|
||||
/// Reports the synchronize job item transferred.
|
||||
/// </summary>
|
||||
@@ -153,21 +146,6 @@ namespace MediaBrowser.Controller.Sync
|
||||
/// <returns>QueryResult<System.String>.</returns>
|
||||
QueryResult<string> GetLibraryItemIds(SyncJobItemQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the audio options.
|
||||
/// </summary>
|
||||
/// <param name="jobItem">The job item.</param>
|
||||
/// <returns>AudioOptions.</returns>
|
||||
AudioOptions GetAudioOptions(SyncJobItem jobItem);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the video options.
|
||||
/// </summary>
|
||||
/// <param name="jobItem">The job item.</param>
|
||||
/// <param name="job">The job.</param>
|
||||
/// <returns>VideoOptions.</returns>
|
||||
VideoOptions GetVideoOptions(SyncJobItem jobItem, SyncJob job);
|
||||
|
||||
/// <summary>
|
||||
/// Reports the synchronize job item transfer beginning.
|
||||
/// </summary>
|
||||
@@ -181,5 +159,12 @@ namespace MediaBrowser.Controller.Sync
|
||||
/// <param name="id">The identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task ReportSyncJobItemTransferFailed(string id);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the quality options.
|
||||
/// </summary>
|
||||
/// <param name="targetId">The target identifier.</param>
|
||||
/// <returns>IEnumerable<SyncQualityOption>.</returns>
|
||||
IEnumerable<SyncQualityOption> GetQualityOptions(string targetId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user