LiveTV freeze when recording on other channel starts (1 Viewer)

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
Thanks. I always have a nagging doubt I'm failing to understand how these things work when reporting bugs, so I'm glad to hear I wasn't.
 

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
I've updated to 1.1.1 now and things seem to be worse.

I was watching something earlier and this happened. As far as I could tell from the guide, there was only one recording scheduled, so no reason why the other tuner couldn't have continued showing the channel I was watching.

It happened again just now, whilst I was watching Question Time on BBC1. This time it was understandable as I was recording something on FIVER at the same time and another recording started on BBC4, but it normally notifies me if it has to stop timeshifting because of a scheduled recording, and it didn't.
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Would need a dev to comment on this but you have errors
    Code:
    2010-10-07 21:37:23.796875 [ERROR][(8)]: Exception   :Unable to cast COM object of type 'TsReader' to interface type 'ITSReader'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B9559486-E1BB-45D3-A2A2-9A7AFE49B24F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    2010-10-07 21:37:23.796875 [ERROR][(8)]:   site      :Int32 SetMediaPosition(Int64)
    2010-10-07 21:37:23.796875 [ERROR][(8)]:   source    :Core
    2010-10-07 21:37:23.812500 [ERROR][(8)]:   stacktrace:   at MediaPortal.Player.BaseTSReaderPlayer.ITSReader.SetMediaPosition(Int64 MediaPos)
       at MediaPortal.Player.BaseTSReaderPlayer.Process()
       at MediaPortal.Player.g_Player.Process()
       at MediaPortalApp.MPProcess()
    Happening quite often. This might suggest that TSReader has got corrupted somehow ? This should only be used when playing back items though.

    You have not replaced core.dll with any of the development ones lying around have you? is this the standard install version?


    There is mention of question time in your logs so I assume the logs were taken after it first happened. Can you let me know what programs you were watching / what time. Also you have not setup your card as a hybrid or done anything else non-standard have you?

    Also
    Code:
    2010-10-07 17:56:59.281250 [TVService(5)]: Controller: card MediaPortal IPTV Source Filter: current timeshiftpath = R:\
    Is R: a local drive or a mapped remote one?
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Ahhh probably found one.
    Code:
    2010-10-07 19:57:14.312500 [scheduler thread(9)]: card: StartRecording 3 D:\Record\Are You Fitter Than a Pensioner_ - (BBC THREE - 07-10-2010).ts
    Is a recording that is using card 3

    Then at 20:44 you tried to start watching BBC THREE
    Code:
    2010-10-07 20:44:31.250000 [(13)]: Controller:    card:2 type:DvbT is available priority:3 #users:0 same transponder:True
    2010-10-07 20:44:31.265625 [(13)]: Controller:    card:3 type:DvbT is available priority:2 #users:1 same transponder:True

    So at this point we have the recording from BBC THREE going on on card 3 and timeshifting on BBC THREE on card 2. When the recording starts on Channel 4 at 21:00
    Code:
    2010-10-07 20:57:02.093750 [scheduler thread(9)]: Scheduler: Time to record Channel 4 20:57-22:30 Dispatches: Bravo's Deadly Mission

    card 3 is already in use recording and card 2 is already in use timeshifting so card 2 is kicked
    Code:
    2010-10-07 20:57:02.140625 [scheduler thread(9)]: Controller: StopTimeShifting 2

    Which is what we saw before. What is not clear is to why the timeshifting is not using the same card as the recording.

    I take it when you tried to watch BBC THREE you just clicked on program in guide?
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    OK just went on my HTPC and recorded the current program on BBC ONE
    Code:
    2010-10-08 15:00:36.843750 [(21)]: Scheduler : record on free card:3 priority:4
    Then clicked on BBC TWO on guide (same transponder) and I get
    Code:
    2010-10-08 15:00:40.812500 [(21)]: card: CardTune 3 BBC TWO new_pvr:3:-1

    So on my system it is using the same tuner.

    Could you please test this on your system. If you pick two channels on the same transponder (BBC ONE and TWO are always on the same on on Freeview ?) and when no recordings are scheduled click record on one program and then go and play live TV on the other and post logs.

    Also then could you swap the order of the two DVB-T cards in TV Config and see if that makes a difference (I had a hunch that it may have been the order of the card; for me card 3 is default record and 4 is default timeshift but I just swapped them around on mine and tried the same test and both used card 4)

    The only difference in this test is that recording is started manually not via scheduler but want to see if your system does the same
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    You have not replaced core.dll with any of the development ones lying around have you? is this the standard install version?

    I'm pretty sure I hadn't replaced it before, but certainly not since updating to 1.1.1, which I assume would have installed a new standard copy.

    There is mention of question time in your logs so I assume the logs were taken after it first happened. Can you let me know what programs you were watching / what time. Also you have not setup your card as a hybrid or done anything else non-standard have you?

    No, I haven't set it up as hybrid or anything non-standard. I don't think programme names are shown in the logs when timeshifting, as opposed to recording, but I think Question Time is reflected by this line:
    2010-10-07 22:38:49.187500 [(20)]: Controller: find free card for channel BBC ONE

    Is R: a local drive or a mapped remote one?

    R: is a local RAMdisk.

    So at this point we have the recording from BBC THREE going on on card 3 and timeshifting on BBC THREE on card 2. When the recording starts on Channel 4 at 21:00

    card 3 is already in use recording and card 2 is already in use timeshifting so card 2 is kicked

    Which is what we saw before. What is not clear is to why the timeshifting is not using the same card as the recording.

    I take it when you tried to watch BBC THREE you just clicked on program in guide?

    OK, that explains why timeshifting stopped (sort of, as you say it shouldn't be using more than one card), but the main point I was trying to highlight is that I'm not getting the "Timeshift stopped due to sceduled recording" message I used to get, just a frozen picture, which clearly isn't right.

    I'm afraid I couldn't swear that I clicked on the guide to watch BBC THREE (I don't even remember watching it!) but I can't think that I would have done otherwise.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Could you please test this on your system. If you pick two channels on the same transponder (BBC ONE and TWO are always on the same on on Freeview ?) and when no recordings are scheduled click record on one program and then go and play live TV on the other and post logs.

    Also then could you swap the order of the two DVB-T cards in TV Config and see if that makes a difference (I had a hunch that it may have been the order of the card; for me card 3 is default record and 4 is default timeshift but I just swapped them around on mine and tried the same test and both used card 4)

    The only difference in this test is that recording is started manually not via scheduler but want to see if your system does the same

    OK, done that. As far as I can see, on both tests it used a separate card for BBC ONE and BBC TWO. On the second test, I also switched from timeshifting BBC TWO to BBC ONE (whilst it continued recording), and that still didn't use the card allocated to recording.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Hi,

    Please note that we are aware of issues with conflict management,

    0002850: Bugs in card allocation - MediaPortal Bugtracker

    and these will be fixed as soon as someone has time!

    However, thanks for reporting and I'll be interested if we can work out why jameson's system and yours do not behave the same.

    Best wishes,

    Mark

    Thanks, but I'm not sure this mantis entry covers the fact that MP isn't displaying the "Had to stop timeshifting" message and leaving the screen with a frozen picture, which I'm sure you'll agree isn't very user-friendly.
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    OK, done that. As far as I can see, on both tests it used a separate card for BBC ONE and BBC TWO.
    In the first logs one of your cards was in use when you started
    Code:
    2010-10-08 17:06:16.296875 [(20)]: Controller: find free card for channel BBC ONE
    Code:
    2010-10-08 17:06:16.312500 [(20)]: Controller:    card:2 type:DvbT is available priority:3 #users:1 same transponder:False
    which I guess was
    Code:
    2010-10-08 17:06:14.984375 [(4)]: EpgCard: allow grabbing for 390.265625 seconds on card 2
    2010-10-08 17:06:16.328125 [(20)]: epg cancelled due to start recording

    but either way given
    Code:
    2010-10-08 17:06:39.671875 [(18)]: Controller:    card:2 type:DvbT is available priority:3 #users:0 same transponder:True
    2010-10-08 17:06:39.671875 [(18)]: Controller:    card:3 type:DvbT is available priority:2 #users:1 same transponder:True
    it should have used the same card

    Could you try and disable one of the tuners. Then repeat the test. I would be interested to see whether it uses the card or tells you there is an active recording going on
     

    Users who are viewing this thread

    Top Bottom