jellyfin/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

19 lines
572 B
C#
Raw Normal View History

namespace Emby.Naming.AudioBook
2018-09-12 10:26:21 -07:00
{
2020-11-10 09:11:48 -07:00
/// <summary>
/// Data object for passing result of audiobook part/chapter extraction.
/// </summary>
public record struct AudioBookFilePathParserResult
2018-09-12 10:26:21 -07:00
{
2020-11-10 09:11:48 -07:00
/// <summary>
/// Gets or sets optional number of path extracted from audiobook filename.
/// </summary>
2018-09-12 10:26:21 -07:00
public int? PartNumber { get; set; }
2019-05-10 11:37:42 -07:00
2020-11-10 09:11:48 -07:00
/// <summary>
/// Gets or sets optional number of chapter extracted from audiobook filename.
/// </summary>
2018-09-12 10:26:21 -07:00
public int? ChapterNumber { get; set; }
}
}