[PR #7370] [MERGED] Only add internal files if the internal metadata path exists #11181

Closed
opened 2025-12-22 08:35:26 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/7370
Author: @crobibero
Created: 2/28/2022
Status: Merged
Merged: 3/4/2022
Merged by: @cvium

Base: masterHead: internal-metadata-path


📝 Commits (6)

  • 40e413d Only add internal files if the internal metadata path exists
  • c9d5cff Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs
  • 1d36771 Improve tests
  • fc5c6c0 Use IFileSystem
  • 71a9ae3 Update MediaBrowser.Controller/Providers/DirectoryService.cs
  • 1b3e56b Split DirectoryExists and FileExists

📊 Changes

11 files changed (+153 additions, -27 deletions)

View changed files

📝 Emby.Server.Implementations/IO/ManagedFileSystem.cs (+12 -0)
📝 MediaBrowser.Controller/Entities/BaseItem.cs (+1 -1)
📝 MediaBrowser.Model/IO/IFileSystem.cs (+14 -0)
📝 MediaBrowser.Providers/MediaInfo/AudioResolver.cs (+10 -2)
📝 MediaBrowser.Providers/MediaInfo/FFProbeProvider.cs (+4 -3)
📝 MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs (+12 -2)
📝 MediaBrowser.Providers/MediaInfo/SubtitleResolver.cs (+10 -2)
📝 tests/Jellyfin.Providers.Tests/MediaInfo/AudioResolverTests.cs (+8 -1)
📝 tests/Jellyfin.Providers.Tests/MediaInfo/MediaInfoResolverTests.cs (+74 -15)
📝 tests/Jellyfin.Providers.Tests/MediaInfo/SubtitleResolverTests.cs (+8 -1)
tests/Jellyfin.Providers.Tests/Test Data/Video/My.Video.mkv (+0 -0)

📄 Description

Fixes regression from https://github.com/jellyfin/jellyfin/pull/7255/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/7370 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 2/28/2022 **Status:** ✅ Merged **Merged:** 3/4/2022 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `internal-metadata-path` --- ### 📝 Commits (6) - [`40e413d`](https://github.com/jellyfin/jellyfin/commit/40e413d575236ce12c7d4824fb07da6d812b8f05) Only add internal files if the internal metadata path exists - [`c9d5cff`](https://github.com/jellyfin/jellyfin/commit/c9d5cfff1dd4df12e85a0c0713404975a10c2e20) Update MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs - [`1d36771`](https://github.com/jellyfin/jellyfin/commit/1d367712bb2ec87a1d36f9b23deb2c0ad5fa7279) Improve tests - [`fc5c6c0`](https://github.com/jellyfin/jellyfin/commit/fc5c6c0404b06accb3617c0d4f181bb7c344119c) Use IFileSystem - [`71a9ae3`](https://github.com/jellyfin/jellyfin/commit/71a9ae315006254eeea6e86cba07c981013c6957) Update MediaBrowser.Controller/Providers/DirectoryService.cs - [`1b3e56b`](https://github.com/jellyfin/jellyfin/commit/1b3e56bae32db452ae4859c533ebdf6740a937cf) Split DirectoryExists and FileExists ### 📊 Changes **11 files changed** (+153 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/IO/ManagedFileSystem.cs` (+12 -0) 📝 `MediaBrowser.Controller/Entities/BaseItem.cs` (+1 -1) 📝 `MediaBrowser.Model/IO/IFileSystem.cs` (+14 -0) 📝 `MediaBrowser.Providers/MediaInfo/AudioResolver.cs` (+10 -2) 📝 `MediaBrowser.Providers/MediaInfo/FFProbeProvider.cs` (+4 -3) 📝 `MediaBrowser.Providers/MediaInfo/MediaInfoResolver.cs` (+12 -2) 📝 `MediaBrowser.Providers/MediaInfo/SubtitleResolver.cs` (+10 -2) 📝 `tests/Jellyfin.Providers.Tests/MediaInfo/AudioResolverTests.cs` (+8 -1) 📝 `tests/Jellyfin.Providers.Tests/MediaInfo/MediaInfoResolverTests.cs` (+74 -15) 📝 `tests/Jellyfin.Providers.Tests/MediaInfo/SubtitleResolverTests.cs` (+8 -1) ➖ `tests/Jellyfin.Providers.Tests/Test Data/Video/My.Video.mkv` (+0 -0) </details> ### 📄 Description Fixes regression from https://github.com/jellyfin/jellyfin/pull/7255/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 08:35:26 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#11181
No description provided.