From 06ff83b75cc8bc574c4de8047293038a842ece12 Mon Sep 17 00:00:00 2001 From: stax76 Date: Thu, 18 Aug 2022 09:44:52 +0200 Subject: [PATCH] shorter OSD media info --- docs/Changelog.md | 1 + src/Misc/Player.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/Changelog.md b/docs/Changelog.md index 8676eee..bc5eb78 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -5,6 +5,7 @@ - Relative file input paths are converted to absolute paths. - New history-filter option added to define paths to be excluded from the history log feature. - New command to move the Window to the screen edge (Alt+Arrow) or center (Alt+BS). +- Smaller OSD media info font size and more duplicated and obvious info removed from titles. - libmpv shinchiro 2022-08-11 input.conf changes: diff --git a/src/Misc/Player.cs b/src/Misc/Player.cs index 7c9af1d..eb19653 100644 --- a/src/Misc/Player.cs +++ b/src/Misc/Player.cs @@ -1801,6 +1801,9 @@ namespace mpvnet if (title.ContainsEx("Full")) title = title.Replace("Full", "").Trim(); + if (title.ContainsEx("Subtitles")) + title = title.Replace("Subtitles", "").Trim(); + if (title.ContainsEx("forced")) title = title.Replace("forced", "Forced").Trim();