mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Instantiate AttachmentExtractor in ApplicationHost.
This commit is contained in:
		
							parent
							
								
									12f752d8b1
								
							
						
					
					
						commit
						a9a85f251e
					
				@ -282,6 +282,8 @@ namespace Emby.Server.Implementations
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        private ISubtitleEncoder SubtitleEncoder { get; set; }
 | 
					        private ISubtitleEncoder SubtitleEncoder { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private IAttachmentExtractor AttachmentExtractor { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private ISessionManager SessionManager { get; set; }
 | 
					        private ISessionManager SessionManager { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private ILiveTvManager LiveTvManager { get; set; }
 | 
					        private ILiveTvManager LiveTvManager { get; set; }
 | 
				
			||||||
@ -904,6 +906,10 @@ namespace Emby.Server.Implementations
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            serviceCollection.AddSingleton(typeof(IResourceFileManager), typeof(ResourceFileManager));
 | 
					            serviceCollection.AddSingleton(typeof(IResourceFileManager), typeof(ResourceFileManager));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            serviceCollection.AddSingleton(AttachmentExtractor);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            _displayPreferencesRepository.Initialize();
 | 
					            _displayPreferencesRepository.Initialize();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var userDataRepo = new SqliteUserDataRepository(LoggerFactory, ApplicationPaths);
 | 
					            var userDataRepo = new SqliteUserDataRepository(LoggerFactory, ApplicationPaths);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user