Add a validator to the remote_path and local_path fields that ensures a trailing slash is added to the values of the, if the values defined in the configuration don't have them. This matches Sonarr's behaviour when setting these values, and fixes an issue where Buildarr would always try to add remote path mappings without trailing spaces in the paths to Sonarr, even if they already existed.
Switch the remote_path and local_path fields for remote path mappings to a custom OSAgnosticPath type, that semi-transparently handles differences between POSIX and Windows paths. Windows paths will be compared case-insensitively.
Update resource management logging for remote path mappings to the latest standards for Buildarr, and remove extraneous logging.
49
remote_path
andlocal_path
fields that ensures a trailing slash is added to the values of the, if the values defined in the configuration don't have them. This matches Sonarr's behaviour when setting these values, and fixes an issue where Buildarr would always try to add remote path mappings without trailing spaces in the paths to Sonarr, even if they already existed.remote_path
andlocal_path
fields for remote path mappings to a customOSAgnosticPath
type, that semi-transparently handles differences between POSIX and Windows paths. Windows paths will be compared case-insensitively.