[Finished] Add MCE recording support to MP2 (.wtv + .dvr-ms) (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    This thread is about adding support for recordings from MCE inside MP2

    - Recorded TV - I would like to import the old WTV files but they seem not to be recognised as they do not appear in the window to be imported. Even changing the name to .TS does not do anything...

    You can't import into recorded TV unless you have a Matroska format XML file to go with each recording. TV Server normally creates these XML files when it starts a recording, so there's usually no problem reimporting recordings created by TV Server. However, importing recordings created by other software will require some effort.

    WTV is a WMC only file format, not used by something else. You can not import those to "Recordings" as MP needs .ts files here alongside with an xml description file.
    Actually MP2 could support this as well: if there is any video + xml in our TVE recoding format it will be possible to import them into recordings. We could simply add .wtv as recording extension: https://github.com/MediaPortal/Medi...r/Tve3RecordingMetadataExtractor.cs#L198-L200. But ofc. there would be the need for an additional xml file to be created for each recording.

    Or does the .wtv has some kind of embedded metadata? In this case a specialised MDE could be a solution...


    Edit: seems there are possible solutions:

    So is there interest for a WTV MDE for MP2? If so I'd need some example recordings. And they would quickly appear inside MP2's SlimTv recording section :)
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #2
    I'm glad to say that MP2 / SlimTV is now able to properly import and playback .wtv and .dvr-ms files :D

    Importer does extract channel, recording start/end (for grouping and sorting inside SlimTV recordings), title and subtitle. I also look into a possible series lookup using TheTVDb, but I need to change some lookup calls for this idea.

    Credits for metadata extraction go to MCEbuddy (y)

    One example .wtv file taken from: http://samples.mplayerhq.hu/wtv/

    upload_2015-6-20_13-10-37.png



    I think this will be a very useful feature for new users switching over from MCE to MP2.

    @Developers and @Testers, branch created at https://github.com/MediaPortal/MediaPortal-2/tree/FEAT_WTV_Recording
     

    Skywizard

    MP Donator
  • Premium Supporter
  • June 14, 2015
    113
    25
    Canberra
    Home Country
    Australia Australia
    WTV is a WMC only file format, not used by something else. You can not import those to "Recordings" as MP needs .ts files here alongside with an xml description file.
    Actually MP2 could support this as well: if there is any video + xml in our TVE recoding format it will be possible to import them into recordings. We could simply add .wtv as recording extension: https://github.com/MediaPortal/Medi...r/Tve3RecordingMetadataExtractor.cs#L198-L200. But ofc. there would be the need for an additional xml file to be created for each recording.

    Or does the .wtv has some kind of embedded metadata? In this case a specialised MDE could be a solution...


    Edit: seems there are possible solutions:

    So is there interest for a WTV MDE for MP2? If so I'd need some example recordings. And they would quickly appear inside MP2's SlimTv recording section :)

    There could be a lot of interest I would suggest since Win 10 will not have the WMC that is why I have switched.

    So is this import only in MePo 2? I installed MePo 1 as I figured that would be more stable.... should I be using MePo 2?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #4
    I can strongly recommend to take a look at MP2, it is a complete new product. Maybe not as feature rich as MP1, but working very good already.
    The new wtv support (see post above before yours) will be available in few days, if you need it faster, I can publish a download link.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #5
    Last edited:

    Skywizard

    MP Donator
  • Premium Supporter
  • June 14, 2015
    113
    25
    Canberra
    Home Country
    Australia Australia
    OK - I have an old MC PC I can on which I can put MP2 - I am reluctant to do it, at this stage, on my main MC PC as it has taken me a week to get a working, but not fine tuned system....

    So I will take a look - I also have an other test PC with win 10 I can use as a client... Downloading now as I type.
     

    Users who are viewing this thread

    Top Bottom