Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/852e5e29ca0060b33c68bd11365a93451750034f?style=split&whitespace=ignore-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

Merge pull request from nvllsvm/fix_replace_multiple_spaces

Fix replace multiple spaces
pull/1707/head
Anthony Lavado 6 years ago committed by GitHub
commit 852e5e29ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Text.RegularExpressions;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using MediaBrowser.Common.Net; using MediaBrowser.Common.Net;
@ -312,14 +313,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
} }
sb.Replace(", the", string.Empty).Replace("the ", " ").Replace(" the ", " "); sb.Replace(", the", string.Empty).Replace("the ", " ").Replace(" the ", " ");
int prevLength; return Regex.Replace(sb.ToString().Trim(), @"\s+", " ");
do
{
prevLength = sb.Length;
sb.Replace(" ", " ");
} while (name.Length != prevLength);
return sb.ToString().Trim();
} }
private void MapSeriesToResult(MetadataResult<Series> result, TvDbSharper.Dto.Series tvdbSeries, string metadataLanguage) private void MapSeriesToResult(MetadataResult<Series> result, TvDbSharper.Dto.Series tvdbSeries, string metadataLanguage)

Loading…
Cancel
Save