mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5166] [MERGED] Get episode range end from XBMC compatible nfo #10416
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/5166
Author: @netpok
Created: 2/5/2021
Status: ✅ Merged
Merged: 2/23/2021
Merged by: @Bond-009
Base:
master← Head:index-number-end-from-nfo📝 Commits (6)
b646787Get IndexNumberEnd from nfo094ffafComment and simplify code351d61aAdd test for multiepisode nfo parsingc97edc9Fix typo7ba5354Fix typos in nfo testsa015cabRemove unnecessary sanity check📊 Changes
8 files changed (+72 additions, -9 deletions)
View changed files
📝
MediaBrowser.XbmcMetadata/Parsers/EpisodeNfoParser.cs(+26 -3)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs(+21 -1)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs(+1 -1)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/MusicAlbumNfoProviderTests.cs(+1 -1)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/MusicArtistNfoParserTests.cs(+1 -1)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/SeasonNfoProviderTests.cs(+1 -1)📝
tests/Jellyfin.XbmcMetadata.Tests/Parsers/SeriesNfoParserTests.cs(+1 -1)➕
tests/Jellyfin.XbmcMetadata.Tests/Test Data/Rising.nfo(+20 -0)📄 Description
Changes
This PR allows parsing the end of multiepisode file from XBMC compatible nfo. This is required because the nfo contains each episode in a root block.
For example:
Stargate Atlantis - 1x01-02:
This resulted the file being parsed as episode 1 instead of episode 1-2.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.