[PR #3401] [MERGED] Fix for windows plug-in upgrades issue: #1623 #9504

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/3401
Author: @BaronGreenback
Created: 6/21/2020
Status: Merged
Merged: 9/17/2020
Merged by: @joshuaboniface

Base: masterHead: Plugins


📝 Commits (10+)

  • a041fe8 Add versioning to plugin folders
  • 99410f3 fixes
  • d89c46f fixes
  • 2255bc9 Changed padding in version numbers based up how they are stored in the repository.
  • bf1bbbd Changed sorting to case insensitive
  • a25a233 Using Version class.
  • ba3a9f7 removing stray < character from description.
  • e33824d Changed to named tuples
  • 8439860 Merge branch 'master' into Plugins
  • 0f6ea12 Update ApplicationHost.cs

📊 Changes

3 files changed (+194 additions, -9 deletions)

View changed files

📝 Emby.Server.Implementations/ApplicationHost.cs (+108 -1)
Emby.Server.Implementations/Plugins/PluginManifest.cs (+60 -0)
📝 Emby.Server.Implementations/Updates/InstallationManager.cs (+26 -8)

📄 Description

Plugins are stored in version marked folders. (eg. TMDb Box Set.4.0.0.0) with only the latest version installed at start up.

The attempted removal of each earlier versioned folders can be enabled to be done at startup. (Disabled in this change) If the folder is found to be locked, another attempt can be made at the next execution of Jellyfin. At worst, the plugins folder may have some older versions left behind - which will be ignored by the system.

The system is backwards compatible - only "version loading" the folder if a version number is included in the folder name.

https://github.com/jellyfin/jellyfin/issues/1623


🔄 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/3401 **Author:** [@BaronGreenback](https://github.com/BaronGreenback) **Created:** 6/21/2020 **Status:** ✅ Merged **Merged:** 9/17/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `Plugins` --- ### 📝 Commits (10+) - [`a041fe8`](https://github.com/jellyfin/jellyfin/commit/a041fe8a2dc03790b8b56a01bb2c1d2c9fd9d690) Add versioning to plugin folders - [`99410f3`](https://github.com/jellyfin/jellyfin/commit/99410f3c975dbcce44b6cdec2e17e9a8d67db30e) fixes - [`d89c46f`](https://github.com/jellyfin/jellyfin/commit/d89c46f1a97b436bae0a39816cab71f8d09ad3c3) fixes - [`2255bc9`](https://github.com/jellyfin/jellyfin/commit/2255bc98722e57e77e191d08b1485372c1e9a400) Changed padding in version numbers based up how they are stored in the repository. - [`bf1bbbd`](https://github.com/jellyfin/jellyfin/commit/bf1bbbdd3e72657d0e36a7a2b80c89d03fc40ba8) Changed sorting to case insensitive - [`a25a233`](https://github.com/jellyfin/jellyfin/commit/a25a233b75df380d87f1fdca8738b32938095ab4) Using Version class. - [`ba3a9f7`](https://github.com/jellyfin/jellyfin/commit/ba3a9f7d466a84040b53399fbc3ae1673b7466ac) removing stray < character from description. - [`e33824d`](https://github.com/jellyfin/jellyfin/commit/e33824d28667df0344420d42032fbb01e9f8f659) Changed to named tuples - [`8439860`](https://github.com/jellyfin/jellyfin/commit/8439860b2aa38f4f0e8fa243f8efaa9b5a0d0c0b) Merge branch 'master' into Plugins - [`0f6ea12`](https://github.com/jellyfin/jellyfin/commit/0f6ea123ea1ead19e6efc915e6af62dc4a198329) Update ApplicationHost.cs ### 📊 Changes **3 files changed** (+194 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/ApplicationHost.cs` (+108 -1) ➕ `Emby.Server.Implementations/Plugins/PluginManifest.cs` (+60 -0) 📝 `Emby.Server.Implementations/Updates/InstallationManager.cs` (+26 -8) </details> ### 📄 Description Plugins are stored in version marked folders. (eg. TMDb Box Set.4.0.0.0) with only the latest version installed at start up. The attempted removal of each earlier versioned folders can be enabled to be done at startup. (Disabled in this change) If the folder is found to be locked, another attempt can be made at the next execution of Jellyfin. At worst, the plugins folder may have some older versions left behind - which will be ignored by the system. The system is backwards compatible - only "version loading" the folder if a version number is included in the folder name. https://github.com/jellyfin/jellyfin/issues/1623 --- <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:03:20 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9504