MP2 - Source code for TvEngine3? (currently only available as package) (1 Viewer)

bilkusg

Portal Member
March 12, 2011
19
2
United Kingdom United Kingdom
Country flag
Are the instructions on here still valid? I've come back to this after several months of running the version I tweaked for my own use last year, and wanted to look again at the possibility of writing a patch or extension now that I have enough experience of what actually works in practice.
However, the latest MP2 source code now looks for version 3.3.0.23 of mediaportal.tvengine.core3 whereas the FEAT_TVE_Squlite branch still creates 3.0.21.2 suggesting this may not be the right branch any longer.

Any help or clarification much appreciated.
 

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,607
    5,231
    France - IDF
    France France
    Country flag
    Always available, you can provided patch, based on latest master MP1 branch.


    Envoyé de mon LG-H870S en utilisant Tapatalk
     

    bilkusg

    Portal Member
    March 12, 2011
    19
    2
    United Kingdom United Kingdom
    Country flag
    Sorry, I don't understand your answer. Is FEAT_TVE_Sqlite the right branch to use or not?
     

    bilkusg

    Portal Member
    March 12, 2011
    19
    2
    United Kingdom United Kingdom
    Country flag
    Thanks @morpheus_xx .
    But when I build that, I get version 3.0.21.2. The current MP2 source asks for version 3.0.23
    So is it safe to just override the package version in nuget?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,487
    7,019
    Germany Germany
    Country flag
    Yes, probably I just forgot to commit version number changes there.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,487
    7,019
    Germany Germany
    Country flag
    I've come back to this after several months of running the version I tweaked for my own use last year, and wanted to look again at the possibility of writing a patch or extension now that I have enough experience of what actually works in practice.
    Can you explain what you are planning to do? I'm curious :)
     

    bilkusg

    Portal Member
    March 12, 2011
    19
    2
    United Kingdom United Kingdom
    Country flag
    Thanks. It's all working as far as building goes. BTW, it's probably worth warning people not to build the TVLibrary in debug mode, because
    a) It fails because the test project has a missing reference
    b) It doesn't put the dlls in the directory from which the nuget script retrieves them. This is probably something I should have known, but I didn't and it took me a while to work out why my nuget package wouldn't work with compiling MP2 against it.

    Anyway, what I've done, and works for me, is modified the schedules.cs and epgdbuptdater to deal with the fact that the UK's OTA EPG is a pile of rubbish. Some programs have a title starting New: which means they aren't recorded when expected. Information about seasons and episode numbers are in different places for different programs even on the same channel etc etc.

    So what I did was write a regex based preprocessor which munges the EPG before populating the database. It's a definite improvement in my situation, and I suspect would be useful for other UK users, but it's clearly not something which should be a default behaviour.

    So what I'm trying to work out now is whether these changes could be turned into a plugin, even though the functions I override aren't as far as I can tell, functions for which plugin hooks exist.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,073
    1,283
    Southampton
    United Kingdom United Kingdom
    Country flag
    modified the schedules.cs and epgdbuptdater to deal with the fact that the UK's OTA EPG is a pile of rubbish. Some programs have a title starting New: which means they aren't recorded when expected. Information about seasons and episode numbers are in different places for different programs even on the same channel etc etc.
    Some points:

    (1) Are you aware that user hurley wrote a plugin called "EPG Cleaner and Schedule Repair". It is discussed in this thread. User hurley is Australian, but I think that the Australian EPG must suffer from the same quirks as the UK EPG.

    (2) The prefix "New: " that is present for some first-broadcast programmes is actually sometimes useful. For example, the new series of "The Big Bang" theory was prefixed with "New: ", whereas the numerous repeats of the older series were not. Since "TV Server" matches on title, including "New: " in the match was one way of avoiding recording the older repeats.

    (3) Programme titles also suffer from variations from one week to the next, including variations in spelling, and variations in the abbreviated length of titles that are too long for the UK EPG.

    (4) Series numbers and episode numbers are contained in the plain text of the programme description; they are not contained in structured fields. Have you come up with an algorithm that reliably extracts the series and episode numbers from all variations, or only for the variations that occur in the programmes that you watch? (Nothing wrong with doing the latter, but it might lessen the usefulness for other users.)

    (5) The UK EPG contains within it true "series link" information. By true series link I mean the capability to schedule as a series a collection of programmes that have different titles (but which the BBC has scheduled as a series because they all deal with the same topic). The "Horizon" series seems to have devolved into using different titles for each eposide in the last year or two :(. Sadly, no one has yet written a "TV Server" enhancement or plugin that can handle this information. How about it? Do you feel like taking up the challenge?

    -- from CyberSimian in the UK
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 11
    da3dsoul Does MP2 not have any active devs? General 8
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 68
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 4
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    Similar threads

























    Top Bottom