always update device name on requests

pull/702/head
Luke Pulverenti 12 years ago
parent 08240b86e5
commit 333935f3f6

@ -240,9 +240,9 @@ namespace MediaBrowser.Model.Configuration
MetadataRefreshDays = 30;
PreferredMetadataLanguage = "en";
MetadataCountryCode = "US";
TmdbFetchedProfileSize = "w185"; //w185 w45 h632 or original
TmdbFetchedPosterSize = "w500"; //w500, w342, w185 or original
TmdbFetchedBackdropSize = "w1280"; //w1280, w780 or original
TmdbFetchedProfileSize = "original"; //w185 w45 h632 or original
TmdbFetchedPosterSize = "original"; //w500, w342, w185 or original
TmdbFetchedBackdropSize = "original"; //w1280, w780 or original
DownloadMovieImages = new ImageDownloadOptions {Backdrops = true, Primary = true};
DownloadSeriesImages = new ImageDownloadOptions {Backdrops = true, Primary = true, Banner = true, Logo = true};
DownloadSeasonImages = new ImageDownloadOptions {Backdrops = false, Primary = true, Banner = true};

@ -324,6 +324,7 @@ namespace MediaBrowser.Server.Implementations.Library
DeviceId = deviceId
});
connection.DeviceName = deviceName;
connection.UserId = userId.ToString();
return connection;

@ -152,19 +152,14 @@
<HintPath>..\packages\SimpleInjector.2.2.1\lib\net40-client\SimpleInjector.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.WebRequest" />
<Reference Include="System.Runtime.Remoting" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>

Loading…
Cancel
Save