mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed assigning schedules to channels in case there is no initial EPG information
This commit is contained in:
		| @@ -1958,3 +1958,4 @@ Norbert Wentz <norbert.wentz@online.de> | ||||
|  | ||||
| Frank Schmirler <vdr@schmirler.de> | ||||
|  for fixing handling client side termination of SVDRP connections | ||||
|  for fixing assigning schedules to channels in case there is no initial EPG information | ||||
|   | ||||
							
								
								
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -4834,3 +4834,8 @@ Video Disk Recorder Revision History | ||||
|   have a dedicated minimum or maximum limit (suggested by Andy Grobb). Looping is | ||||
|   only done for normal keypresses, not for repeated ones. This allows the user to | ||||
|   scroll the value all the way to the limit by keeping the key pressed. | ||||
|  | ||||
| 2006-07-29: Version 1.4.1-3 | ||||
|  | ||||
| - Fixed assigning schedules to channels in case there is no initial EPG information | ||||
|   (thanks to Frank Schmirler). | ||||
|   | ||||
							
								
								
									
										4
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config.h
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: config.h 1.262 2006/06/24 09:08:46 kls Exp $ | ||||
|  * $Id: config.h 1.263 2006/07/29 09:40:41 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __CONFIG_H | ||||
| @@ -21,7 +21,7 @@ | ||||
|  | ||||
| // VDR's own version number: | ||||
|  | ||||
| #define VDRVERSION  "1.4.1-2" | ||||
| #define VDRVERSION  "1.4.1-3" | ||||
| #define VDRVERSNUM   10401  // Version * 10000 + Major * 100 + Minor | ||||
|  | ||||
| // The plugin API's version number: | ||||
|   | ||||
							
								
								
									
										5
									
								
								epg.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								epg.c
									
									
									
									
									
								
							| @@ -7,7 +7,7 @@ | ||||
|  * Original version (as used in VDR before 1.3.0) written by | ||||
|  * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. | ||||
|  * | ||||
|  * $Id: epg.c 1.77 2006/07/22 10:13:34 kls Exp $ | ||||
|  * $Id: epg.c 1.78 2006/07/29 09:38:55 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "epg.h" | ||||
| @@ -1035,6 +1035,9 @@ cSchedule *cSchedules::AddSchedule(tChannelID ChannelID) | ||||
|   if (!p) { | ||||
|      p = new cSchedule(ChannelID); | ||||
|      Add(p); | ||||
|      cChannel *channel = Channels.GetByChannelID(ChannelID); | ||||
|      if (channel) | ||||
|         channel->schedule = p; | ||||
|      } | ||||
|   return p; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user