Koreader Progress Sync for all files (#4323)

Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
Joe Milazzo
2026-01-04 12:17:56 -07:00
committed by GitHub
parent f4d9f5be81
commit f5d0ad2ed2
175 changed files with 1900 additions and 1435 deletions
+2 -2
View File
@@ -260,14 +260,14 @@ public class ReaderController : BaseApiController
if (info.IsSpecial)
{
info.Subtitle = Path.GetFileNameWithoutExtension(info.FileName);
} else if (!info.IsSpecial && info.VolumeNumber.Equals(Parser.LooseLeafVolume))
} else if (!info.IsSpecial && Parser.IsLooseLeafVolume(info.VolumeNumber))
{
info.Subtitle = ReaderService.FormatChapterName(info.LibraryType, true, true) + info.ChapterNumber;
}
else
{
info.Subtitle = await _localizationService.Translate(UserId, "volume-num", info.VolumeNumber);
if (!info.ChapterNumber.Equals(Parser.DefaultChapter))
if (!Parser.IsDefaultChapter(info.ChapterNumber))
{
info.Subtitle += " " + ReaderService.FormatChapterName(info.LibraryType, true, true) +
info.ChapterNumber;