mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13760] [MERGED] Cleanup extracted files #13693
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/13760
Author: @Shadowghost
Created: 3/23/2025
Status: ✅ Merged
Merged: 4/3/2025
Merged by: @crobibero
Base:
master← Head:cleanup-extracted-files📝 Commits (10+)
0f99809Cleanup extracted filesfc4043aPagination and fixes5a10d38Add migration for attachments to MigrateLibraryDb13f39caUnify attachment handling75c2daeDon't extract again if files were already extracted46e5664Fix MKS attachment extraction105c3b1Always run full extraction on mksa5695b6Don't try to extract mjpeg streams as attachments36ffb2cFallback to check if attachments were extracted to cache folder6d49449Fixup📊 Changes
17 files changed (+2385 additions, -404 deletions)
View changed files
📝
Emby.Server.Implementations/Data/CleanDatabaseScheduledTask.cs(+38 -3)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+17 -0)📝
Emby.Server.Implementations/Library/PathManager.cs(+38 -2)📝
Jellyfin.Server/Migrations/MigrationRunner.cs(+1 -0)📝
Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs(+66 -0)➕
Jellyfin.Server/Migrations/Routines/MoveExtractedFiles.cs(+299 -0)📝
MediaBrowser.Controller/IO/IPathManager.cs(+32 -0)📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+6 -2)📝
MediaBrowser.Controller/MediaEncoding/IAttachmentExtractor.cs(+27 -20)📝
MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs(+119 -299)📝
MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs(+6 -27)📝
MediaBrowser.MediaEncoding/Transcoding/TranscodeManager.cs(+3 -8)📝
MediaBrowser.Model/Entities/MediaAttachment.cs(+39 -41)📝
src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/AttachmentStreamInfo.cs(+1 -1)➕
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250331182844_FixAttachmentMigration.Designer.cs(+1657 -0)➕
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250331182844_FixAttachmentMigration.cs(+36 -0)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/JellyfinDbModelSnapshot.cs(+0 -1)📄 Description
Changes
mjpegattachments from extraction since those can't be extracted with the ffmpeg attachment dumperFixes #12427
Fixes #13522
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.