TvEngine3/TVLibrary/TvService/Epg/EpgCard.cs | 4 ++-- TvEngine3/TVLibrary/TvService/Epg/EpgGrabber.cs | 8 ++++---- TvEngine3/TVLibrary/TvService/TVController.cs | 9 +++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/TvEngine3/TVLibrary/TvService/Epg/EpgCard.cs b/TvEngine3/TVLibrary/TvService/Epg/EpgCard.cs index bc1e0a6..13fe079 100644 --- a/TvEngine3/TVLibrary/TvService/Epg/EpgCard.cs +++ b/TvEngine3/TVLibrary/TvService/Epg/EpgCard.cs @@ -385,11 +385,11 @@ namespace TvService return false; } //remove following check to enable multi-card epg grabbing (still beta) - if (_tvController.AllCardsIdle == false) + /*if (_tvController.AllCardsIdle == false) { Log.Epg("Epg: card:{0} cards are not idle", Card.IdCard); return false; - } + }*/ TvResult result = TvResult.UnknownError; //handle ATSC diff --git a/TvEngine3/TVLibrary/TvService/Epg/EpgGrabber.cs b/TvEngine3/TVLibrary/TvService/Epg/EpgGrabber.cs index 9a5f393..d237896 100644 --- a/TvEngine3/TVLibrary/TvService/Epg/EpgGrabber.cs +++ b/TvEngine3/TVLibrary/TvService/Epg/EpgGrabber.cs @@ -227,8 +227,8 @@ namespace TvService } catch (InvalidOperationException) {} - if (_tvController.AllCardsIdle == false) - return; + /*if (_tvController.AllCardsIdle == false) + return;*/ foreach (EpgCard card in _epgCards) { //Log.Epg("card:{0} grabbing:{1}", card.Card.IdCard, card.IsGrabbing); @@ -236,8 +236,8 @@ namespace TvService return; if (card.IsGrabbing) continue; - if (_tvController.AllCardsIdle == false) - return; + /*if (_tvController.AllCardsIdle == false) + return;*/ GrabEpgOnCard(card); } } diff --git a/TvEngine3/TVLibrary/TvService/TVController.cs b/TvEngine3/TVLibrary/TvService/TVController.cs index f6e779b..e289b14 100644 --- a/TvEngine3/TVLibrary/TvService/TVController.cs +++ b/TvEngine3/TVLibrary/TvService/TVController.cs @@ -2471,10 +2471,10 @@ namespace TvService finally { CardReservationHelper.CancelAllCardReservations(tickets, CardCollection); - if (!HasTvSucceeded(result)) - { + //if (!HasTvSucceeded(result)) + //{ StartEPGgrabber(); - } + //} if (card != null) { cardChanged = card.Id != oldCardId; @@ -2918,7 +2918,8 @@ namespace TvService private void StartEPGgrabber() { - if (_epgGrabber != null && AllCardsIdle) + //if (_epgGrabber != null && AllCardsIdle) + if (_epgGrabber != null) { Log.Write("Controller: epg start"); _epgGrabber.Start();