public async Task <string> GetReplacementPlexPath(int libraryPathId, string path, bool log = true)
    {
        List <PlexPathReplacement> replacements =
            await _mediaSourceRepository.GetPlexPathReplacementsByLibraryId(libraryPathId);

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