mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Emit update when cover is updated
This commit is contained in:
		
							parent
							
								
									51357195e2
								
							
						
					
					
						commit
						6e8270c5ea
					
				@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "audiobookshelf-client",
 | 
			
		||||
  "version": "0.9.73-beta",
 | 
			
		||||
  "version": "0.9.74-beta",
 | 
			
		||||
  "description": "Audiobook manager and player",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "audiobookshelf",
 | 
			
		||||
  "version": "0.9.73-beta",
 | 
			
		||||
  "version": "0.9.74-beta",
 | 
			
		||||
  "description": "Self-hosted audiobook server for managing and playing audiobooks.",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
 | 
			
		||||
@ -200,6 +200,7 @@ class Scanner {
 | 
			
		||||
        audiobook.book.cover = results[0]
 | 
			
		||||
        await this.db.updateAudiobook(audiobook)
 | 
			
		||||
        found++
 | 
			
		||||
        this.emitter('audiobook_updated', audiobook.toJSONMinified())
 | 
			
		||||
      } else {
 | 
			
		||||
        notFound++
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user