[PR #5884] [CLOSED] Import "resume"-state from NFO-files, fix import of "watched" and "lastPlayed" #10703

Closed
opened 2026-02-07 06:25:14 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5884
Author: @ralf1070
Created: 4/21/2021
Status: Closed

Base: masterHead: importUserData


📝 Commits (8)

  • 425e0e8 import "resume" state from ".NFO" file
  • 8ef9811 fix import of watched/resume/lastPlayed from NFO-Files
  • 7d21396 Merge branch 'importUserData'
  • 2358b8d optimize access to UserItemData, fix/add NFO test
  • 2f39374 beautify code
  • c32353e beautify code
  • c16e4d5 import NFO UserData for episodes too
  • f97c89e Update MediaBrowser.Providers/Manager/MetadataService.cs

📊 Changes

10 files changed (+296 additions, -42 deletions)

View changed files

📝 MediaBrowser.Controller/Providers/MetadataResult.cs (+4 -3)
📝 MediaBrowser.Providers/Manager/MetadataService.cs (+30 -2)
📝 MediaBrowser.Providers/Movies/MovieMetadataService.cs (+16 -1)
📝 MediaBrowser.Providers/Studios/StudioMetadataService.cs (+2 -1)
📝 MediaBrowser.Providers/TV/EpisodeMetadataService.cs (+13 -1)
📝 MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs (+115 -13)
📝 tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs (+64 -8)
📝 tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs (+47 -8)
📝 tests/Jellyfin.XbmcMetadata.Tests/Test Data/Justice League.nfo (+3 -3)
📝 tests/Jellyfin.XbmcMetadata.Tests/Test Data/The Bone Orchard.nfo (+2 -2)

📄 Description

  • import resume position from recording ".nfo"-files into default users user data
  • fix import of "watched" and "lastPlayed" information from ".nfo"-files to user data as well

🔄 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/5884 **Author:** [@ralf1070](https://github.com/ralf1070) **Created:** 4/21/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `importUserData` --- ### 📝 Commits (8) - [`425e0e8`](https://github.com/jellyfin/jellyfin/commit/425e0e81fd1a4b52086dba61b47f97f9227aa6eb) import "resume" state from ".NFO" file - [`8ef9811`](https://github.com/jellyfin/jellyfin/commit/8ef9811fe798e13037568ee0b126955af728c97f) fix import of watched/resume/lastPlayed from NFO-Files - [`7d21396`](https://github.com/jellyfin/jellyfin/commit/7d21396a6a986ad186121ab430c86a17183c2877) Merge branch 'importUserData' - [`2358b8d`](https://github.com/jellyfin/jellyfin/commit/2358b8d380cfaf7959c2cb71a0b82bedd3d4b7d4) optimize access to UserItemData, fix/add NFO test - [`2f39374`](https://github.com/jellyfin/jellyfin/commit/2f393742b2e63039c023178f5318a2f1970e24e5) beautify code - [`c32353e`](https://github.com/jellyfin/jellyfin/commit/c32353e4dedca0a828997ac1de9b0e9aef70c121) beautify code - [`c16e4d5`](https://github.com/jellyfin/jellyfin/commit/c16e4d51ef9d9c2fc739316730b76ffefff33f41) import NFO UserData for episodes too - [`f97c89e`](https://github.com/jellyfin/jellyfin/commit/f97c89e7024cc52f6821f8a70e1b5293429fd18f) Update MediaBrowser.Providers/Manager/MetadataService.cs ### 📊 Changes **10 files changed** (+296 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/Providers/MetadataResult.cs` (+4 -3) 📝 `MediaBrowser.Providers/Manager/MetadataService.cs` (+30 -2) 📝 `MediaBrowser.Providers/Movies/MovieMetadataService.cs` (+16 -1) 📝 `MediaBrowser.Providers/Studios/StudioMetadataService.cs` (+2 -1) 📝 `MediaBrowser.Providers/TV/EpisodeMetadataService.cs` (+13 -1) 📝 `MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs` (+115 -13) 📝 `tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs` (+64 -8) 📝 `tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs` (+47 -8) 📝 `tests/Jellyfin.XbmcMetadata.Tests/Test Data/Justice League.nfo` (+3 -3) 📝 `tests/Jellyfin.XbmcMetadata.Tests/Test Data/The Bone Orchard.nfo` (+2 -2) </details> ### 📄 Description * import resume position from recording ".nfo"-files into default users user data * fix import of "watched" and "lastPlayed" information from ".nfo"-files to user data as well --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:25:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10703