2019-01-13 20:54:44 +01:00
|
|
|
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>
|
2022-09-15 00:39:00 +02:00
|
|
|
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; }
|
|
|
|
}
|
|
|
|
}
|