From 2a499aaa9513c7d7b768dbf95756dfb4f8109a45 Mon Sep 17 00:00:00 2001 From: Thomas Jones Date: Sat, 20 Sep 2025 23:31:58 -0600 Subject: [PATCH 1/2] Fix CA1051 warnings in EncodingJobInfo.cs Convert public fields to auto-properties and fix member ordering Co-authored-by: Derpipose <90276123+Derpipose@users.noreply.github.com> --- MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs index ef912f42c3..43680f5c01 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs @@ -23,9 +23,6 @@ namespace MediaBrowser.Controller.MediaEncoding { private static readonly char[] _separators = ['|', ',']; - public int? OutputAudioBitrate; - public int? OutputAudioChannels; - private TranscodeReason? _transcodeReasons = null; public EncodingJobInfo(TranscodingJobType jobType) @@ -37,6 +34,10 @@ namespace MediaBrowser.Controller.MediaEncoding SupportedSubtitleCodecs = Array.Empty(); } + public int? OutputAudioBitrate { get; set; } + + public int? OutputAudioChannels { get; set; } + public TranscodeReason TranscodeReasons { get From 58f9bdcf5c4b17c06fd8857c6067c696f7c5d852 Mon Sep 17 00:00:00 2001 From: Thomas Jones Date: Sat, 20 Sep 2025 23:58:49 -0600 Subject: [PATCH 2/2] Added ourselves to CONTRIBUTORS.md Co-authored-by: Derpipose <90276123+Derpipose@users.noreply.github.com> --- CONTRIBUTORS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 66ef2a07ed..0a4114478f 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -31,6 +31,7 @@ - [DaveChild](https://github.com/DaveChild) - [DavidFair](https://github.com/DavidFair) - [Delgan](https://github.com/Delgan) + - [Derpipose](https://github.com/Derpipose) - [dcrdev](https://github.com/dcrdev) - [dhartung](https://github.com/dhartung) - [dinki](https://github.com/dinki) @@ -140,6 +141,7 @@ - [ThibaultNocchi](https://github.com/ThibaultNocchi) - [thornbill](https://github.com/thornbill) - [ThreeFive-O](https://github.com/ThreeFive-O) + - [tjwalkr3](https://github.com/tjwalkr3) - [TrisMcC](https://github.com/TrisMcC) - [trumblejoe](https://github.com/trumblejoe) - [TtheCreator](https://github.com/TtheCreator)