@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Do not allow deleting ffmpeg profiles that are used by channels
@ -31,7 +25,7 @@ public class DeleteFFmpegProfileHandler : IRequestHandler<DeleteFFmpegProfile, E
@@ -31,7 +25,7 @@ public class DeleteFFmpegProfileHandler : IRequestHandler<DeleteFFmpegProfile, E
{
dbContext.FFmpegProfiles.Remove(ffmpegProfile);
awaitdbContext.SaveChangesAsync();
_searchTargets.SearchTargetsChanged();
searchTargets.SearchTargetsChanged();
returnUnit.Default;
}
@ -42,4 +36,22 @@ public class DeleteFFmpegProfileHandler : IRequestHandler<DeleteFFmpegProfile, E
@@ -42,4 +36,22 @@ public class DeleteFFmpegProfileHandler : IRequestHandler<DeleteFFmpegProfile, E