/// <summary> /// (Re)initializes the unsplittable values collection for ID3v2.3 tags. /// </summary> /// <param name="settings">Settings object to read the data from.</param> internal static void InitializeUnsplittableID3v23Values(AudioMetadataExtractorSettings settings) { UNSPLITTABLE_ID3V23_VALUES = new List<string>(settings.UnsplittableID3v23Values.Select(v => v.ToLowerInvariant())); }
/// <summary> /// (Re)initializes the behaviour of this <see cref="AudioMetadataExtractor"/> regarding multiple values in single fields. /// </summary> /// <param name="settings">Settings object to read the data from.</param> internal static void InitializeAdditionalSeparatorBehaviour(AudioMetadataExtractorSettings settings) { USE_ADDITIONAL_SEPARATOR = settings.UseAdditionalSeparator; ADDITIONAL_SEPARATOR = settings.AdditionalSeparator; UNSPLITTABLE_ADDITIONAL_SEPARATOR_VALUES = new List<string>(settings.UnsplittableAddditionalSeparatorValues.Select(e => e.ToLowerInvariant())); }
/// <summary> /// (Re)initializes the audio extensions for which this <see cref="AudioMetadataExtractor"/> used. /// </summary> /// <param name="settings">Settings object to read the data from.</param> internal static void InitializeExtensions(AudioMetadataExtractorSettings settings) { AUDIO_EXTENSIONS = new List<string>(settings.AudioExtensions.Select(e => e.ToLowerInvariant())); }