diff options
Diffstat (limited to 'Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs')
| -rw-r--r-- | Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs b/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs index e28a58db7..48ab8b57d 100644 --- a/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs +++ b/Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs @@ -1,13 +1,18 @@ -#pragma warning disable CS1591 - namespace Emby.Naming.AudioBook { - public class AudioBookFilePathParserResult + /// <summary> + /// Data object for passing result of audiobook part/chapter extraction. + /// </summary> + public 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; } - - public bool Success { get; set; } } } |
