Skip to content

Commit

Permalink
release(patch): Version 4.0.1
Browse files Browse the repository at this point in the history
Only a single issue so far ~~in the plugin at least~~, that's a good start for the stable release I think.

 ## Changes since last release

Here are the main changes since the last stable release (4.0.0):

---

`fix`: Sort specials season first:

- Sort the Specials season first, because otherwise the auto-play order will be messed up for specials placed in-between normal episodes.

For the full list of changes, please check out the [complete changelog](4.0.0...4.0.1) here on GitHub.
  • Loading branch information
revam committed Jul 7, 2024
2 parents a7760e9 + a3709b5 commit 6be769d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Shokofin Bug Report 101
description: Report any bugs here!
labels: []
projects: []
assignees:
- revam
assignees: []
body:
- type: markdown
attributes:
Expand Down
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Shokofin Feature Request 101
description: Request your features here!
labels: []
projects: []
assignees:
- revam
assignees: []
body:
- type: markdown
attributes:
Expand Down Expand Up @@ -31,4 +30,4 @@ body:
attributes:
label: Additional Information
description: Any additional information you would like to provide?
placeholder: Provide any additional information here.
placeholder: Provide any additional information here.
2 changes: 1 addition & 1 deletion .github/workflows/release-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Setup .Net
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore Nuget Packages
run: dotnet restore Shokofin/Shokofin.csproj
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ compatible with what.
| `1.x.x` | `10.7` | `4.1.0-4.1.2` |
| `2.x.x` | `10.8` | `4.1.2` |
| `3.x.x` | `10.8` | `4.2.0` |
| `unstable` | `10.9` | `4.2.2` |
| `4.x.x` | `10.9` | `4.2.2` |
| `dev` | `10.9` | `4.2.2` |

### Official Repository

Expand Down
4 changes: 2 additions & 2 deletions Shokofin/Providers/CustomSeasonProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ private static bool SeasonExists(ILibraryManager libraryManager, ILogger logger,
var season = new Season {
Name = seasonName,
IndexNumber = 0,
SortName = seasonName,
ForcedSortName = seasonName,
SortName = $"AA - {seasonName}",
ForcedSortName = $"AA - {seasonName}",
Id = libraryManager.GetNewItemId(series.Id + "Season 0", typeof(Season)),
IsVirtualItem = true,
SeriesId = series.Id,
Expand Down
8 changes: 4 additions & 4 deletions Shokofin/Providers/SeasonProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ public async Task<MetadataResult<Season>> GetMetadata(SeasonInfo info, Cancellat

// Special handling of the "Specials" season (pun intended).
if (info.IndexNumber.Value == 0) {
// We're forcing the sort names to start with "ZZ" to make it
// always appear last in the UI.
// We're forcing the sort names to start with "AA" to make it
// always appear first in the UI.
var seasonName = info.Name;
result.Item = new Season {
Name = seasonName,
IndexNumber = info.IndexNumber,
SortName = $"ZZ - {seasonName}",
ForcedSortName = $"ZZ - {seasonName}",
SortName = $"AA - {seasonName}",
ForcedSortName = $"AA - {seasonName}",
};
result.HasMetadata = true;

Expand Down

0 comments on commit 6be769d

Please sign in to comment.