[Approved] User selectable max number of cards to try on timeshifting (1 Viewer)

romadd64

MP Donator
  • Premium Supporter
  • October 24, 2007
    82
    15
    Home Country
    Italy Italy
    Hi devs and community,

    TvServer normally if has an error when tuning a channel for timeshifting, then loops to try all the free tvcard until one succeeds.
    But if the tvcards are reliable, usually an error occurs for a wrong tuning parameter, then each card will fail with the same error.
    In the case of configurations with multiple tvcards, MP will hang until the end of attempts, giving a bad user experience.

    This patch/improvement introduces the new parameter "Maximum free cards to try" in the section Timeshifting of SetupTV :
    - With the default value = 0, TVServer behaves like currently, trying all available free cards.
    - With a value > 0, then this is the max number of loops that TVServer tries.


    :D
    romadd64
     

    Attachments

    • User selectable max free cards to try for timeshifting (SVN 25548).patch
      30.8 KB

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    52
    Bolzano
    Home Country
    Italy Italy
    Compiled and tested, seems to work as expected.

    You have to restart tvservice if you change the parameter, right?

    Maybe a developer could have a look at the code.
     

    robyf

    Retired Team Member
  • Premium Supporter
  • June 20, 2005
    1,076
    278
    52
    Bolzano
    Home Country
    Italy Italy
    Update: running this on my productive HTPC for 5 days now without visible issues.
     

    Users who are viewing this thread

    Top Bottom