mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
fixes #887 - Support ttml subtitle output
This commit is contained in:
@@ -1058,10 +1058,20 @@ namespace MediaBrowser.ServerApplication
|
||||
SupportsAutoRunAtStartup = SupportsAutoRunAtStartup,
|
||||
TranscodingTempPath = ApplicationPaths.TranscodingTempPath,
|
||||
IsRunningAsService = IsRunningAsService,
|
||||
ServerName = string.IsNullOrWhiteSpace(ServerConfigurationManager.Configuration.ServerName) ? Environment.MachineName : ServerConfigurationManager.Configuration.ServerName
|
||||
ServerName = FriendlyName
|
||||
};
|
||||
}
|
||||
|
||||
public string FriendlyName
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.IsNullOrWhiteSpace(ServerConfigurationManager.Configuration.ServerName)
|
||||
? Environment.MachineName
|
||||
: ServerConfigurationManager.Configuration.ServerName;
|
||||
}
|
||||
}
|
||||
|
||||
public int HttpServerPort
|
||||
{
|
||||
get { return ServerConfigurationManager.Configuration.HttpServerPortNumber; }
|
||||
|
||||
Reference in New Issue
Block a user