Skip to content

After conversion automatically update the file in configured media server#24

Closed
luukjp wants to merge 6 commits intoKirovAir:masterfrom
luukjp:feature/refresh-jellyfin-library
Closed

After conversion automatically update the file in configured media server#24
luukjp wants to merge 6 commits intoKirovAir:masterfrom
luukjp:feature/refresh-jellyfin-library

Conversation

@luukjp
Copy link
Copy Markdown

@luukjp luukjp commented Apr 9, 2026

Media Server Library Refresh After Conversion

Post-processing can be quite technical, so this provides a simple solution to sync converted files with the media server efficiently only updating files that have changed.

Features

  • Updates only the converted file on the selected media server
  • Supports media servers: Plex, Jellyfin, and Emby

Preview

image image image

Copilot AI review requested due to automatic review settings April 9, 2026 22:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a post-conversion “media server refresh” integration so Muxarr can notify Plex/Jellyfin/Emby after a successful conversion, helping external libraries pick up the updated file without a full rescan.

Changes:

  • Introduces media server API clients + factory to trigger targeted refresh/update operations (Plex, Jellyfin, Emby).
  • Wires refresh execution into the conversion post-processing pipeline behind a new Processing setting toggle.
  • Extends UI/setup + connections settings to configure media server connections (URL + API key) and documents path expectations.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
README.md Documents the new media server refresh feature and container path requirement.
Muxarr.Web/Services/MediaServerClientFactory.cs Loads configured media server integrations and dispatches refresh calls via the correct client.
Muxarr.Web/Services/MediaConverterService.cs Runs media server refresh after conversion as part of post-processing.
Muxarr.Web/Services/ArrSyncService.cs Skips non-Arr integrations now that the Integrations table includes media servers.
Muxarr.Web/Program.cs Registers HTTP clients and DI services for Plex/Jellyfin/Emby refresh.
Muxarr.Web/Components/Pages/Setup.razor Adds media server connection to the setup flow.
Muxarr.Web/Components/Pages/Settings/ProcessingSettingsTab.razor Adds the “refresh media server after conversion” toggle.
Muxarr.Web/Components/Pages/Settings/MediaServerCard.razor New UI card to configure/test media server connections.
Muxarr.Web/Components/Pages/Settings/ConnectionsSettingsTab.razor Splits Arr vs media server integrations and allows adding/removing media servers.
Muxarr.Data/Entities/Integration.cs Extends IntegrationType and adds helper type predicates for filtering.
Muxarr.Core/Config/ProcessingConfig.cs Adds MediaServerRefreshEnabled setting.
Muxarr.Core/Api/PlexApiClient.cs New Plex implementation of targeted refresh (section refresh w/ optional path).
Muxarr.Core/Api/JellyfinEmbyApiClient.cs New Jellyfin/Emby implementation (item refresh + updated media fallback).
Muxarr.Core/Api/IMediaServerClient.cs Defines the shared media server client interface + result model.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Muxarr.Web/Services/MediaConverterService.cs Outdated
Comment thread Muxarr.Core/Api/PlexApiClient.cs Outdated
Comment thread Muxarr.Core/Api/JellyfinEmbyApiClient.cs Outdated
Comment thread Muxarr.Core/Api/JellyfinEmbyApiClient.cs Outdated
luukjp and others added 2 commits April 10, 2026 00:08
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@luukjp
Copy link
Copy Markdown
Author

luukjp commented Apr 9, 2026

Fyi this would require changes in the Hide API input fields PR if merged.

\Muxarr.Web\Components\Pages\Settings\MediaServerCard.razor -> line 46

@KirovAir
Copy link
Copy Markdown
Owner

Hey Luuk, thanks for the detailed work here. The Plex and Jellyfin/Emby implementations are solid. I was already working on integrations for them using the planned notifications (which were just released.). I'd say for integrations I want to keep radarr/sonarr as wel actually sync data for them. Plex and JF just require some "hello" to do the sync so they fit the notifications section.

I'll add some contributing.md to get my thoughts on the development so not more work gets lost. ;)

@KirovAir KirovAir closed this Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants