[confirm] Unknown error when tuning in to the same channel twice (1 Viewer)

insan3

Portal Member
May 25, 2009
47
1
MediaPortal Version: 1.10RC1
MediaPortal Skin:
Windows Version: Server 2008R2
CPU Type: Athlon 4400e
HDD:
Memory: 4GB
Motherboard:
Video Card:
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Terratec Cinergy C
1. TV Card Type: dvb-c
1. TV Card Driver: latest

Since i have upgraded my tv server to 1.10 RC 1 i get the really helpfull error "unknown error occured". This happens on the tv server when I want to wacht the channel I watched the last time. For example, I am watching rtl4, then stop watching. And one minute later i want to see rtl4 again -> "Unknown error occored". When i tune in to another channel and back to rtl4 no problem.


Edit: Removed logs, they are now posted as files.
 

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
Please post all logs as attachments instead of inline. You can use the Mediaportal logs collector for that.
 

jaymode

Portal Pro
July 31, 2008
58
1
Home Country
United States of America United States of America
I went ahead and applied the fixes from the ATSC thread to the DVBC code and compiled the dll. insan3, can you test the attached TVLibrary.dll?

Stop TVServer, navigate to C:\Program Files\Team Mediaportal\TVServer, rename TVLibrary.dll to something like TVLibrary.dll.orig and copy the attached TVLibrary to the same directory.

Patch/diff:
Code:
Index: TVLibrary/Implementations/DVB/Graphs/ATSC/TvCardATSC.cs
===================================================================
--- TVLibrary/Implementations/DVB/Graphs/ATSC/TvCardATSC.cs	(revision 25080)
+++ TVLibrary/Implementations/DVB/Graphs/ATSC/TvCardATSC.cs	(working copy)
@@ -191,7 +191,7 @@
           BuildGraph();
         }
         ITvSubChannel ch;
-        if (_previousChannel == null || _previousChannel.IsDifferentTransponder(atscChannel))
+        if (_previousChannel == null)
         {
           Log.Log.WriteFile("atsc:using new channel tuning settings");
           ITuneRequest request;
Index: TVLibrary/Implementations/DVB/Graphs/DVBC/TvCardDVBC.cs
===================================================================
--- TVLibrary/Implementations/DVB/Graphs/DVBC/TvCardDVBC.cs	(revision 25080)
+++ TVLibrary/Implementations/DVB/Graphs/DVBC/TvCardDVBC.cs	(working copy)
@@ -200,7 +200,7 @@
         }
       }
       ITvSubChannel ch;
-      if (_previousChannel == null || _previousChannel.IsDifferentTransponder(dvbcChannel))
+      if (_previousChannel == null)
       {
         //_pmtPid = -1; 
         ILocator locator;
Index: TVLibrary/Implementations/DVB/Graphs/TvCardDvbBase.cs
===================================================================
--- TVLibrary/Implementations/DVB/Graphs/TvCardDvbBase.cs	(revision 25080)
+++ TVLibrary/Implementations/DVB/Graphs/TvCardDvbBase.cs	(working copy)
@@ -638,7 +638,7 @@
         }
         _conditionalAccess.OnStopGraph();
         // *** this should be removed when solution for graph start problem exists
-        if (DebugSettings.ResetGraph)
+        if (DebugSettings.ResetGraph || _cardType == CardType.Atsc || _cardType == CardType.DvbC)
           Decompose();
         else
           _graphState = GraphState.Created;
 

Attachments

  • TVLibrary.zip
    30.6 KB

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
I don't see why these modifications should fix this. But please try. The problem is a tune to the transponder on which your card is already tuned can not be handled. That returns error 0x1. I once made a hack for Vista TV Pack to ignore this 0x1 error result on tune, that could be tried since it worked then. Please remind: That is not a solution, only a hack.
 

jaymode

Portal Pro
July 31, 2008
58
1
Home Country
United States of America United States of America
I don't see why these modifications should fix this. But please try. The problem is a tune to the transponder on which your card is already tuned can not be handled. That returns error 0x1. I once made a hack for Vista TV Pack to ignore this 0x1 error result on tune, that could be tried since it worked then. Please remind: That is not a solution, only a hack.

I also tried to ignore the 0x1 error for ATSC when I first ran into this problem and it would not work. According to previous reports it did work for the MP 1.0.2 code and Vista TV Pack.
 

insan3

Portal Member
May 25, 2009
47
1
Jay,
I tried the dll from you post and it didn't work. I know 2008R2 is not supported but it has worked in the past with no problem. 2008R2 is just a version of win7 without BDA support. And i installed the BDA support using a BDA package.
 

Users who are viewing this thread

Top Bottom