DJBlu's Custom Sky Data Grabber for MP1.9 onwards | Page 24

Discussion in 'General Development (no feature request here!)' started by ears, October 1, 2014.

  1. Brownard
    • Team MediaPortal

    Brownard Development Group

    Joined:
    March 21, 2007
    Messages:
    1,913
    Likes Received:
    786
    Gender:
    Male
    Ratings:
    +1,319 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    I've created a repo with a conversion of the UK plugin to c#. It was created by initially running the last available vb.net source through a language converter then doing a lot of tidying up and refactoring. I've tried to get it up to date and fixed some bugs by comparing the source to a decompilation of the latest bin, e.g. I've added the logo downloader. The one obvious thing I haven't done is add the throttler, though the setting for it exists.
    Unfortunately this is quite low on my priorities at the mo but it should be a good base if someone else wants to continue development...

    Source: https://github.com/brownard/SkyUKGrabber


     
    • Thank You! Thank You! x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CCob

    CCob Portal Pro

    Joined:
    November 10, 2008
    Messages:
    111
    Likes Received:
    4
    Ratings:
    +6 / 0
    That's an excellent start brownard. I've taken a look at the decompilation of the latest 1.4.0.6 UK grabber, and it seems that the throttle is implemented using Thread sleeps for 200ms at certain key looping areas. Whilst this will work it has the tendency to pollute the code, how about simply changing the thread priority of the grabber thread to lowest? This should have the same effect as to not starve the CPU when playing back TV content but also grab quicker when there is spare CPU resource.
     
    • Like Like x 1
  4. Brownard
    • Team MediaPortal

    Brownard Development Group

    Joined:
    March 21, 2007
    Messages:
    1,913
    Likes Received:
    786
    Gender:
    Male
    Ratings:
    +1,319 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    That did also cross my mind...
     
  5. CCob

    CCob Portal Pro

    Joined:
    November 10, 2008
    Messages:
    111
    Likes Received:
    4
    Ratings:
    +6 / 0
    Just made a pull request for this feature. Very simply change. If the throttle setting is on when the grabber thread is kicked off it's priority it set to lowest, so this should have the same effect as the previous implementation and not starve the CPU and prevent stuttering when playing back TV at the same time. Added benefit is that if TV is not currently active it should get through the EPG update quicker.
     
    • Thank You! Thank You! x 2
    • Like Like x 1
  6. Brownard
    • Team MediaPortal

    Brownard Development Group

    Joined:
    March 21, 2007
    Messages:
    1,913
    Likes Received:
    786
    Gender:
    Male
    Ratings:
    +1,319 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Merged, thanks.
     
    • Like Like x 1
  7. 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
    I don't know if this is a decompiled version of the plugin, haven't looked at it.

    This version has a few fixes if I remember.
     

    Attached Files:

    • Like Like x 1
    • Thank You! Thank You! x 1
  8. JJDoherty
    • Premium Supporter

    JJDoherty MP Donator

    Joined:
    July 10, 2013
    Messages:
    138
    Likes Received:
    20
    Gender:
    Male
    Occupation:
    Software Engineer
    Location:
    Dublin
    Ratings:
    +50 / 2
    Home Country:
    Ireland Ireland
    Show System Specs
    Hi, sorry for the delay in getting back on this. Anyway, no further progress, I didn't hear anything and my offer of assistance wasn't taken up. I know that TVE 3.5 is in development, with a possible release not too far away and that the "true" series link we're looking for natively and have with DJBlu's modification is probably in the works.

    I suppose the best course of action at this point is to get a copy of the latest MP2/TVE3.5 source and see what can be done. I do feel this may be flying blind and possibly replicating work already being done or heading down a rabbit hole, chasing code but it looks like the only option if you want to get involved...
     
  9. cundogg

    cundogg Portal Member

    Joined:
    September 29, 2013
    Messages:
    22
    Likes Received:
    2
    Gender:
    Male
    Ratings:
    +3 / 0
    Home Country:
    Ireland Ireland
  10. ears

    ears Portal User

    Joined:
    October 7, 2008
    Messages:
    162
    Likes Received:
    27
    Ratings:
    +59 / 0
    With my current software going downhill fast in terms of compatibility and about to cost some more money I'm giving MP another go.

    Fully committing this time though - have rebuilt my TV server using Windows 10 as I suspect it was Windows Server 2012 that was the problem.

    Juist giving it a bit of a soak test now but so far no discontinuities.

    I've also downloaded and compiled and deployed @Brownard 's C# TV server plugin and it seems good - maybe a few channel category issues aside.

    I'll keep testing and if it goes OK will build a 1.16 when it's released.

    Thanks everyone for keeping this project alive.
     
    • Like Like x 1
  11. mattpwill

    mattpwill Portal Member

    Joined:
    July 17, 2015
    Messages:
    16
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Great to have you back ears. Does or are there any plans to have this working with MP2 TV server please?

    Thanks
     
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!