From 00ab93dfbba73ebe365cc4d2383b6e30a350974d Mon Sep 17 00:00:00 2001 From: Moss Date: Fri, 23 Dec 2022 02:17:50 -0500 Subject: [PATCH] Episode: Fixed Support for HTML Character Codes in Title --- src/episode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/episode.cpp b/src/episode.cpp index 5e8aa1b..f665e08 100644 --- a/src/episode.cpp +++ b/src/episode.cpp @@ -220,7 +220,7 @@ namespace dropout_dl { int k; for (k = 0; j + k < series_data.size() && series_data[j + k] != '"'; k++); - return series_data.substr(j, k); + return format_name_string(series_data.substr(j, k)); } } } @@ -239,7 +239,7 @@ namespace dropout_dl { int j; for (j = 0; meta_data[i + j] != '"' && i + j < meta_data.size(); j++); - return meta_data.substr(i, j); + return format_name_string(meta_data.substr(i, j)); } } return "ERROR"; @@ -261,7 +261,7 @@ namespace dropout_dl { } } - return meta_data.substr(i, j); + return format_name_string(meta_data.substr(i, j)); } } return "ERROR";