TVE3 Threadsafe Using Reservation System.

Discussion in 'Area 51 - Testing Area' started by Sebastiii, May 11, 2012.

  1. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,270
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,229 / 9
    Home Country:
    France France
    Show System Specs
    Description of the change

    This was a Threadsafe of TVServer code to make it more stable (It was Gibman code, thanks to him)



    This is the link to the branch on GitHub so that other devs can get the code and try to help/spot any possible bugs:
    Code (Text):
    1.  [URL]https://github.com/MediaPortal/MediaPortal-1/tree/EXP-TVEngine3-CardReservation[/URL]
     
    Last edited: May 15, 2012
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,270
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,229 / 9
    Home Country:
    France France
    Show System Specs
    Change log

    Version 1
    Added CancelTune to tve3 in order to cancel any blocking tune request (like done from EPGgrabber) - this should fix the bugs where tuning TV would in some circumstances end up with no card res.
    card priority system also impl. each user has a priority. if the card res. logic finds a card in the tuning state, then it will cancel the blocking tune request if prio is lower than the current users prio.

    Fixed : CardAllocation ChannelMapping logic issue.
     
    • Like Like x 1
  4. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,270
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,229 / 9
    Home Country:
    France France
    Show System Specs
    Version 1
    2012-05-11 (First initial Public Version)

    Known Issues:
    • Seems working nice for me
    Testing Required:
    • Try TV Stuff
    Download
     
  5. netexplorer
    • Premium Supporter

    netexplorer MP Donator

    Joined:
    January 21, 2009
    Messages:
    727
    Likes Received:
    69
    Ratings:
    +101 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Can you provide a patched version for using with my current 1.2.3 installation? Otherwise i can't test this fix because i need the current installtation working.
     
  6. Jelmo

    Jelmo Portal Pro

    Joined:
    September 8, 2007
    Messages:
    711
    Likes Received:
    43
    Gender:
    Male
    Ratings:
    +52 / 0
    Home Country:
    Germany Germany
    Show System Specs
    +1
     
  7. elliottmc
    • Premium Supporter

    elliottmc Retired Team Member

    Joined:
    August 7, 2005
    Messages:
    14,927
    Likes Received:
    4,011
    Gender:
    Male
    Location:
    Cardiff, UK
    Ratings:
    +5,503 / 13
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Well, this one should be working, and the whole point of this area is to test if it does.

    I guess the changes are to a number of binaries, and then you will run into problems with version number checks. It probably won't be possible to replace a couple of binaries and generate any valid test data.
     
    • Like Like x 1
  8. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,270
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,229 / 9
    Home Country:
    France France
    Show System Specs
    Exactly, you can use separate installer to upgrade your version (this one is based on 1.2.3 + cardres).
    Thanks.
     
  9. DJBlu

    DJBlu Portal Pro

    Joined:
    August 14, 2007
    Messages:
    1,670
    Likes Received:
    789
    Location:
    Llanelli
    Ratings:
    +894 / 1
    Home Country:
    United Kingdom United Kingdom
    @sebastii

    Is the code in this purely card reservation?
    I mean is there a new database structure? or any other changes?
    I ask because I have seen another thread similar and there is a move to a new logging framework and database. I would like to test this and help out.
     
  10. Sebastiii
    • Team MediaPortal

    Sebastiii Development Group

    Joined:
    November 12, 2007
    Messages:
    16,270
    Likes Received:
    6,221
    Gender:
    Male
    Location:
    France
    Ratings:
    +10,229 / 9
    Home Country:
    France France
    Show System Specs
    Hi DJBlu :)

    Normally it's the same DB, i use it for while now and like i rescan my db lol i'm not 100% sure now :p (but testing 1.2.3 on the same db work so i assume it's ok) :)
     
  11. corvy
    • Premium Supporter

    corvy MP Donator

    Joined:
    January 3, 2007
    Messages:
    209
    Likes Received:
    19
    Gender:
    Male
    Occupation:
    Director for Customer Services, Proact IT Norway
    Location:
    Rykkinn, Akershus
    Ratings:
    +34 / 0
    Home Country:
    Norway Norway
    I can gladly test, but I would really love if someone could share a compiled installer :)

    (alternatively point me to the installer if I am missing it!)
     
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!