mirror of
				https://github.com/rofafor/vdr-plugin-satip.git
				synced 2023-10-10 11:37:42 +00:00 
			
		
		
		
	Reset device name when the device is idling.
This commit is contained in:
		
							
								
								
									
										2
									
								
								device.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								device.c
									
									
									
									
									
								
							@@ -210,6 +210,8 @@ cString cSatipDevice::DeviceType(void) const
 | 
				
			|||||||
cString cSatipDevice::DeviceName(void) const
 | 
					cString cSatipDevice::DeviceName(void) const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  debug16("%s [device %u]", __PRETTY_FUNCTION__, deviceIndexM);
 | 
					  debug16("%s [device %u]", __PRETTY_FUNCTION__, deviceIndexM);
 | 
				
			||||||
 | 
					  if (!Receiving())
 | 
				
			||||||
 | 
					     return cString::sprintf("%s %d", *DeviceType(), deviceIndexM);
 | 
				
			||||||
  return deviceNameM;
 | 
					  return deviceNameM;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user