Files
ersatztv/ErsatzTV.Core/Interfaces/Emby/IEmbyPathReplacementService.cs
T
Jason DoveandGitHub 1c07df5bc3 use cancellation tokens in many places (#2350)
* use cancellation tokens everywhere

* more cancellation tokens
2025-08-27 03:20:35 +00:00

16 lines
510 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Core.Interfaces.Emby;
public interface IEmbyPathReplacementService
{
Task<string> GetReplacementEmbyPath(
int libraryPathId,
string path,
CancellationToken cancellationToken,
bool log = true);
string GetReplacementEmbyPath(List<EmbyPathReplacement> pathReplacements, string path, bool log = true);
string ReplaceNetworkPath(EmbyMediaSource embyMediaSource, string path, string networkPath, string replacement);
}