mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Update DlnaManager.cs
This commit is contained in:
		
							parent
							
								
									eedb520af1
								
							
						
					
					
						commit
						b673f5bcde
					
				@ -140,6 +140,14 @@ namespace Emby.Dlna
 | 
			
		||||
 | 
			
		||||
        private bool IsMatch(DeviceIdentification deviceInfo, DeviceIdentification profileInfo)
 | 
			
		||||
        {
 | 
			
		||||
            if (!string.IsNullOrEmpty(profileInfo.FriendlyName))
 | 
			
		||||
            {
 | 
			
		||||
                if (deviceInfo.FriendlyName == null || !IsRegexMatch(deviceInfo.FriendlyName, profileInfo.FriendlyName))
 | 
			
		||||
                {
 | 
			
		||||
                    return false;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            if (!string.IsNullOrEmpty(profileInfo.Manufacturer))
 | 
			
		||||
            {
 | 
			
		||||
                if (deviceInfo.Manufacturer == null || !IsRegexMatch(deviceInfo.Manufacturer, profileInfo.Manufacturer))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user