public async Task <string> GetReplacementJellyfinPath(int libraryPathId, string path, bool log = true)
    {
        List <JellyfinPathReplacement> replacements =
            await _mediaSourceRepository.GetJellyfinPathReplacementsByLibraryId(libraryPathId);

        return(GetReplacementJellyfinPath(replacements, path, log));
    }