Paused timeshift buffer lost due to a recording starting

Discussion in 'General Support' started by matjam, June 29, 2011.

  1. matjam

    matjam Portal Member

    Joined:
    September 11, 2009
    Messages:
    21
    Likes Received:
    2
    Ratings:
    +3 / 2
    Hi there,



    I've just encountered some behaviour which I think shouldn't happen.
    Here's the scenario:

    Two programmes:
    21:00hrs, BBC1, The Apprentice
    22:00hrs, BBC2, You're Fired

    We like to watch both programmes. I started watching the BBC1 show and paused it for about 20 minutes.
    Realising that I'd now miss the start of the 22:00 show on BBC2 I set that up to record, knowing that all of the 21:00 show will be in the timeshift buffer.
    However, when it came to 22:00, Mediaportal started recording the the BBC2 show, I still had 20 mins of BBC1 show in the buffer.
    Up popped the dialogue box warning me that my buffer would be lost. I thought that MP would just stop writing NEW content to the buffer and allow me to continue watching what was already in there (the rest of my BBC1 show).
    I was wrong. All the buffer was erased and I lost the remaining 20 mins of buffered programme due to a new recording.

    Do people think this is appropriate behaviour?

    Thanks,
    Matt.


    MediaPortal Version: 1.2.0 Alpha
    MediaPortal Skin: BlueWide
    Windows Version: XP SP3
    CPU Type: Intel 3.2
    HDD:
    Memory: 3.0Gb (DDR, 3200)
    Motherboard: HP Compaq dx6100
    Video Card: Asus HD 4350 (ATI)
    Video Card Driver: 9.8
    Sound Card: On Gfx card via HDMI
    Sound Card AC3:
    Sound Card Driver: Realtek 229
    1. TV Card: Compro S350
    1. TV Card Type: DVB-S
    1. TV Card Driver: 1366
    2. TV Card: Hauppauge Nova T (90002)
    2. TV Card Type: DVB-T
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: CyberLink
    MPEG2 Audio Codec:
    h.264 Video Codec: CyberLink
    Satelite/CableTV Provider: Astra 28.2E
    HTPC Case:
    Cooling:
    Power Supply:
    Remote: Hauppauge 45 button
    TV: Sony Bravia 32
    TV - HTPC Connection: HDMI -> HDMI
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hi Matt

    No, it doesn't sound ideal does it. It would be helpful to have some clarification about *exactly* what TV Server did and "thought" from a log perspective. Do you still have the logs or are you able to reproduce the behaviour again?

    mm
     
  4. matjam

    matjam Portal Member

    Joined:
    September 11, 2009
    Messages:
    21
    Likes Received:
    2
    Ratings:
    +3 / 2
    Hi mm.

    I'll have a look at what logs are around - I've not deliberately deleted any.
    I'll also see if I can reproduce it again.

    Cheers,
    Matt
     
  5. matjam

    matjam Portal Member

    Joined:
    September 11, 2009
    Messages:
    21
    Likes Received:
    2
    Ratings:
    +3 / 2
    OK. I've ran debug mode and extracted all existing logs.
    I've then removed all the logs from the zip from before yesterday.

    As stated in post #1, I paused Live TV @ appx 21:00 29/06/2011 for about 20 mins.
    So my buffer got clobbered at appx 21:57 (with pre-record) when BBC2 recording started.

    Any help would be greatly appreciated.

    When I get time I'll try and recreate.

    Thanks,
    Matt
     
  6. Wbunaarf
    • Team MediaPortal

    Wbunaarf Test Group

    Joined:
    December 9, 2005
    Messages:
    534
    Likes Received:
    89
    Location:
    Sweden
    Ratings:
    +98 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    Here's a clean set of logs.

    1. Scheduled a recording starting 00.15
    2. Started watching another show at ~23.59 and paused it
    3. Had a cup of tea
    4. Resumed watching at ~00.08
    5. At 00.12 (00.15 - 3 minutes pre-recording) MP switched from full screen TV to the main TV-view and stopped playback since a recording was starting

    //Johannes
     
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Thanks folks

    I'm at work at the moment but I'll take a look at the logs this evening.

    mm
     
  8. Wbunaarf
    • Team MediaPortal

    Wbunaarf Test Group

    Joined:
    December 9, 2005
    Messages:
    534
    Likes Received:
    89
    Location:
    Sweden
    Ratings:
    +98 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
  9. craigparris1

    craigparris1 Portal Pro

    Joined:
    May 20, 2008
    Messages:
    189
    Likes Received:
    15
    Ratings:
    +15 / 0
    Home Country:
    In my opinion, I think this is what should be expected (at least it's what I would expect). Yes, it's a bit frustrating, but in reality pausing live TV (and then being able to watch that buffer) is a function of LIVE TV, so if your live TV session ends (either by you stopping it, or by a scheduled recording on a different channel starting) I think it's only fair that the buffer is lost. I don't think I've ever had a PVR in the past that's let me watch a paused TV buffer after stopping the TV stream or changing channel, for example.

    Now what would be a nice feature is if MediaPortal gave you the choice to save the current buffer off as a "Recorded TV" episode, then you could come back and watch it anytime .....
     
  10. Wbunaarf
    • Team MediaPortal

    Wbunaarf Test Group

    Joined:
    December 9, 2005
    Messages:
    534
    Likes Received:
    89
    Location:
    Sweden
    Ratings:
    +98 / 0
    Home Country:
    Sweden Sweden
    Show System Specs
    While I'm not surprised either that the buffer is dropped, I still believe it could be a great feature to keep it. I have never seen a PVR with this ability either, but on the other hand I have never seen a PVR with all the other possibilities MP has..

    My preferred behaviour would be to have a requester pop up with a question like 'Live TV is about to be stopped due to a recording. Do you wish to keep watching the available buffer?'.

    //W
     
  11. infinite.loop
    • Premium Supporter

    infinite.loop Retired Team Member

    Joined:
    December 26, 2004
    Messages:
    16,163
    Likes Received:
    3,861
    Gender:
    Male
    Location:
    127.0.0.1
    Ratings:
    +4,154 / 7
    Home Country:
    Austria Austria
    Show System Specs
    TV-Server will only kick a user / stop LiveTv if it has been configured to do so -> allow tv-server to stop livetv when no free tv card is available

    So atm. you only have 2 choices to avoid the reported problem:
    1. install more TV-Cards
    2. disable that option, but end up with an incomplete recording

    -------------------------------------------------------------------------------------------

    Continuing to playback the buffer to the point where the tv-server started to tune a different channel seems like a good idea.

    I would propose this behaviour:
    1. user tunes ChanA
    2. user pauses LiveTv for 30 minutes
    3. user continues to watch LiveTV and has 30minutes of buffer ahead
    4. tv-server has to record on ChanB. ChanB is not on the same transponder as ChanA, there is no free tv-card, tv-server is configured to stop livetv and do the recording
    5. user is notified that tv-server just tuned to a different channel, and that he can only watch the buffer to the end - user has to "okay" that dialog to ensure he did not miss it
    6. at the end of the buffer user is asked if he wants to watch the recorded (or in progress recording)

    An alternative to that would be that:
    when the channels are changed, the tv-server simply continues to store data into the ts-buffer and the recorded *.ts.
    So the LiveTV Stream is never interrupted. At the point the tv-server switched channels, you will simply see the channels changeing inside the LiveTV stream you are watching.

    Simmilar to zapping through channels, then go back to the beginning of the timeshift buffer.
    I would definitely prefer that because it does not require any userinteraction.
     
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!