[TV] Unable to record/watch consecutive shows on the same channel (1 Viewer)

jaymode

Portal Pro
July 31, 2008
58
1
United States of America United States of America
So it looks like Whurlston's patch may no longer function properly; there were some changes to the code since RC1 to fix freeing sub channels. I don't currently have time to investigate :(, but maybe someone else does?
 

whurlston

Portal Pro
March 4, 2007
82
10
United States of America United States of America
I'll try to look into it again but it may not be until the weekend. Since I'm not actually an MP user, I have other things higher on the priority list, sorry.
 

Andrew H

MP Donator
  • Premium Supporter
  • September 8, 2007
    576
    42
    Alabama
    United States of America United States of America
    Country flag
    So it looks like Whurlston's patch may no longer function properly; there were some changes to the code since RC1 to fix freeing sub channels. I don't currently have time to investigate :(, but maybe someone else does?
    Are you saying this because your testing has also flushed this out, or simply because of the update I posted on my last post? Are you still using the patch with RC1 or are you now on RC2 as well?

    whurlston - Any help would surely be appreciated... I can't understand why more ATSC users aren't complaining although it sounds like it's a Win 7 issue and folks on XP are not experiencing this; moreover, it seems a good many of the developers are international and do not own ATSC tuners! Thanks for your help on this... so far this week I'm back using the default MP 1.1.0.0 RC2 download (no patch to the TVLibrary.dll) and using the "--DebugOptions with Reset Graph" and the default Generic Network Provider (not the ATSC change on the Tuner card) and it seems to be doing well! I've thrown a few "triple" scheduling overlaps and the scheduler keeps looking for a tuner every few seconds and will actually record once one becomes available. So it seems using the Reset Graph option is key in finding a true code fix.

    bnsaflsujt - How are you coming along? You posted using the initial patch under RC1 - how are you finding RC2 or have you upgraded?

    elliottmc - Mark, any progress on getting the team to address this as an official item in the bug-tracker? And, YES, I have found the "fix" has restored my ATSC tuners' ability to tune the same channel (same exact major with minor subchannel) back-to-back... thanks for pointing me in the right direction!

    I have been a proponent of MediaPortal and been using the program for several years now - you developers do one fantastic job pulling together the code and fixes for so many countries, broadcast formats, hardware cards, Operating Systems... THANKS!
     

    whurlston

    Portal Pro
    March 4, 2007
    82
    10
    United States of America United States of America
    So it seems using the Reset Graph option is key in finding a true code fix.
    It was definitely one of the key parts of my previous patch. My patch forced that option for ATSC cards. If just changing that setting fixes the issue for you, it should be easy to patch it. I should have a new patch by tomorrow for you.
     

    jaymode

    Portal Pro
    July 31, 2008
    58
    1
    United States of America United States of America
    So it looks like Whurlston's patch may no longer function properly; there were some changes to the code since RC1 to fix freeing sub channels. I don't currently have time to investigate :(, but maybe someone else does?
    Are you saying this because your testing has also flushed this out, or simply because of the update I posted on my last post? Are you still using the patch with RC1 or are you now on RC2 as well?
    I have not had the chance to test this, but I was a little concerned when applying whurlston's patch and noticing the differences in the tuning code and that combined with your results led to that statement/thought.
     

    whurlston

    Portal Pro
    March 4, 2007
    82
    10
    United States of America United States of America
    I just tested RC2 and the changes to the subchannel handling seems to have fixed one of the issues. My patch for TvCardAtsc.cs is no longer needed but the graph still does not get disposed properly. Setting the "Reset Graph on stop" debug option does solve the other issue as Andrew mentioned or you can use the TvCardDvbBase.cs patch to force it. I don't really see the need to apply a patch simply for that since it is an option that can be set. But if you wanted to do so, here is the patch to force the option for ATSC cards with updated line numbers for SVN 25546:

    Code:
    Index: Implementations/DVB/Graphs/TvCardDvbBase.cs
    ===================================================================
    --- Implementations/DVB/Graphs/TvCardDvbBase.cs	(revision 25546)
    +++ Implementations/DVB/Graphs/TvCardDvbBase.cs	(working copy)
    @@ -692,7 +692,7 @@
             }
             _conditionalAccess.OnStopGraph();
             // *** this should be removed when solution for graph start problem exists
    [COLOR="Red"]-        if (DebugSettings.ResetGraph)[/COLOR]
    [COLOR="DarkGreen"]+        if (DebugSettings.ResetGraph || _cardType == CardType.Atsc)[/COLOR]
               Decompose();
             else
               _graphState = GraphState.Created;
    Unfortunately, I don't really have the time at the moment for debugging why the graph is not disposed properly but I'll try to tackle it whenever I have a few minutes to spare here and there.
     

    Andrew H

    MP Donator
  • Premium Supporter
  • September 8, 2007
    576
    42
    Alabama
    United States of America United States of America
    Country flag
    elliottmc - Mark, any progress on getting the team to address this as an official item in the bug-tracker? And, YES, I have found the "fix" has restored my ATSC tuners' ability to tune the same channel (same exact major with minor subchannel) back-to-back... thanks for pointing me in the right direction!
    elliottmc - any progress on getting a bugfix assigned? Seems this issue was also being "worked/discussed" over on this [fixed] Scheduled Recordings Did not record thread without generating a true bugfix either -- see the last post by riksmith where he believed a test.dll patch had fixed it. (And, it did for RC1 but nothing's been incorporated into the RC2/RC3 code yet.) Thanks!
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Netherlands Netherlands
    Seems this issue was also being "worked/discussed" over on this [fixed] Scheduled Recordings Did not record thread without generating a true bugfix either -- see the last post by riksmith where he believed a test.dll patch had fixed it. (And, it did for RC1 but nothing's been incorporated into the RC2/RC3 code yet.) Thanks!
    That sounds a bit strange, if it was fixed in RC1 the code still is in RC2. Only possibility then is something else broke it again.
     

    riksmith

    Portal Pro
    April 18, 2009
    1,856
    322
    Netherlands Netherlands
    So i have been reading up on this topic, but in the last two pages i get completely lost. Who is having problems now, and what are they?

    So please tho the following:

    1. If you have a problem, post ALL logs containing one failing scenario and describe exactly what you did. (Andrew H: your file on the previous page is that big that i didn't even spot an issue) SO: Clean all logs before you start.
    2. Please test with clean RC2, we can't fix issues which are part of a patch that is not in official code, and also whurlston seems to suggest that his patch isn't even necessary.
     

    Andrew H

    MP Donator
  • Premium Supporter
  • September 8, 2007
    576
    42
    Alabama
    United States of America United States of America
    Country flag
    Let me clarify and THANKS for all your help! The test.dll patch was a TVLibrary.dll (in the form of a .zip attachment) that was made available after RC1 was published. Folks evaluated test versions of TVLibrary.dll from this and the other thread and found the changes got ATSC tuners working... then on 4/14/10 RC2 was published. Since no one generated a bugfix the 'testing' done by folks on both of these threads has no way to get incorporated into the next RC, namely RC3.

    I can see why it's difficult to pull these patches together - we post the issues on many different sub-groups and sometimes arrive at the same conclusion. I'm tring to speak out for ATSC users and asking for a bugfix so this can be fixed without having to use the ResetGraph Debug option.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    R [solved] Unable to delete single recording General 2
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    porky996t Still Unable to play Live or Recorded TV General Support 4
    megahorst Unable to delete unseen recording while TV runs in the background 1.19 11
    D Unable to install 1.22 on Win 10 Newcomers Forum 9
    H Unable to play stream - again... Television (MyTV frontend and TV-Server) 2
    V Unable to stream : 10 General Support 0
    B Suddenly MP is unable to play anything Watch / Listen Media 6
    M Unable to map virtual sent keys in the input device management General 6
    T [solved] "Unable To Play" (Videos) rears it's head again. Logs not possible... WatchDog error attached!! :( General Support 1
    B Unable to play: Live3-0.ts issue General Support 7
    A Unable to play :stream 3 Television (MyTV frontend and TV-Server) 1
    badboyxx Unable to play BD-Iso watch/edit Videos 7
    Steve.Rayner61 TV "Unable to play" on Client - Working until Win 10 Server upgraded to Version 1803 Television (MyTV frontend and TV-Server) 5
    toricred Recordings Change : to _ in Series Name General 0
    P Recording films that have an "intermission" General 2
    H MP2 database won't keep in synch with recordings General 3
    toricred Only Show Actual Recordings General 1
    ajs How recreate Recording thumbs TV-Server 4
    CyberSimian [Proposal] Tool to display time of next recording MediaPortal 1 0
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    R Correct setting for recordings on shared folder General 0
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    Similar threads

























    Top Bottom