mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
disable nuget package restore
This commit is contained in:
@@ -30,7 +30,32 @@ namespace MediaBrowser.Model.ApiClient
|
||||
|
||||
if (index != -1)
|
||||
{
|
||||
list[index] = server;
|
||||
var existing = list[index];
|
||||
|
||||
// Merge the data
|
||||
existing.DateLastAccessed = new[] { existing.DateLastAccessed, server.DateLastAccessed }.Max();
|
||||
|
||||
if (!string.IsNullOrEmpty(server.AccessToken))
|
||||
{
|
||||
existing.AccessToken = server.AccessToken;
|
||||
existing.UserId = server.UserId;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(server.RemoteAddress))
|
||||
{
|
||||
existing.RemoteAddress = server.RemoteAddress;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(server.LocalAddress))
|
||||
{
|
||||
existing.LocalAddress = server.LocalAddress;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(server.Name))
|
||||
{
|
||||
existing.Name = server.Name;
|
||||
}
|
||||
if (server.WakeOnLanInfos != null && server.WakeOnLanInfos.Count > 0)
|
||||
{
|
||||
existing.WakeOnLanInfos = server.WakeOnLanInfos.ToList();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -231,7 +231,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
"Roku",
|
||||
"Chromecast",
|
||||
"iOS",
|
||||
"Android",
|
||||
"Windows Phone"
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Connect
|
||||
{
|
||||
public class ConnectAuthenticationExchangeResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the local user identifier.
|
||||
/// </summary>
|
||||
/// <value>The local user identifier.</value>
|
||||
public string LocalUserId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the access token.
|
||||
/// </summary>
|
||||
/// <value>The access token.</value>
|
||||
public string AccessToken { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@
|
||||
<AssemblyName>MediaBrowser.Model</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
<FodyPath>..\packages\Fody.1.19.1.0</FodyPath>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
@@ -98,6 +97,7 @@
|
||||
<Compile Include="Configuration\PeopleMetadataOptions.cs" />
|
||||
<Compile Include="Configuration\XbmcMetadataOptions.cs" />
|
||||
<Compile Include="Configuration\SubtitlePlaybackMode.cs" />
|
||||
<Compile Include="Connect\ConnectAuthenticationExchangeResult.cs" />
|
||||
<Compile Include="Connect\ConnectAuthenticationResult.cs" />
|
||||
<Compile Include="Connect\ConnectAuthorization.cs" />
|
||||
<Compile Include="Connect\ConnectUser.cs" />
|
||||
@@ -424,7 +424,6 @@
|
||||
xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\net45\" /y /d /r /i
|
||||
)</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" />
|
||||
<Import Project="Fody.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
Reference in New Issue
Block a user