[no Bug] - TV scheduled recording does not stop in some cases

Discussion in '1.9.0 Pre Release' started by marttoma, September 6, 2014.

  1. marttoma
    • Premium Supporter

    marttoma MP Donator

    Joined:
    March 24, 2014
    Messages:
    282
    Likes Received:
    31
    Gender:
    Male
    Location:
    Praha
    Ratings:
    +69 / 6
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    When I set up TV recording based on EPG, in some cases some TV recordings dont stop after the time, when it should.
    I spent hours of research why, first I had feeling it is EPG issue, now I think it is related to Win 8.1 and to scheduler and to active EPG grabbing.



    I was testing for both EPG grabbing cases - while timeshiftting/recording and when idle. It happens in both cases, more in case of while timeshiftting/recording (probably due to fact MP is in timeshifting/recording mode much more then in idle).

    It strange some TV records based on EPG and scheduler finish correclty and some of them not. I can see in manual control (in TV Server configuration tool) these "not ending" recordings even they should be already stopped duet to end of time, but they are there (there is scheduler user for such each "not ending" recording).

    I think this issue happens only during EPG grabiing (this is my feeling), but by now I dont have proofi for such statement.

    I have fresh Win 8.1Pro intallation with latest Windows patches and drivers.


    Steps to reproduce (option 1 - EPG grabbing while timeshiftting/recording):
    • Start MP with EPG grabbing while timeshiftting/recording
    • Set up TV recording based on EPG - each TV records shoud start latter to let MP go to sleep mode by remote
    • Put MP to sleep mode by remote control
    • MP wake up when 1st TV records shouls start
    • MP does not go to sleep when all records should finish due to the "not ending recording" of some channels

    Steps to reproduce (option 2 - EPG grabbing when idle):
    • same process as in option 1 above (EPG grabbing while timeshiftting/recording)

    In both cases there is red label on top of the MP which indicated active TV recording, but in reality the program, which should be recorded already finish and MP should stop the TV recording automatically.
    In some cases there is another issue - remote control freezes (I saw this 2 times within last 2 weeks of intensive testing).
    In some cases also MP freezes when such issue with TV not ending recording happen.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    • Thank You! Thank You! x 1
  4. marttoma
    • Premium Supporter

    marttoma MP Donator

    Joined:
    March 24, 2014
    Messages:
    282
    Likes Received:
    31
    Gender:
    Male
    Location:
    Praha
    Ratings:
    +69 / 6
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    Hello,

    is this problem on Windows 8.1 only or also on Win 8 and Win7?

    During the night I was testing this issue without EPG (I completly switch off PEG grabbing as I had feeling it somehow goes together), but I have this issue as well - new log attached.

    Martin
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    Only on W8+ as far as I know.

    Do you use Comskip?
     
  6. marttoma
    • Premium Supporter

    marttoma MP Donator

    Joined:
    March 24, 2014
    Messages:
    282
    Likes Received:
    31
    Gender:
    Male
    Location:
    Praha
    Ratings:
    +69 / 6
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    No, I dont use it. I have currently just 2 plugins intalled - Titan and LAV filters.
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    I mean Comskip the TV Server plugin, not an MP plugin. Comskip comes with TV Server, so it is already installed. The question is: have you enabled it.
     
  8. marttoma
    • Premium Supporter

    marttoma MP Donator

    Joined:
    March 24, 2014
    Messages:
    282
    Likes Received:
    31
    Gender:
    Male
    Location:
    Praha
    Ratings:
    +69 / 6
    Home Country:
    Czech Republic Czech Republic
    Show System Specs
    I have just PowerScheduler enabled in TV server, nothing else - so I dont use Comskip.

    Fyi - now I am testing TV server without PowerScheduler (so no plugin in TV Server activated) - I will know the result 1 hour latter.[DOUBLEPOST=1410082466][/DOUBLEPOST]
    I got same TV server behaviour (not ending TV recording) even Power Scheduler is disabled (so I had no plugin enabled in TV server).



    Is this issue same one as the MP1-4559?
     
    Last edited: September 7, 2014
  9. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    No.
     
  10. elliottmc
    • Team MediaPortal

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Can you reproduce this more or less every time? If so, it might be worth trying to add some logging to MP to give more information about what is going on.

    It would be good to know if we are checking whether it is time to stop recording and the check fails, or whether we do not check at all.
     
    • Like Like x 1
  11. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,518
    Likes Received:
    4,730
    Ratings:
    +8,196 / 17
    Home Country:
    New Zealand New Zealand
    I note that if the problem is similar to or the same as the issue I previously linked, it wouldn't be consistently reproducible until the scheduler thread dies or gets deadlocked (or whatever happens to it). After that time no recordings would start or stop. I added logging to the scheduler thread in the patches here:
    https://forum.team-mediaportal.com/threads/recording-tv-just-stopped-help.122676/page-6#post-1048254
    https://forum.team-mediaportal.com/threads/recording-tv-just-stopped-help.122676/page-7#post-1058327

    Sorry, no patches currently available for MP 1.7 or newer.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!