mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed handling receivers in the 'sky' plugin
This commit is contained in:
		
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							@@ -2671,3 +2671,5 @@ Video Disk Recorder Revision History
 | 
			
		||||
  from www.bleb.org.
 | 
			
		||||
- Limited automatic retuning to devices that actually provide the transponder
 | 
			
		||||
  (necessary for the 'sky' plugin).
 | 
			
		||||
- Fixed handling receivers in the 'sky' plugin, so that a recording on the same
 | 
			
		||||
  channel won't interrupt an ongoing Transfer mode.
 | 
			
		||||
 
 | 
			
		||||
@@ -22,3 +22,5 @@ VDR Plugin 'sky' Revision History
 | 
			
		||||
- Now using the actual channel IDs a derived from the data stream.
 | 
			
		||||
- Switched EPG data retrieval to http://www.bleb.org.
 | 
			
		||||
- Added automatic DST detection to getskyepg.pl.
 | 
			
		||||
- Fixed handling receivers, so that a recording on the same channel
 | 
			
		||||
  won't interrupt an ongoing Transfer mode.
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 * See the README file for copyright information and how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: sky.c 1.5 2004/02/15 12:40:22 kls Exp $
 | 
			
		||||
 * $Id: sky.c 1.6 2004/02/15 14:59:46 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
@@ -199,7 +199,7 @@ bool cDigiboxDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool
 | 
			
		||||
 | 
			
		||||
  cSkyChannel *SkyChannel = SkyChannels.GetSkyChannel(Channel);
 | 
			
		||||
  if (SkyChannel) {
 | 
			
		||||
     if (Receiving()) {
 | 
			
		||||
     if (Receiving(true)) {
 | 
			
		||||
        if (digiboxChannelNumber == SkyChannel->digiboxChannelNumber) {
 | 
			
		||||
           needsDetachReceivers = false;
 | 
			
		||||
           result = true;
 | 
			
		||||
@@ -217,7 +217,7 @@ bool cDigiboxDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool
 | 
			
		||||
 | 
			
		||||
bool cDigiboxDevice::SetChannelDevice(const cChannel *Channel, bool LiveView)
 | 
			
		||||
{
 | 
			
		||||
  if (fd_lirc >= 0 && !Receiving()) { // if we are receiving the channel is already set!
 | 
			
		||||
  if (fd_lirc >= 0 && !Receiving(true)) { // if we are receiving the channel is already set!
 | 
			
		||||
     cSkyChannel *SkyChannel = SkyChannels.GetSkyChannel(Channel);
 | 
			
		||||
     if (SkyChannel) {
 | 
			
		||||
        digiboxChannelNumber = SkyChannel->digiboxChannelNumber;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user