2
0
Эх сурвалжийг харах

Removed Success property from AudioBookFilePathParserResult, since it was unused and consider only audiobooks that have chapter/page number in name makes no sense

Stepan 4 жил өмнө
parent
commit
6437cf6950

+ 0 - 2
Emby.Naming/AudioBook/AudioBookFilePathParser.cs

@@ -52,8 +52,6 @@ namespace Emby.Naming.AudioBook
                 }
             }
 
-            result.Success = result.ChapterNumber.HasValue || result.PartNumber.HasValue;
-
             return result;
         }
     }

+ 0 - 2
Emby.Naming/AudioBook/AudioBookFilePathParserResult.cs

@@ -8,7 +8,5 @@ namespace Emby.Naming.AudioBook
         public int? PartNumber { get; set; }
 
         public int? ChapterNumber { get; set; }
-
-        public bool Success { get; set; }
     }
 }