TV Priorities too slow to change priority

Discussion in 'Improvement Suggestions' started by Midget, October 20, 2007.

  1. Midget

    Midget Portal Pro

    Joined:
    October 1, 2007
    Messages:
    78
    Likes Received:
    2
    Occupation:
    Software Engineer
    Location:
    Siena
    Ratings:
    +2 / 0
    Home Country:
    Italy Italy
    b]Started on:[/b] 2007-10-20
    last update: 2007-10-20

    Summary:
    TV Priorities too slow to change priority

    Area:
    MyTV

    Description:
    I've noticed that the TV Priorities page (GUITVPriorities class) is way too slow to change the recording's priority.

    I've many recordings in the list (about 70) and if I want to move a recording for many positions up or down, I could go to get a sandwich in the meantime ;)

    If I click the OK button on the remote multiple times, MediaPortal records the "clicks" but isn't able to update the screen or showing any feedback. When I come back after 5 minutes the recording is in the correct position.



    Looking at the sourcecode I think the problem is in the methods OnMoveDown and OnMoveUp called every time buttons Up/Down are pressed.
    These methods update the priority of every recording in the TVDatabase (SetRecordingPriority) and afterward reload the entire database (LoadDirectory).

    Bye,
    Midget
    :D
     
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!