OPDS formatting fix (#1905)

# Fixed
- Fixed a formatting issue where there was a unnecessary - at the beginning of titles. (develop)

# Changed
- Updated github action version. (develop)
This commit is contained in:
Robbie Davis 2023-03-31 07:05:54 -04:00 committed by GitHub
parent 97baab44a9
commit 139460d19c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check PR Body
uses: JJ/github-pr-contains-action@releases/v9
uses: JJ/github-pr-contains-action@releases/v10
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
bodyDoesNotContain: "[\"|`]"

View File

@ -777,11 +777,11 @@ public class OpdsController : BaseApiController
}
else if (volume.Number != 0)
{
title = $" - {series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
title = $"{series.Name} - Volume {volume.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
}
else
{
title = $" - {series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
title = $"{series.Name} - {SeriesService.FormatChapterTitle(chapter, libraryType)}";
}
// Chunky requires a file at the end. Our API ignores this