[PR #12643] [MERGED] Tweak Trickplay migration for speed #13302

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12643
Author: @crobibero
Created: 9/13/2024
Status: Merged
Merged: 9/23/2024
Merged by: @crobibero

Base: masterHead: trickplay_migration_speed


📝 Commits (2)

  • dc12c3c Tweak Trickplay migration for speed
  • 0d33b62 Check for Limit equality instead of 0

📊 Changes

4 files changed (+82 additions, -38 deletions)

View changed files

📝 Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs (+5 -3)
📝 Jellyfin.Server/Migrations/Routines/MoveTrickplayFiles.cs (+44 -13)
📝 MediaBrowser.Controller/Trickplay/ITrickplayManager.cs (+3 -1)
📝 MediaBrowser.Providers/Trickplay/TrickplayMoveImagesTask.cs (+30 -21)

📄 Description

The MoveTrickplayFiles migration took 25 minutes on my server, and 35s on my development machine.

This PR reduces the time on my development machine to 11s which should make a large difference on my server but I'm not able to easily deploy 1-off builds


🔄 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/12643 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/23/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `trickplay_migration_speed` --- ### 📝 Commits (2) - [`dc12c3c`](https://github.com/jellyfin/jellyfin/commit/dc12c3c89c98074719956ddabe9cf7dc07ef9e7a) Tweak Trickplay migration for speed - [`0d33b62`](https://github.com/jellyfin/jellyfin/commit/0d33b62948b6c5173d1ef98a2e579ec8fe51cf6d) Check for Limit equality instead of 0 ### 📊 Changes **4 files changed** (+82 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs` (+5 -3) 📝 `Jellyfin.Server/Migrations/Routines/MoveTrickplayFiles.cs` (+44 -13) 📝 `MediaBrowser.Controller/Trickplay/ITrickplayManager.cs` (+3 -1) 📝 `MediaBrowser.Providers/Trickplay/TrickplayMoveImagesTask.cs` (+30 -21) </details> ### 📄 Description The `MoveTrickplayFiles` migration took 25 minutes on my server, and 35s on my development machine. This PR reduces the time on my development machine to 11s which should make a large difference on my server but I'm not able to easily deploy 1-off builds --- <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 07:10:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13302