mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	cTimer::TriggerRespawn() now only acts on local timers
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -9639,3 +9639,4 @@ Video Disk Recorder Revision History | ||||
| - Fixed MakePatternFileName() in case the event doesn't yet have a short text (reported | ||||
|   by J<>rgen Schneider). | ||||
| - No longer switching devices for pattern timers (thanks to Helmut Binder). | ||||
| - cTimer::TriggerRespawn() now only acts on local timers. | ||||
|   | ||||
							
								
								
									
										4
									
								
								timers.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								timers.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: timers.c 5.8 2021/04/06 09:50:30 kls Exp $ | ||||
|  * $Id: timers.c 5.9 2021/04/06 14:25:05 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "timers.h" | ||||
| @@ -795,7 +795,7 @@ bool cTimer::AdjustSpawnedTimer(void) | ||||
|  | ||||
| void cTimer::TriggerRespawn(void) | ||||
| { | ||||
|   if (HasFlags(tfSpawned) || IsPatternTimer()) { | ||||
|   if (Local() && HasFlags(tfSpawned) || IsPatternTimer()) { | ||||
|      if (Channel()) { | ||||
|         LOCK_CHANNELS_READ; | ||||
|         if (const cSchedule *Schedule = Channel()->Schedule()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user