jellyfin/Emby.Naming/AudioBook/AudioBookFilePathParserResu...

19 lines
572 B
C#
Raw Normal View History

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