mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12558] [MERGED] Fix alt version name generation #13252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12558
Author: @Bond-009
Created: 8/31/2024
Status: ✅ Merged
Merged: 9/3/2024
Merged by: @Bond-009
Base:
release-10.9.z← Head:altsourcename📝 Commits (1)
e1ac30bFix alt version name generation📊 Changes
2 files changed (+38 additions, -8 deletions)
View changed files
📝
MediaBrowser.Controller/Entities/BaseItem.cs(+9 -8)📝
tests/Jellyfin.Controller.Tests/Entities/BaseItemTests.cs(+29 -0)📄 Description
Changes
Instead of replacing all occurrences of the containing folder name, just check the start of the string. This matches what happens in VideoListResolver.IsEligibleForMultiVersion
Issues
Fixes #12555
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.