mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
subtitle fixes
This commit is contained in:
parent
adbaf205b4
commit
62dadbf4b2
@ -22,7 +22,9 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
writer.WriteLine(@"{0:hh\:mm\:ss\.fff} --> {1:hh\:mm\:ss\.fff}", TimeSpan.FromTicks(trackEvent.StartPositionTicks), TimeSpan.FromTicks(trackEvent.EndPositionTicks));
|
||||
|
||||
var text = trackEvent.Text;
|
||||
//text = Regex.Replace(text, @"\\N", "<br />", RegexOptions.IgnoreCase);
|
||||
|
||||
// TODO: Not sure how to handle these
|
||||
text = Regex.Replace(text, @"\\N", " ", RegexOptions.IgnoreCase);
|
||||
|
||||
writer.WriteLine(text);
|
||||
writer.WriteLine(string.Empty);
|
||||
|
Loading…
Reference in New Issue
Block a user