diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-03-01 18:57:23 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-03-14 12:05:49 +0100 |
| commit | d8ec3a5470fe602fab356c37720d38190aa713ef (patch) | |
| tree | cd45b3a6ccd0085666d84f8b71ca7606fb94f68a /MediaBrowser.Controller/LiveTv | |
| parent | af611367c14e2d56e6346b03bda7d75ab6f04b96 (diff) | |
Reduce usage of GetAwaiter().GetResult()
Diffstat (limited to 'MediaBrowser.Controller/LiveTv')
| -rw-r--r-- | MediaBrowser.Controller/LiveTv/ILiveTvManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs index 46bdca3027..3b6a16dee3 100644 --- a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs +++ b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs @@ -97,7 +97,7 @@ namespace MediaBrowser.Controller.LiveTv /// <param name="query">The query.</param> /// <param name="options">The options.</param> /// <returns>A recording.</returns> - QueryResult<BaseItemDto> GetRecordings(RecordingQuery query, DtoOptions options); + Task<QueryResult<BaseItemDto>> GetRecordingsAsync(RecordingQuery query, DtoOptions options); /// <summary> /// Gets the timers. @@ -308,6 +308,6 @@ namespace MediaBrowser.Controller.LiveTv void AddInfoToRecordingDto(BaseItem item, BaseItemDto dto, ActiveRecordingInfo activeRecordingInfo, User user = null); - List<BaseItem> GetRecordingFolders(User user); + Task<BaseItem[]> GetRecordingFoldersAsync(User user); } } |
