diff options
author | sr55 <[email protected]> | 2014-03-16 19:48:02 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-03-16 19:48:02 +0000 |
commit | d6b1b9c0b12f4142357988f8eaffb3005ca81331 (patch) | |
tree | 82d33c7abc900904c9552e3cc299127917937cd8 /win/CS/HandBrakeWPF | |
parent | eb6e020a90911b79ec8708a15b7d5c0fbc8d2576 (diff) |
WinGui: Fix an issue with the preview scan count not being set correctly for libhb encode path.
Added Nightly appcast update checking functionality back in.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6117 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Constants.cs | 12 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/UpdateService.cs | 10 |
2 files changed, 20 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Constants.cs b/win/CS/HandBrakeWPF/Constants.cs index 36732611d..174db62ad 100644 --- a/win/CS/HandBrakeWPF/Constants.cs +++ b/win/CS/HandBrakeWPF/Constants.cs @@ -25,6 +25,18 @@ namespace HandBrakeWPF public const string Appcast32 = "http://handbrake.fr/appcast.i386.xml";
/// <summary>
+ /// The appcast 32.
+ /// </summary>
+ public const string AppcastUnstable32 = "http://handbrake.fr/appcast_unstable.i386.xml";
+
+
+ /// <summary>
+ /// The appcast 32.
+ /// </summary>
+ public const string AppcastUnstable64 = "http://handbrake.fr/appcast_unstable.x86_64.xml";
+
+
+ /// <summary>
/// The any.
/// </summary>
public const string Any = "(Any)";
diff --git a/win/CS/HandBrakeWPF/Services/UpdateService.cs b/win/CS/HandBrakeWPF/Services/UpdateService.cs index 41135743b..db94b56b0 100644 --- a/win/CS/HandBrakeWPF/Services/UpdateService.cs +++ b/win/CS/HandBrakeWPF/Services/UpdateService.cs @@ -14,8 +14,6 @@ namespace HandBrakeWPF.Services using System.Net;
using System.Threading;
- using HandBrake.ApplicationServices;
- using HandBrake.ApplicationServices.Services.Interfaces;
using HandBrake.ApplicationServices.Utilities;
using HandBrakeWPF.Model;
@@ -91,6 +89,14 @@ namespace HandBrakeWPF.Services ? Constants.Appcast64
: Constants.Appcast32;
+ if (VersionHelper.IsNightly())
+ {
+ url =
+ VersionHelper.Is64Bit()
+ ? Constants.AppcastUnstable64
+ : Constants.AppcastUnstable32;
+ }
+
var currentBuild =
this.userSettingService.GetUserSetting<int>(UserSettingConstants.HandBrakeBuild);
var skipBuild = this.userSettingService.GetUserSetting<int>(
|