Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/d9bdfb9daa9d825f9c7bfc4a165329bfa7ad1069
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
14 additions and
22 deletions
@ -1027,7 +1027,7 @@ namespace MediaBrowser.Server.Implementations.Connect
{
var user = e . Argument ;
//await TryUploadUserPreferences(user, CancellationToken.None).ConfigureAwait(false) ;
await TryUploadUserPreferences ( user , CancellationToken . None ) . ConfigureAwait ( false ) ;
}
private async Task TryUploadUserPreferences ( User user , CancellationToken cancellationToken )
@ -1046,9 +1046,6 @@ namespace MediaBrowser.Server.Implementations.Connect
return ;
}
var obj = ConnectUserPreferences . FromUserConfiguration ( user . Configuration ) ;
var json = _json . SerializeToString ( new UserPreferencesDto < ConnectUserPreferences > { data = obj } ) ;
var url = GetConnectUrl ( "user/preferences" ) ;
url + = "?userId=" + user . ConnectUserId ;
url + = "&key=userpreferences" ;
@ -1056,11 +1053,13 @@ namespace MediaBrowser.Server.Implementations.Connect
var options = new HttpRequestOptions
{
Url = url ,
CancellationToken = cancellationToken ,
RequestContent = json ,
RequestContentType = "application/json"
CancellationToken = cancellationToken
} ;
var postData = new Dictionary < string , string > ( ) ;
postData [ "data" ] = _json . SerializeToString ( ConnectUserPreferences . FromUserConfiguration ( user . Configuration ) ) ;
options . SetPostData ( postData ) ;
SetServerAccessToken ( options ) ;
try
@ -62,7 +62,7 @@
<Reference Include= "System" />
<Reference Include= "System.Core" />
<Reference Include= "System.Data.SQLite" >
<HintPath > ..\packages\System.Data.SQLite.Core.MSIL.1.0.94.0\lib\net45 \System.Data.SQLite.dll</HintPath>
<HintPath > ..\ThirdParty\System.Data.SQLite.ManagedOnly\1.0.94.0 \System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include= "System.Drawing" />
<Reference Include= "Microsoft.CSharp" />
@ -1,10 +1,10 @@
using MediaBrowser.Model.Logging ;
using MediaBrowser.Model.Serialization ;
using System ;
using System.Data ;
using System.Data.SQLite ;
using System.IO ;
using System.Threading.Tasks ;
using MediaBrowser.Model.Serialization ;
namespace MediaBrowser.Server.Implementations.Persistence
{
@ -135,7 +135,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
throw new ArgumentNullException ( "dbPath" ) ;
}
logger . Info ( " Opening {0}" , dbPath ) ;
logger . Info ( " Sqlite {0} opening {1}", SQLiteConnection . SQLiteVersion , dbPath ) ;
var connectionstr = new SQLiteConnectionStringBuilder
{
@ -2,5 +2,4 @@
<packages>
<package id="Mono.Nat" version="1.2.21.0" targetFramework="net45" />
<package id="morelinq" version="1.0.16006" targetFramework="net45" />
<package id="System.Data.SQLite.Core.MSIL" version="1.0.94.0" targetFramework="net45" />
</packages>
@ -31,8 +31,9 @@
<OutputPath > bin\Release</OutputPath>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
<PlatformTarget > x86 </PlatformTarget>
<PlatformTarget > AnyCPU </PlatformTarget>
<Externalconsole > true</Externalconsole>
<Prefer32Bit > false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<Optimize > false</Optimize>
@ -44,6 +45,9 @@
<OutputPath > bin\Release Mono</OutputPath>
<WarningLevel > 4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Release Mono|x86'" >
<Prefer32Bit > false</Prefer32Bit>
</PropertyGroup>
<ItemGroup >
<Reference Include= "Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
@ -141,16 +145,6 @@
<Name > MediaBrowser.XbmcMetadata</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<Content Include= "..\ThirdParty\System.Data.SQLite.ManagedOnly\x86\1.0.90.0\net40\System.Data.SQLite.dll" >
<Link > System.Data.SQLite.dll</Link>
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
<Content Include= "..\ThirdParty\System.Data.SQLite.ManagedOnly\x86\1.0.90.0\net40\System.Data.SQLite.Linq.dll" >
<Link > System.Data.SQLite.Linq.dll</Link>
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup >
<None Include= "..\ThirdParty\libwebp\linux\x86\libwebp.so" >
<Link > libwebp\linux\lib\libwebp.so</Link>