diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..2dba439 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,41 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/Jellyfin.Plugin.Enigma2/Jellyfin.Plugin.Enigma2.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/Jellyfin.Plugin.Enigma2/Jellyfin.Plugin.Enigma2.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "--project", + "${workspaceFolder}/Jellyfin.Plugin.Enigma2/Jellyfin.Plugin.Enigma2.csproj" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/Jellyfin.Plugin.Enigma2/Configuration/PluginConfiguration.cs b/Jellyfin.Plugin.Enigma2/Configuration/PluginConfiguration.cs index 57972b4..ecf9f50 100644 --- a/Jellyfin.Plugin.Enigma2/Configuration/PluginConfiguration.cs +++ b/Jellyfin.Plugin.Enigma2/Configuration/PluginConfiguration.cs @@ -23,6 +23,10 @@ namespace Jellyfin.Plugin.Enigma2.Configuration public string RecordingPath { get; set; } + public bool TranscodedStream { get; set; } + + public string TranscodingPort { get; set; } + public bool EnableDebugLogging { get; set; } @@ -44,6 +48,9 @@ namespace Jellyfin.Plugin.Enigma2.Configuration RecordingPath = ""; + TranscodedStream = false; + TranscodingPort = "8002"; + EnableDebugLogging = false; } } diff --git a/Jellyfin.Plugin.Enigma2/Configuration/configPage.html b/Jellyfin.Plugin.Enigma2/Configuration/configPage.html index 810208b..342d2d3 100644 --- a/Jellyfin.Plugin.Enigma2/Configuration/configPage.html +++ b/Jellyfin.Plugin.Enigma2/Configuration/configPage.html @@ -127,6 +127,22 @@ +
+ +
+ Request Transcoded Stream (h264, 720p, 1Mpbs and mp4 as default) +
+
+
+ +
+ The Transcoding port of your receiver eg. 8002 +
+
+