mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	The EPG scanner no longer moves the dish if there is a positioner
This commit is contained in:
		
							
								
								
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							@@ -8596,7 +8596,7 @@ Video Disk Recorder Revision History
 | 
			
		||||
- Bumped all version numbers to 2.2.0.
 | 
			
		||||
- Official release.
 | 
			
		||||
 | 
			
		||||
2015-09-08: Version 2.3.1
 | 
			
		||||
2015-09-10: Version 2.3.1
 | 
			
		||||
 | 
			
		||||
- The new function cOsd::MaxPixmapSize() can be called to determine the maximum size
 | 
			
		||||
  a cPixmap may have on the current OSD. The 'osddemo' example has been modified
 | 
			
		||||
@@ -8808,3 +8808,4 @@ Video Disk Recorder Revision History
 | 
			
		||||
- The SVDRP command DELT no longer checks whether the timer that shall be deleted
 | 
			
		||||
  is currently recording.
 | 
			
		||||
- The character 0x0D is now stripped from EPG texts (reported by Janne P<>nk<6E>l<EFBFBD>).
 | 
			
		||||
- The EPG scanner no longer moves the dish if there is a positioner.
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: eitscan.c 4.1 2015/07/18 10:16:51 kls Exp $
 | 
			
		||||
 * $Id: eitscan.c 4.2 2015/09/10 11:05:03 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "eitscan.h"
 | 
			
		||||
@@ -151,6 +151,10 @@ void cEITScanner::Process(void)
 | 
			
		||||
                         if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
 | 
			
		||||
                            if (Device->ProvidesTransponder(Channel)) {
 | 
			
		||||
                               if (Device->Priority() < 0) {
 | 
			
		||||
                                  if (const cPositioner *Positioner = Device->Positioner()) {
 | 
			
		||||
                                     if (Positioner->LastLongitude() != cSource::Position(Channel->Source()))
 | 
			
		||||
                                        continue;
 | 
			
		||||
                                     }
 | 
			
		||||
                                  bool MaySwitchTransponder = Device->MaySwitchTransponder(Channel);
 | 
			
		||||
                                  if (MaySwitchTransponder || Device->ProvidesTransponderExclusively(Channel) && now - lastActivity > Setup.EPGScanTimeout * 3600) {
 | 
			
		||||
                                     if (!MaySwitchTransponder) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user