mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Remove comments from scanner
This commit is contained in:
		
							parent
							
								
									1c9e56ce2e
								
							
						
					
					
						commit
						2e6e4f970c
					
				| @ -205,8 +205,6 @@ class Scanner { | ||||
|           checkRes.libraryItem = libraryItem | ||||
|           checkRes.scanData = dataFound | ||||
| 
 | ||||
|           console.log('Has New Library Files', libraryItem.media.metadata.title, 'num new', checkRes.newLibraryFiles.length) | ||||
| 
 | ||||
|           if (global.ServerSettings.scannerUseSingleThreadedProber) { | ||||
|             // If this item will go over max size then push current chunk
 | ||||
|             if (libraryItem.audioFileTotalSize + itemDataToRescanSize > MaxSizePerChunk && itemDataToRescan.length > 0) { | ||||
| @ -242,7 +240,7 @@ class Scanner { | ||||
|     // Potential NEW Library Items
 | ||||
|     for (let i = 0; i < libraryItemDataFound.length; i++) { | ||||
|       var dataFound = libraryItemDataFound[i] | ||||
|       console.log('Potential new library item data') | ||||
| 
 | ||||
|       var hasMediaFile = dataFound.libraryFiles.some(lf => lf.isMediaFile) | ||||
|       if (!hasMediaFile) { | ||||
|         libraryScan.addLog(LogLevel.WARN, `Item found "${libraryItemDataFound.path}" has no media files`) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user