Merge pull request #2228 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2016-10-13 11:07:57 -04:00 committed by GitHub
commit cf15c194ae
6 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,6 @@ namespace MediaBrowser.Model.LiveTv
public enum RecordingStatus public enum RecordingStatus
{ {
New, New,
Scheduled,
InProgress, InProgress,
Completed, Completed,
Cancelled, Cancelled,

View File

@ -100,7 +100,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
container.Adapter = _containerAdapter; container.Adapter = _containerAdapter;
Plugins.RemoveAll(x => x is NativeTypesFeature); Plugins.RemoveAll(x => x is NativeTypesFeature);
//Plugins.Add(new SwaggerFeature()); Plugins.Add(new SwaggerFeature());
Plugins.Add(new CorsFeature(allowedHeaders: "Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization")); Plugins.Add(new CorsFeature(allowedHeaders: "Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization"));
//Plugins.Add(new AuthFeature(() => new AuthUserSession(), new IAuthProvider[] { //Plugins.Add(new AuthFeature(() => new AuthUserSession(), new IAuthProvider[] {

View File

@ -761,6 +761,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
{ {
defaults.SeriesId = program.SeriesId; defaults.SeriesId = program.SeriesId;
defaults.ProgramId = program.Id; defaults.ProgramId = program.Id;
defaults.RecordNewOnly = !program.IsRepeat;
} }
defaults.SkipEpisodesInLibrary = true; defaults.SkipEpisodesInLibrary = true;

View File

@ -112,8 +112,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.TunerHosts
} }
channel.ImageUrl = FindProperty("tvg-logo", extInf, null); channel.ImageUrl = FindProperty("tvg-logo", extInf, null);
channel.Number = FindProperty("tvg-id", extInf, channel.Number);
channel.Number = FindProperty("channel-id", extInf, channel.Number); channel.Number = FindProperty("channel-id", extInf, channel.Number);
channel.Number = FindProperty("tvg-id", extInf, channel.Number);
channel.Name = FindProperty("tvg-name", extInf, channel.Name); channel.Name = FindProperty("tvg-name", extInf, channel.Name);
channel.Name = FindProperty("tvg-id", extInf, channel.Name); channel.Name = FindProperty("tvg-id", extInf, channel.Name);
return channel; return channel;

View File

@ -35,7 +35,7 @@
<UseRefCounting>false</UseRefCounting> <UseRefCounting>false</UseRefCounting>
<Profiling>false</Profiling> <Profiling>false</Profiling>
<HttpClientHandler>HttpClientHandler</HttpClientHandler> <HttpClientHandler>HttpClientHandler</HttpClientHandler>
<TlsProvider>Legacy</TlsProvider> <TlsProvider>Default</TlsProvider>
<LinkMode>None</LinkMode> <LinkMode>None</LinkMode>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>

View File

@ -1306,7 +1306,7 @@ namespace MediaBrowser.Server.Startup.Common
EncoderLocationType = MediaEncoder.EncoderLocationType, EncoderLocationType = MediaEncoder.EncoderLocationType,
SystemArchitecture = NativeApp.Environment.SystemArchitecture, SystemArchitecture = NativeApp.Environment.SystemArchitecture,
SystemUpdateLevel = ConfigurationManager.CommonConfiguration.SystemUpdateLevel, SystemUpdateLevel = ConfigurationManager.CommonConfiguration.SystemUpdateLevel,
PackageName = _startupOptions.GetOption("package") PackageName = _startupOptions.GetOption("-package")
}; };
} }