Move DynamicHlsService to Jellyfin.Api

This commit is contained in:
crobibero
2020-07-31 15:09:17 -06:00
parent 2cb6eb984b
commit f645e2f884
8 changed files with 2377 additions and 17 deletions

View File

@@ -219,7 +219,7 @@ namespace Jellyfin.Api.Helpers
/// <param name="playSessionId">The play session identifier.</param>
/// <param name="deleteFiles">The delete files.</param>
/// <returns>Task.</returns>
public Task KillTranscodingJobs(string deviceId, string playSessionId, Func<string, bool> deleteFiles)
public Task KillTranscodingJobs(string deviceId, string? playSessionId, Func<string, bool> deleteFiles)
{
return KillTranscodingJobs(
j => string.IsNullOrWhiteSpace(playSessionId)
@@ -503,9 +503,9 @@ namespace Jellyfin.Api.Helpers
}
}
var process = new Process()
var process = new Process
{
StartInfo = new ProcessStartInfo()
StartInfo = new ProcessStartInfo
{
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,