Skip to content

Commit

Permalink
Fix AdditionalFields mapping for MetadataTrack
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreas committed Dec 9, 2024
1 parent 737dfac commit b194468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sandreas.AudioMetadata/AudioMetadata/MetadataTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public MetadataTrack(IFileSystemInfo fileInfo, bool load = true)
{ nameof(Subtitle), ("TIT3", "TIT3", "----:com.apple.iTunes:SUBTITLE", "T=30", "WM/SubTitle", "Subtitle", "SUBTITLE", "") },
/*mp4 => ©st3 ? */
};
protected IDictionary<string, string> MapAdditionalFields()
protected override IDictionary<string, string> MapAdditionalFields()
{
return AdditionalFields
.Where(kvp =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public TimeSpan TotalDuration
}

public IDictionary<string, string> MappedAdditionalFields => MapAdditionalFields();
private IDictionary<string, string> MapAdditionalFields() => AdditionalFields;
protected virtual IDictionary<string, string> MapAdditionalFields() => AdditionalFields;

public int? Bpm
{
Expand Down

0 comments on commit b194468

Please sign in to comment.