mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix warnings in EmbyTV
This commit is contained in:
parent
25b68bc3b2
commit
232e48f5e8
@ -205,9 +205,9 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
|||||||
// var audioChannels = 2;
|
// var audioChannels = 2;
|
||||||
// var audioStream = mediaStreams.FirstOrDefault(i => i.Type == MediaStreamType.Audio);
|
// var audioStream = mediaStreams.FirstOrDefault(i => i.Type == MediaStreamType.Audio);
|
||||||
// if (audioStream != null)
|
// if (audioStream != null)
|
||||||
//{
|
// {
|
||||||
// audioChannels = audioStream.Channels ?? audioChannels;
|
// audioChannels = audioStream.Channels ?? audioChannels;
|
||||||
//}
|
// }
|
||||||
// return "-codec:a:0 aac -strict experimental -ab 320000";
|
// return "-codec:a:0 aac -strict experimental -ab 320000";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,6 +13,13 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Records the specified media source.
|
/// Records the specified media source.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="directStreamProvider">The direct stream provider, or <c>null</c>.</param>
|
||||||
|
/// <param name="mediaSource">The media source.</param>
|
||||||
|
/// <param name="targetFile">The target file.</param>
|
||||||
|
/// <param name="duration">The duration to record.</param>
|
||||||
|
/// <param name="onStarted">An action to perform when recording starts.</param>
|
||||||
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
|
/// <returns>A <see cref="Task"/> that represents the recording operation.</returns>
|
||||||
Task Record(IDirectStreamProvider? directStreamProvider, MediaSourceInfo mediaSource, string targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken);
|
Task Record(IDirectStreamProvider? directStreamProvider, MediaSourceInfo mediaSource, string targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken);
|
||||||
|
|
||||||
string GetOutputPath(MediaSourceInfo mediaSource, string targetFile);
|
string GetOutputPath(MediaSourceInfo mediaSource, string targetFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user