Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeugma440 committed Jun 28, 2020
1 parent 9750b53 commit 678f2c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ATL/Entities/Track.cs
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,20 @@ private TagData toTagData()

return result;
}

/// <summary>
/// Save current Track to disk
/// </summary>
public void Save()
{
fileIO.Save(toTagData());
Update();
}

/// <summary>
/// Remove the given tag type from the Track
/// </summary>
/// <param name="tagType">Tag type to remove (see MetaDataIOFactory.TAG_XX values)</param>
/// <see cref="MetaDataIOFactory"/>
public void Remove(int tagType = MetaDataIOFactory.TAG_ANY)
{
fileIO.Remove(tagType);
Expand Down

0 comments on commit 678f2c8

Please sign in to comment.