diff options
| author | Andrew Rabert <ar@nullsum.net> | 2019-01-19 21:35:33 -0500 |
|---|---|---|
| committer | Andrew Rabert <ar@nullsum.net> | 2019-01-19 21:35:33 -0500 |
| commit | 8de4eb7d197af0df2a81cbf0e6249c5ff83987b1 (patch) | |
| tree | 7aedd2d70fefe19dd7ebd2b84d342afba4c5c84b /Emby.Server.Implementations | |
| parent | 8a5198e6a395ed03fb471e62687fceecdf947abf (diff) | |
Rename ApplicationSemanticVersion to ApplicationVersion
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 8 | ||||
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 4da50d707..d0b5c1597 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -429,13 +429,13 @@ namespace Emby.Server.Implementations _validAddressResults.Clear(); } - public string ApplicationSemanticVersion => typeof(ApplicationHost).Assembly.GetName().Version.ToString(3); + public string ApplicationVersion => typeof(ApplicationHost).Assembly.GetName().Version.ToString(3); /// <summary> /// Gets the current application server version /// </summary> /// <value>The application server version.</value> - public string ApplicationUserAgent => Name.Replace(' ','-') + "/" + ApplicationSemanticVersion; + public string ApplicationUserAgent => Name.Replace(' ','-') + "/" + ApplicationVersion; private string _productName; /// <summary> @@ -1814,7 +1814,7 @@ namespace Emby.Server.Implementations { HasPendingRestart = HasPendingRestart, IsShuttingDown = IsShuttingDown, - Version = ApplicationSemanticVersion, + Version = ApplicationVersion, ProductName = ApplicationProductName, WebSocketPortNumber = HttpPort, CompletedInstallations = InstallationManager.CompletedInstallations.ToArray(), @@ -1861,7 +1861,7 @@ namespace Emby.Server.Implementations var wanAddress = await GetWanApiUrl(cancellationToken).ConfigureAwait(false); return new PublicSystemInfo { - Version = ApplicationSemanticVersion, + Version = ApplicationVersion, Id = SystemId, OperatingSystem = EnvironmentInfo.OperatingSystem.ToString(), WanAddress = wanAddress, diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs index f93e7f78e..4fe031f42 100644 --- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs +++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs @@ -58,7 +58,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts Url = url, CancellationToken = cancellationToken, // Some data providers will require a user agent - UserAgent = _appHost.ApplicationSemanticVersion + UserAgent = _appHost.ApplicationVersion }); } return Task.FromResult(_fileSystem.OpenRead(url)); |
