From 95370f6e4dae2f39cdbb81540e5b27e9c0ca2175 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 05:51:24 +0000 Subject: [PATCH 01/14] Bump xunit.runner.visualstudio from 2.8.1 to 2.8.2 Bumps xunit.runner.visualstudio from 2.8.1 to 2.8.2. --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PlexCleanerTests/PlexCleanerTests.csproj | 54 ++++++++++++------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/PlexCleanerTests/PlexCleanerTests.csproj b/PlexCleanerTests/PlexCleanerTests.csproj index c7ff2d4c..12a2efb2 100644 --- a/PlexCleanerTests/PlexCleanerTests.csproj +++ b/PlexCleanerTests/PlexCleanerTests.csproj @@ -1,27 +1,27 @@ - - - - net8.0 - enable - true - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + true + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + From 20d65609b00a164da2e3f43cfc70c811707b92b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 05:52:25 +0000 Subject: [PATCH 02/14] Bump xunit from 2.8.1 to 2.9.0 Bumps xunit from 2.8.1 to 2.9.0. --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- PlexCleanerTests/PlexCleanerTests.csproj | 54 ++++++++++++------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/PlexCleanerTests/PlexCleanerTests.csproj b/PlexCleanerTests/PlexCleanerTests.csproj index c7ff2d4c..14a69512 100644 --- a/PlexCleanerTests/PlexCleanerTests.csproj +++ b/PlexCleanerTests/PlexCleanerTests.csproj @@ -1,27 +1,27 @@ - - - - net8.0 - enable - true - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + true + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + From 56a82b2292dde608c232f871c549ec623a2e9a8a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 20:51:06 +0000 Subject: [PATCH 03/14] Bump InsaneGenius.Utilities from 3.1.53 to 3.1.66 Bumps InsaneGenius.Utilities from 3.1.53 to 3.1.66. --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 116 ++++++++++++++++----------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 50203fef..d6124ff3 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -1,58 +1,58 @@ - - - - Exe - net8.0 - Mario.ico - PlexCleaner.Program - PlexCleaner - PlexCleaner - Pieter Viljoen - Pieter Viljoen - Pieter Viljoen - Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. - https://github.com/ptr727/PlexCleaner - MIT - https://github.com/ptr727/PlexCleaner - en - 1.1.1 - 1.1.1.1 - 1.1.1.0 - InsaneGenius.PlexCleaner - true - true - true - snupkg - true - latest - Linux - README.md - true - true - - - - - True - \ - - - - - - - - - - - - - - - - - - - - - + + + + Exe + net8.0 + Mario.ico + PlexCleaner.Program + PlexCleaner + PlexCleaner + Pieter Viljoen + Pieter Viljoen + Pieter Viljoen + Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. + https://github.com/ptr727/PlexCleaner + MIT + https://github.com/ptr727/PlexCleaner + en + 1.1.1 + 1.1.1.1 + 1.1.1.0 + InsaneGenius.PlexCleaner + true + true + true + snupkg + true + latest + Linux + README.md + true + true + + + + + True + \ + + + + + + + + + + + + + + + + + + + + + From e17dda23c15c996ffee92efb714f8a5ae8e802ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 05:16:00 +0000 Subject: [PATCH 04/14] Bump InsaneGenius.Utilities from 3.1.66 to 3.1.68 Bumps InsaneGenius.Utilities from 3.1.66 to 3.1.68. --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index d6124ff3..6e00dd75 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -39,7 +39,7 @@ - + From 4589f3a64f41c0d583bfc90c469b4f57b621798b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 05:45:49 +0000 Subject: [PATCH 05/14] Bump Serilog from 4.0.0 to 4.0.1 Bumps [Serilog](https://github.com/serilog/serilog) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/serilog/serilog/releases) - [Commits](https://github.com/serilog/serilog/compare/v4.0.0...v4.0.1) --- updated-dependencies: - dependency-name: Serilog dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 6e00dd75..db71808d 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -42,7 +42,7 @@ - + From 6a60c21f83428958ff662d8eb8eaa4d366f334c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 05:46:23 +0000 Subject: [PATCH 06/14] Bump JsonSchema.Net.Generation from 4.3.0.2 to 4.4.0 Bumps [JsonSchema.Net.Generation](https://github.com/json-everything/json-everything) from 4.3.0.2 to 4.4.0. - [Commits](https://github.com/json-everything/json-everything/commits) --- updated-dependencies: - dependency-name: JsonSchema.Net.Generation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- Sandbox/Sandbox.csproj | 38 +++++++++++++++++----------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 6e00dd75..29493148 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -40,7 +40,7 @@ - + diff --git a/Sandbox/Sandbox.csproj b/Sandbox/Sandbox.csproj index ceb6f628..227328cf 100644 --- a/Sandbox/Sandbox.csproj +++ b/Sandbox/Sandbox.csproj @@ -1,19 +1,19 @@ - - - - Exe - net8.0 - enable - enable - - - - - - - - - - - - + + + + Exe + net8.0 + enable + enable + + + + + + + + + + + + From a58edb610636b462e4c26e754c164eb359772897 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 05:06:46 +0000 Subject: [PATCH 07/14] Bump InsaneGenius.Utilities from 3.1.68 to 3.1.72 Bumps [InsaneGenius.Utilities](https://github.com/ptr727/Utilities) from 3.1.68 to 3.1.72. - [Release notes](https://github.com/ptr727/Utilities/releases) - [Commits](https://github.com/ptr727/Utilities/compare/3.1.68...3.1.72) --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 51d71b2c..37c2f4ab 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -39,7 +39,7 @@ - + From 2abba1c4651cb610ec708bfffe26f8d686538a15 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 05:14:54 +0000 Subject: [PATCH 08/14] Bump JsonSchema.Net.Generation from 4.4.0 to 4.5.0 Bumps [JsonSchema.Net.Generation](https://github.com/json-everything/json-everything) from 4.4.0 to 4.5.0. - [Commits](https://github.com/json-everything/json-everything/commits) --- updated-dependencies: - dependency-name: JsonSchema.Net.Generation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- Sandbox/Sandbox.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 37c2f4ab..ade09da1 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -40,7 +40,7 @@ - + diff --git a/Sandbox/Sandbox.csproj b/Sandbox/Sandbox.csproj index 227328cf..9c36ba58 100644 --- a/Sandbox/Sandbox.csproj +++ b/Sandbox/Sandbox.csproj @@ -8,7 +8,7 @@ - + From fc054bae1bfdaa710b49c13e9d990ec8d3c2c080 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Fri, 26 Jul 2024 13:04:28 -0700 Subject: [PATCH 09/14] Dependabot groups --- .github/dependabot.yml | 23 ++++- .github/workflows/BuildGitHubRelease.yml | 1 - PlexCleaner.code-workspace | 9 +- PlexCleaner/PlexCleaner.csproj | 116 +++++++++++------------ PlexCleanerTests/PlexCleanerTests.csproj | 54 +++++------ Sandbox/Sandbox.csproj | 38 ++++---- 6 files changed, 131 insertions(+), 110 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0ee102cc..52d88f0d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,23 +4,40 @@ updates: # main - package-ecosystem: "nuget" - directory: "/" target-branch: "main" + directory: "/" schedule: interval: "daily" + groups: + nuget-deps: + patterns: + - "*" - package-ecosystem: "github-actions" + target-branch: "main" directory: "/" schedule: interval: "daily" + groups: + actions-deps: + patterns: + - "*" # develop - package-ecosystem: "nuget" - directory: "/" target-branch: "develop" + directory: "/" schedule: interval: "daily" + groups: + nuget-deps: + patterns: + - "*" - package-ecosystem: "github-actions" - directory: "/" target-branch: "develop" + directory: "/" schedule: interval: "daily" + groups: + actions-deps: + patterns: + - "*" diff --git a/.github/workflows/BuildGitHubRelease.yml b/.github/workflows/BuildGitHubRelease.yml index 5ca9d1e0..9a6c115f 100644 --- a/.github/workflows/BuildGitHubRelease.yml +++ b/.github/workflows/BuildGitHubRelease.yml @@ -104,7 +104,6 @@ jobs: # https://github.com/marketplace/actions/upload-a-build-artifact - name: Upload build artifacts - # Skip pull requests if: ${{ github.event_name != 'pull_request' }} uses: actions/upload-artifact@v4 with: diff --git a/PlexCleaner.code-workspace b/PlexCleaner.code-workspace index 047d63a9..eb197beb 100644 --- a/PlexCleaner.code-workspace +++ b/PlexCleaner.code-workspace @@ -21,7 +21,9 @@ "commandline", "createschema", "createsidecar", + "csdevkit", "cuda", + "davidanson", "decomb", "defaultsettings", "deint", @@ -29,6 +31,7 @@ "deinterlaced", "deinterlacing", "devel", + "dotnettools", "dvhe", "EBML", "Emby", @@ -45,6 +48,7 @@ "gettoolinfo", "getversioninfo", "getxxxinfo", + "gruntfuggly", "Gyan", "hdmv", "hwaccel", @@ -135,13 +139,14 @@ }, "[plaintext]": { "files.trimTrailingWhitespace": false - } + }, + "diffEditor.ignoreTrimWhitespace": false, + "editor.renderWhitespace": "trailing" }, "extensions": { "recommendations": [ "davidanson.vscode-markdownlint", "gruntfuggly.todo-tree", - "ms-dotnettools.csharp", "ms-dotnettools.csdevkit", "streetsidesoftware.code-spell-checker" ] diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index ade09da1..adde3ebe 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -1,58 +1,58 @@ - - - - Exe - net8.0 - Mario.ico - PlexCleaner.Program - PlexCleaner - PlexCleaner - Pieter Viljoen - Pieter Viljoen - Pieter Viljoen - Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. - https://github.com/ptr727/PlexCleaner - MIT - https://github.com/ptr727/PlexCleaner - en - 1.1.1 - 1.1.1.1 - 1.1.1.0 - InsaneGenius.PlexCleaner - true - true - true - snupkg - true - latest - Linux - README.md - true - true - - - - - True - \ - - - - - - - - - - - - - - - - - - - - - + + + + Exe + net8.0 + Mario.ico + PlexCleaner.Program + PlexCleaner + PlexCleaner + Pieter Viljoen + Pieter Viljoen + Pieter Viljoen + Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. + https://github.com/ptr727/PlexCleaner + MIT + https://github.com/ptr727/PlexCleaner + en + 1.1.1 + 1.1.1.1 + 1.1.1.0 + InsaneGenius.PlexCleaner + true + true + true + snupkg + true + latest + Linux + README.md + true + true + + + + + True + \ + + + + + + + + + + + + + + + + + + + + + diff --git a/PlexCleanerTests/PlexCleanerTests.csproj b/PlexCleanerTests/PlexCleanerTests.csproj index d627f2fa..9df9a4f3 100644 --- a/PlexCleanerTests/PlexCleanerTests.csproj +++ b/PlexCleanerTests/PlexCleanerTests.csproj @@ -1,27 +1,27 @@ - - - - net8.0 - enable - true - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + true + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/Sandbox/Sandbox.csproj b/Sandbox/Sandbox.csproj index 9c36ba58..37cac7b8 100644 --- a/Sandbox/Sandbox.csproj +++ b/Sandbox/Sandbox.csproj @@ -1,19 +1,19 @@ - - - - Exe - net8.0 - enable - enable - - - - - - - - - - - - + + + + Exe + net8.0 + enable + enable + + + + + + + + + + + + From ef0925b6a41bc845d5f3289f9911db85c5744c10 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Fri, 26 Jul 2024 13:30:55 -0700 Subject: [PATCH 10/14] Settings --- PlexCleaner.code-workspace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexCleaner.code-workspace b/PlexCleaner.code-workspace index eb197beb..84896549 100644 --- a/PlexCleaner.code-workspace +++ b/PlexCleaner.code-workspace @@ -141,7 +141,7 @@ "files.trimTrailingWhitespace": false }, "diffEditor.ignoreTrimWhitespace": false, - "editor.renderWhitespace": "trailing" + "editor.renderWhitespace": "boundary" }, "extensions": { "recommendations": [ From f93f0c469b2bbd400d22d47ad8df26ea35ac68f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 20:38:08 +0000 Subject: [PATCH 11/14] Bump InsaneGenius.Utilities in the nuget-deps group Bumps the nuget-deps group with 1 update: [InsaneGenius.Utilities](https://github.com/ptr727/Utilities). Updates `InsaneGenius.Utilities` from 3.1.72 to 3.1.73 - [Release notes](https://github.com/ptr727/Utilities/releases) - [Commits](https://github.com/ptr727/Utilities/compare/3.1.72...3.1.73) --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-deps ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 116 ++++++++++++++++----------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index adde3ebe..08d61870 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -1,58 +1,58 @@ - - - - Exe - net8.0 - Mario.ico - PlexCleaner.Program - PlexCleaner - PlexCleaner - Pieter Viljoen - Pieter Viljoen - Pieter Viljoen - Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. - https://github.com/ptr727/PlexCleaner - MIT - https://github.com/ptr727/PlexCleaner - en - 1.1.1 - 1.1.1.1 - 1.1.1.0 - InsaneGenius.PlexCleaner - true - true - true - snupkg - true - latest - Linux - README.md - true - true - - - - - True - \ - - - - - - - - - - - - - - - - - - - - - + + + + Exe + net8.0 + Mario.ico + PlexCleaner.Program + PlexCleaner + PlexCleaner + Pieter Viljoen + Pieter Viljoen + Pieter Viljoen + Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. + https://github.com/ptr727/PlexCleaner + MIT + https://github.com/ptr727/PlexCleaner + en + 1.1.1 + 1.1.1.1 + 1.1.1.0 + InsaneGenius.PlexCleaner + true + true + true + snupkg + true + latest + Linux + README.md + true + true + + + + + True + \ + + + + + + + + + + + + + + + + + + + + + From 1bc0ab4faaa098c7d9ee808feaf5abe044bbf52e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 05:51:16 +0000 Subject: [PATCH 12/14] Bump InsaneGenius.Utilities in the nuget-deps group Bumps the nuget-deps group with 1 update: [InsaneGenius.Utilities](https://github.com/ptr727/Utilities). Updates `InsaneGenius.Utilities` from 3.1.73 to 3.1.75 - [Release notes](https://github.com/ptr727/Utilities/releases) - [Commits](https://github.com/ptr727/Utilities/compare/3.1.73...3.1.75) --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-deps ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index 08d61870..bf3792e0 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -39,7 +39,7 @@ - + From d4ce561526fe200de6d7e6b69b953f10388e19c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 05:39:06 +0000 Subject: [PATCH 13/14] Bump the nuget-deps group with 2 updates Bumps the nuget-deps group with 2 updates: [InsaneGenius.Utilities](https://github.com/ptr727/Utilities) and [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest). Updates `InsaneGenius.Utilities` from 3.1.75 to 3.1.78 - [Release notes](https://github.com/ptr727/Utilities/releases) - [Commits](https://github.com/ptr727/Utilities/compare/3.1.75...3.1.78) Updates `Microsoft.NET.Test.Sdk` from 17.10.0 to 17.11.0 - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.10.0...v17.11.0) --- updated-dependencies: - dependency-name: InsaneGenius.Utilities dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-deps - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-deps ... Signed-off-by: dependabot[bot] --- PlexCleaner/PlexCleaner.csproj | 2 +- PlexCleanerTests/PlexCleanerTests.csproj | 54 ++++++++++++------------ 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index bf3792e0..fd7cc0a9 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -39,7 +39,7 @@ - + diff --git a/PlexCleanerTests/PlexCleanerTests.csproj b/PlexCleanerTests/PlexCleanerTests.csproj index 9df9a4f3..53c18dea 100644 --- a/PlexCleanerTests/PlexCleanerTests.csproj +++ b/PlexCleanerTests/PlexCleanerTests.csproj @@ -1,27 +1,27 @@ - - - - net8.0 - enable - true - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + true + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + From ee9579f29762bb3a121b7edd3d9f34e47952dc05 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Thu, 29 Aug 2024 10:33:34 -0700 Subject: [PATCH 14/14] Add docker compose example --- PlexCleaner/PlexCleaner.csproj | 116 +++++++++++------------ PlexCleanerTests/PlexCleanerTests.csproj | 54 +++++------ README.md | 34 ++++++- 3 files changed, 114 insertions(+), 90 deletions(-) diff --git a/PlexCleaner/PlexCleaner.csproj b/PlexCleaner/PlexCleaner.csproj index fd7cc0a9..fedffd3c 100644 --- a/PlexCleaner/PlexCleaner.csproj +++ b/PlexCleaner/PlexCleaner.csproj @@ -1,58 +1,58 @@ - - - - Exe - net8.0 - Mario.ico - PlexCleaner.Program - PlexCleaner - PlexCleaner - Pieter Viljoen - Pieter Viljoen - Pieter Viljoen - Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. - https://github.com/ptr727/PlexCleaner - MIT - https://github.com/ptr727/PlexCleaner - en - 1.1.1 - 1.1.1.1 - 1.1.1.0 - InsaneGenius.PlexCleaner - true - true - true - snupkg - true - latest - Linux - README.md - true - true - - - - - True - \ - - - - - - - - - - - - - - - - - - - - - + + + + Exe + net8.0 + Mario.ico + PlexCleaner.Program + PlexCleaner + PlexCleaner + Pieter Viljoen + Pieter Viljoen + Pieter Viljoen + Utility to optimize media files for Direct Play in Plex, Emby, Jellyfin. + https://github.com/ptr727/PlexCleaner + MIT + https://github.com/ptr727/PlexCleaner + en + 1.1.1 + 1.1.1.1 + 1.1.1.0 + InsaneGenius.PlexCleaner + true + true + true + snupkg + true + latest + Linux + README.md + true + true + + + + + True + \ + + + + + + + + + + + + + + + + + + + + + diff --git a/PlexCleanerTests/PlexCleanerTests.csproj b/PlexCleanerTests/PlexCleanerTests.csproj index 53c18dea..5c2aa076 100644 --- a/PlexCleanerTests/PlexCleanerTests.csproj +++ b/PlexCleanerTests/PlexCleanerTests.csproj @@ -1,27 +1,27 @@ - - - - net8.0 - enable - true - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - + + + + net8.0 + enable + true + false + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + diff --git a/README.md b/README.md index a982df7f..0da0196a 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Alternatively, install directly on [Windows](#windows), [Linux](#linux), or [Mac Example, run in an interactive shell: -```console +```bash # The host "/data/media" directory is mapped to the container "/media" directory # Replace the volume mappings to suit your needs @@ -165,9 +165,9 @@ docker run \ exit ``` -Example, run in a screen session: +Example, run `monitor` command in a screen session: -```console +```bash # Start a new screen session screen # Or attach to the existing screen session @@ -194,9 +194,9 @@ docker run \ --mediafiles /media/Series ``` -Example, run as a command: +Example, run `process` command: -```console +```bash # Run the process command docker run \ --rm \ @@ -215,6 +215,30 @@ docker run \ --mediafiles /media/Series ``` +Example, run `monitor` command as a docker compose stack: + +```yaml +services: + + plexcleaner: + image: docker.io/ptr727/plexcleaner:latest + container_name: PlexCleaner + restart: unless-stopped + user: nonroot:users + command: + - /PlexCleaner/PlexCleaner + - monitor + - --settingsfile=/media/PlexCleaner/PlexCleaner.json + - --logfile=/media/PlexCleaner/PlexCleaner.log + - --preprocess + - --mediafiles=/media/Series + - --mediafiles=/media/Movies + environment: + - TZ=America/Los_Angeles + volumes: + - /data/media:/media +``` + ### Windows - Install the [.NET Runtime](https://docs.microsoft.com/en-us/dotnet/core/install/windows).