jellyfin/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

19 lines
572 B
C#
Raw Normal View History

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