mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-03 19:07:00 -05:00 
			
		
		
		
	Merge pull request #795 from jmt-gh/issue_794
Fix issue with unecessary empty search during match (Issue #794)
This commit is contained in:
		
						commit
						1a32fbfeec
					
				@ -180,11 +180,11 @@ class BookFinder {
 | 
				
			|||||||
    Logger.debug(`Book Search: title: "${title}", author: "${author}", provider: ${provider}`)
 | 
					    Logger.debug(`Book Search: title: "${title}", author: "${author}", provider: ${provider}`)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (provider === 'google') {
 | 
					    if (provider === 'google') {
 | 
				
			||||||
      books = this.getGoogleBooksResults(title, author)
 | 
					      books = await this.getGoogleBooksResults(title, author)
 | 
				
			||||||
    } else if (provider === 'audible') {
 | 
					    } else if (provider === 'audible') {
 | 
				
			||||||
      books = this.getAudibleResults(title, author, asin)
 | 
					      books = await this.getAudibleResults(title, author, asin)
 | 
				
			||||||
    } else if (provider === 'itunes') {
 | 
					    } else if (provider === 'itunes') {
 | 
				
			||||||
      books = this.getiTunesAudiobooksResults(title, author)
 | 
					      books = await this.getiTunesAudiobooksResults(title, author)
 | 
				
			||||||
    } else if (provider === 'libgen') {
 | 
					    } else if (provider === 'libgen') {
 | 
				
			||||||
      books = await this.getLibGenResults(title, author, maxTitleDistance, maxAuthorDistance)
 | 
					      books = await this.getLibGenResults(title, author, maxTitleDistance, maxAuthorDistance)
 | 
				
			||||||
    } else if (provider === 'openlibrary') {
 | 
					    } else if (provider === 'openlibrary') {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user