MP2 - Source code for TvEngine3? (currently only available as package) | Page 2

Discussion in 'Plugin Development' started by Tuggax, June 16, 2017.

Tags:
  1. bilkusg

    bilkusg Portal Member

    Joined:
    March 12, 2011
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United Kingdom United Kingdom
    Came across this thread while looking for information about building the TV plugin for MP2. What is the current ( Jan2019) status of this. I've gone to the github repo which seems to be active, but after downloading it, it's not clear what I should build or how to deploy the result into MP2. Are there any useful instructions?
    Thanks,


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,851
    Likes Received:
    4,679
    Ratings:
    +6,702 / 11
    Home Country:
    Germany Germany
    Show System Specs
    In principle it should be:
    Then you can place the nupkg in a local folder and define this folder as additional pacakge source. This way you can update/reference the nuget packages without the need to push them into official repos (which you can't do).
     
  4. bilkusg

    bilkusg Portal Member

    Joined:
    March 12, 2011
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United Kingdom United Kingdom
    Thanks for the fast response. Unfortunately, I seem to fail at the first step (building the source) with lots of:
    Error CS0012 The type 'IsConstModifier' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualC, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Core c:\dev\ProgSrc\MediaPortalTVE\MediaPortal-1\mediaportal\Core\guilib\GUIFontManager.cs 489 Active

    I assume this is some kind of inconsistency between the dev environment and what's expected (I'm using VS2017 community ).
    What should I be using?

    Oh, and I've used the default branch: FEAT_TVE3_SQLite if that is significant...

    Thanks
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,851
    Likes Received:
    4,679
    Ratings:
    +6,702 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Yes, this is the right branch.
    That's fine, use it here too.

    I only build the TvLibrary solution, and not the MP1 Client part. I have to admit I never tried because I don't need it.
     
  6. bilkusg

    bilkusg Portal Member

    Joined:
    March 12, 2011
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United Kingdom United Kingdom
    Thanks for that. I'm redoing my setup and will try again
     
    Last edited: January 10, 2019
  7. bilkusg

    bilkusg Portal Member

    Joined:
    March 12, 2011
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United Kingdom United Kingdom
    OK, I've managed to compile and run MP2-Server, so I can now try to play with the source code a bit. Thanks for your help.
    For the benefit of anyone else doing this,
    - the AVMTuner plugin was the only part which didn't compile - I had to add some references and comment out stuff, so I don't think it's working in this branch
    - I realise that I was confused by the original answer because the references to pages in the github repo in your message last night turned into funny html pointers with the actual page not visible until I hover over/click on the links. Once I realised that, I discovered why I had tried to build the wrong solution at first.
     
  8. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,851
    Likes Received:
    4,679
    Ratings:
    +6,702 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Nice you could get further (y). I have to check the AVMTuner plugin for build issues.

    What do you plan to do? I am curious ;)
     
  9. bilkusg

    bilkusg Portal Member

    Joined:
    March 12, 2011
    Messages:
    14
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    United Kingdom United Kingdom
    My main problem is with series recordings based on the OTA EPG for Freeview in the UK
    1. Some programs appear with the title New: before the program name, and as a result don't get recorded if the previous series didn't have New:
    2. Quite often the EPG data clearly shows that the program is a repeat of one already recorded, but it still gets recorded anyway because the right fields don't match ( or something )
    3. And quite often, the last episode of things like Masterchef have things like "The Final" appended to the title, and don't get recorded either.

    So I want to fix these annoyances, ideally in a way which could become a series of options for the TV service, and even more ideally by producing a suitable plugin.
    But first stage is just to prove I can hack something in and have the system still work......
     
  10. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,851
    Likes Received:
    4,679
    Ratings:
    +6,702 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I think you can code a plugin that listens on epg refresh event and the do a load/filter/save logic there.
     
  11. CyberSimian
    • Team MediaPortal

    CyberSimian Test Group

    Joined:
    June 10, 2013
    Messages:
    1,541
    Likes Received:
    481
    Gender:
    Male
    Location:
    Southampton
    Ratings:
    +890 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    This thread may be of interest:

    [Plugin] EPG Cleaner & Schedule Repair

    Note: I don't know anything about this plug-in other than it exists; I have not used it myself.

    -- from CyberSimian in the UK
     
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!