Record from tv-guide doesn't work as expected (1 Viewer)

johnzered

Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    TV-Server Version: RC 2
    MediaPortal Version: RC 2
    MediaPortal Skin: BlueTwo wide
    Windows Version: Vista Home Premium SP1
    CPU Type: Intel C2D E8200
    HDD: Seagate 7200.11 500 GB
    Memory: 2 GB DDR2 667 Mhz
    Motherboard: Gigabyte GA-73PVM-S2H
    Video Card:
    Video Card Driver:
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Digital everywhere FloppyDTV HW Version 1.26.01, FW Version 1.4.0 - B52030
    1. TV Card Type: DVB-C
    1. TV Card Driver: 4.5.N
    2. TV Card:
    2. TV Card Type:
    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:
    MPEG2 Audio Codec:
    h.264 Video Codec:
    Satelite/CableTV Provider:
    HTPC Case: Antec Fusion V2
    Cooling:
    Power Supply:
    Remote:
    TV:
    TV - HTPC Connection: Sub-D

    If you have TV on and goto tv-guide and press record and select a show which is currenlty being broadcasted but not the channel you have currenlty tuned in then you get the question if you want to record only this show or until manually stopped. It doesn't matter what you choose, the problem as I see it is that it start to record the show that is currenlty tuned in not the show you have selected in tv-guide, sometimes I was also able to start recording the same show several times.

    I looked in TvGuideBase.cs and found the following method

    void OnRecord()
    {
    if (_currentProgram == null) return;
    if ((_currentProgram.IsRunningAt(DateTime.Now) ||
    (_currentProgram.EndTime <= DateTime.Now)) &&
    (TVHome.Card.IsTimeShifting || TVHome.Card.IsTimeShifting))
    ...
    the problem here is that this equals to true if you have tv on and then it start to record that show, it doesn't matter what you select in tv-guide when you press record

    so I tried to add this: && _currentProgram.IdChannel == TVHome.Card.IdChannel like so:

    void OnRecord()
    {
    if (_currentProgram == null) return;
    if ((_currentProgram.IsRunningAt(DateTime.Now) ||
    (_currentProgram.EndTime <= DateTime.Now)) &&
    (TVHome.Card.IsTimeShifting || TVHome.Card.IsTimeShifting) && _currentProgram.IdChannel == TVHome.Card.IdChannel)
    ...

    this works except if you do the following:
    -goto fullscreen tv
    -select tv-guide from osd
    -record the show you are currenlty watching
    -you get the question only this show or until manual stop, doesn't mather which you select
    -message recording started shows up
    -tvguide is back on screen and cannot be removed

    so my fix was probably not so good eihter the maybe a better solutin would be that if tv-guide is active then always show the "recording screen" when record button is pressed.


    //johnzered
     

    Attachments

    • guide.jpg
      guide.jpg
      158.6 KB

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    When you say 'press record' in the EPG are you bringing up the submenu with the record option and selecting 'record' and then selecting schedule or just pressing record button on remote?

    I beleive the record button on remote is always mapped to the current or last tuned channel and brings up the submenu with the two choices you see.

    I understand it may be better to map the record button to scheduling when in EPG. edit Already available, i didn't realise !!

    Not a bug but a limitation. edit Oh so a BUG!
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Yes I mean I just press the record button on the remote.

    If TV is off and you are in EPG and press the record button then you get to the schedule screen so it's not always mapped to the last tuned channel. I really think that is confusing and should be treated like a bug.

    //johnzered
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    After further testing on both local and network client I can confirm this as a BUG.

    Only occurs while timeshifting with respect to the clients id.

    Bring up EPG either seperate or as overlayed.

    Choose any program that is highlighted as 'on now' in EPG .ie dark coloured.

    Press record button on remote.

    What should happen is you are taken to the schedule page for selected program.

    What happens is you just get the option for currant program ie timeshifting on that clients id and if you continue only that timeshifitng channel/program is schedules.

    Also if you are in overlayed EPG the EPG remaining bug commences and in my tests MP can crash.
     

    johnzered

    Retired Team Member
  • Premium Supporter
  • April 20, 2008
    358
    80
    Home Country
    Finland Finland
    Thanks gibman it has become much better now!

    There's still some issues though:

    1. if you're in the epg and hit 'R' or record on a currently active recording the recording stops but the red dot is not removed on all places. See attached screenshot.
    edit: started new thread for this here: https://forum.team-mediaportal.com/...ot-updated-recording-status-42968/#post287790

    2. the overlayed epg is still a problem, steps to reproduce:
    - goto fullscreen tv
    - right click or press i/more on remote to get the context menu
    - select tv-guide
    - press 'R' or record on remote on a currently running show
    - you get the quesiton: until manual stop or current show
    - select either
    - message saying recording started shows, click ok
    - epg is back on screen but cannot be removed (unless you right click again and select tv-guide and then just hit esc)

    EDIT: I made a new thread https://forum.team-mediaportal.com/...ot-updated-recording-status-42968/#post287790 for point 1 (and removed the screenshot) because it's not related to this issue. But if point 2 can be fixed it would be very good and after that we can call this bug fixed!


    //johnzered
     

    Users who are viewing this thread

    Top Bottom