Browse Source

use fonts cache folder for subtitle graphics elements (#2651)

pull/2652/head
Jason Dove 1 month ago committed by GitHub
parent
commit
505e135482
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs

2
ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs

@ -85,7 +85,7 @@ public class SubtitleElement( @@ -85,7 +85,7 @@ public class SubtitleElement(
await File.WriteAllTextAsync(subtitleTemplateFile, textToRender, cancellationToken);
string subtitleFile = Path.GetFileName(subtitleTemplateFile);
string fontsDir = FileSystemLayout.ResourcesCacheFolder;
string fontsDir = FileSystemLayout.FontsCacheFolder;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{

Loading…
Cancel
Save