aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs
blob: ae8c8a39bcd92a855e3702de01eb4ec1f5b74f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Emby.Naming.AudioBook
{
    /// <summary>
    /// Data object for passing result of audiobook part/chapter extraction.
    /// </summary>
    public record struct AudioBookFilePathParserResult
    {
        /// <summary>
        /// Gets or sets optional number of path extracted from audiobook filename.
        /// </summary>
        public int? PartNumber { get; set; }

        /// <summary>
        /// Gets or sets optional number of chapter extracted from audiobook filename.
        /// </summary>
        public int? ChapterNumber { get; set; }
    }
}