mirror of
https://github.com/Jellyfin2Samsung/Samsung-Jellyfin-Installer.git
synced 2026-03-01 11:21:12 +03:00
Rename to keep inline with original project, styling fix for port number
This commit is contained in:
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.14.36511.14
|
VisualStudioVersion = 17.14.36511.14
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin2SamsungCrossOS", "Jellyfin2Samsung-CrossOS\Jellyfin2SamsungCrossOS.csproj", "{0D305441-51D6-413D-8108-8C85CC0E2CF1}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin2Samsung", "Jellyfin2Samsung-CrossOS\Jellyfin2Samsung.csproj", "{0D305441-51D6-413D-8108-8C85CC0E2CF1}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|||||||
@@ -135,6 +135,7 @@ namespace Jellyfin2SamsungCrossOS.Helpers
|
|||||||
if (AppSettings.Default.ConfigUpdateMode.Contains("Server") ||
|
if (AppSettings.Default.ConfigUpdateMode.Contains("Server") ||
|
||||||
AppSettings.Default.ConfigUpdateMode.Contains("All"))
|
AppSettings.Default.ConfigUpdateMode.Contains("All"))
|
||||||
{
|
{
|
||||||
|
Debug.WriteLine(tempDir);
|
||||||
UpdateMultiServerConfig(tempDir);
|
UpdateMultiServerConfig(tempDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -346,6 +346,8 @@ namespace Jellyfin2SamsungCrossOS.Services
|
|||||||
PackageCertificate = "custom_jelly";
|
PackageCertificate = "custom_jelly";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Debug.WriteLine($"Jellyfin IP: {AppSettings.Default.JellyfinIP}");
|
||||||
|
Debug.WriteLine($"Update mode: {AppSettings.Default.ConfigUpdateMode}");
|
||||||
if (!string.IsNullOrEmpty(AppSettings.Default.JellyfinIP) && !AppSettings.Default.ConfigUpdateMode.Contains("None"))
|
if (!string.IsNullOrEmpty(AppSettings.Default.JellyfinIP) && !AppSettings.Default.ConfigUpdateMode.Contains("None"))
|
||||||
{
|
{
|
||||||
string[] userIds = [];
|
string[] userIds = [];
|
||||||
|
|||||||
@@ -70,14 +70,33 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid ColumnDefinitions="150,*" ColumnSpacing="12">
|
<Grid ColumnDefinitions="150,*" ColumnSpacing="12">
|
||||||
<TextBlock Grid.Column="0" Text="{Binding ServerIP}" Classes="label" VerticalAlignment="Center"/>
|
<TextBlock Grid.Column="0"
|
||||||
<StackPanel Grid.Column="1" Orientation="Horizontal" Spacing="6">
|
Text="{Binding ServerIP}"
|
||||||
<TextBox Text="{Binding JellyfinServerIp}" Width="200" Classes="clean"/>
|
Classes="label"
|
||||||
<TextBlock Text=":" VerticalAlignment="Center"/>
|
VerticalAlignment="Center"/>
|
||||||
<ComboBox ItemsSource="{Binding JellyfinPorts}"
|
|
||||||
SelectedItem="{Binding SelectedJellyfinPort}"
|
<Grid Grid.Column="1">
|
||||||
Width="80" Classes="clean"/>
|
<Grid.ColumnDefinitions>
|
||||||
</StackPanel>
|
<ColumnDefinition Width="*" />
|
||||||
|
<ColumnDefinition Width="Auto" />
|
||||||
|
<ColumnDefinition Width="Auto" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
|
<TextBox Grid.Column="0"
|
||||||
|
Text="{Binding JellyfinServerIp}"
|
||||||
|
Classes="clean"
|
||||||
|
HorizontalAlignment="Stretch"/>
|
||||||
|
|
||||||
|
<TextBlock Grid.Column="1"
|
||||||
|
Text=":"
|
||||||
|
VerticalAlignment="Center"/>
|
||||||
|
|
||||||
|
<AutoCompleteBox Grid.Column="2"
|
||||||
|
ItemsSource="{Binding JellyfinPorts}"
|
||||||
|
Text="{Binding SelectedJellyfinPort, Mode=TwoWay}"
|
||||||
|
Classes="clean" />
|
||||||
|
|
||||||
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid ColumnDefinitions="150,*" ColumnSpacing="12">
|
<Grid ColumnDefinitions="150,*" ColumnSpacing="12">
|
||||||
|
|||||||
Reference in New Issue
Block a user