Added some notes

This commit is contained in:
Joseph Milazzo 2025-05-07 16:58:39 -05:00
parent 3fe5933358
commit 85b3187f3f
2 changed files with 2 additions and 0 deletions

View file

@ -752,6 +752,7 @@ public class ExternalMetadataService : IExternalMetadataService
{
Name = w.Name,
AniListId = ScrobblingService.ExtractId<int>(w.Url, ScrobblingService.AniListCharacterWebsite),
// Can I tag links to resolve favicon? Need to parse html, rewrite the urls, then have a
Description = StringHelper.CorrectUrls(StringHelper.RemoveSourceInDescription(StringHelper.SquashBreaklines(w.Description))),
})
.Concat(series.Metadata.People

View file

@ -633,6 +633,7 @@ public class SeriesService : ISeriesService
public async Task<string> FormatChapterTitle(int userId, bool isSpecial, LibraryType libraryType, string chapterRange, string? chapterTitle, bool withHash)
{
// TODO: Refactor so this is unit testable
if (string.IsNullOrEmpty(chapterTitle) && (isSpecial || libraryType == LibraryType.Book)) throw new ArgumentException("Chapter Title cannot be null");
if (isSpecial)