wtv files? (1 Viewer)

rojoyinc

Portal Pro
December 27, 2010
69
0
Does this import .wtv files? I just installed mediaportal and can't seem to import any of my old recorded tv shows, and well it doesn't seem to see my new mediaportral recordings either.
 

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    MPTVSeries only cares about Video files. What extensions are Video files is defined in Mediaportal, it comes with defaults that should cover most users. If the default list of extensions is not enough for you, you can add more extensions under the general MP configuration under Videos.
     

    rojoyinc

    Portal Pro
    December 27, 2010
    69
    0
    That was easy Thank you so much.
    I added the .wtv and re-ran the config for MP-TV and their they are.

    Oh - wait, I was doing this as I was replying. So they appeared... (in import).
    I checked all but the one I didn't want (tempRec folder).

    I click next and it says

    Needs - series, season, episode ID. ? maybe I should be viewing these only as videos and not as TV series.
    I suppose TV series much have proper filenames that were also defined in the video part of config? (I recall folder path that defined these things)? Or can I add the ID info? (during import)

    Is there a means of manually entering in services, season and episode id info?
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Yes, they either need to be in filename format that the parser can understand (this is configured in MP-TVSeries config under parsing expressions) or you have to manually enter the info.
    In the import Wizard you should get a table layout where it wants Series/Season/Episode. You can manually enter the info there, but its highly recommended you set up your filename structure in a way it can understand, or adjust the parsing expressions to understand your existing structur, to get automated matching.
     

    rojoyinc

    Portal Pro
    December 27, 2010
    69
    0
    That was the thing, I couldn't edit the fields. I right clicked and clicked on open IME and now it allows it.
     

    thlucas

    Portal Pro
    February 11, 2011
    133
    146
    Omaha, NE
    Home Country
    United States of America United States of America
    I am recently new to MediaPortal myself and still use Windows7 Media Center (64-bit) for live TV watching, though I like to watch recorded TV in MP. I haven't had good luck with the MPTV server, so I'm sticking with WMC7 for live TV watching - for now anyway. I quickly became irritated at MP not recognizing WTV files, so I wrote a C# program to fix it.

    The program is set up to process a single "Recorded TV" folder, with all of your .WTV files in the same folder. ie if you have them seperated out in sub-directories you will have to execute the program multiple times (1 for each folder). It simply reads the metadata in the .WTV file, does a search of TheTVDB.com database for matching series name, and renames the .WTV file to "<series> - <season>x<episode> - <title>.wtv". For example, "Chuck_2010_12_31_07_00_00.wtv" would be renamed to "Chuck - 4x7 - Chuck versus the Intersect.wtv". Note that you can rename the .WTV files in the WMC7 Recorded TV folder to anything, as long as you keep the .WTV file extension; WMC7 still lists and plays them correctly, as it uses the metadata in the file to list the episode in the WMC7 interface.

    It searches the TVDB.com database for series name that "Starts With" the **** data series name. It will process all episodes of each found series until it matches on the episode name and original air date. For example, when it searches for "Castle", it finds "Castle", "Castle (2009), etc" from TVDB.com. It process all episodes of "Castle" and does not find a match, then it processes all episodes of "Castle (2009)" and finds the match based upon episode name and air date. If it can't find a match, then the .WTV file is not renamed and will not appear in the MP-TVSeries list.

    All of this assumes the following MP requirements:
    1) MP-TVSeries installed.
    2) MP configuration - add ".wtv" file extension to "Video File Extensions".

    Also note that this will NOT work on Windows XP, as only WMC7 recognizes the .WTV format / extension. This might work for DVR-MS files on Vista, but I have not tested it as I don't have Vista installed anymore. It uses the DirecShow "StreamBufferRecordAttributes" interface to retrieve WTV metadata.

    Please PM me if you would like the program, and I will send it to you.

    Thanks,

    Todd Lucas
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    3) MP-TVSeries configuration - add and enable the following "Import.Parsing Expression":
    "<series> - <season>x<episode> - <title>.wtv"

    Is there a reason why you added this? The default expression should work fine on those. Not that I care, you can add whatever expression you want of course, just curious.
     

    thlucas

    Portal Pro
    February 11, 2011
    133
    146
    Omaha, NE
    Home Country
    United States of America United States of America
    I originally tried different RegEx expressions before writing the renamer, and probably modified the original default expression. I believe it was "<series> - <season>x<episode> - <title>.<extn>", correct? If not, let me know what the default expression is that you are referring to and I will try it out.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I originally tried different RegEx expressions before writing the renamer, and probably modified the original default expression. I believe it was "<series> - <season>x<episode> - <title>.<extn>", correct? If not, let me know what the default expression is that you are referring to and I will try it out.

    That would be:

    ^(?:.*\\)?(?<series>[^\\]+?)[ _.\-\[]+(?:?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$

    You can click 'reset' otherwise to bring back the original expressions. This is also needed when you update MP-TVSeries and have made modifications to the expressions, because then MP-TVSeries won't update the expressions on an update.
     

    thlucas

    Portal Pro
    February 11, 2011
    133
    146
    Omaha, NE
    Home Country
    United States of America United States of America
    Yep, that one works too though I like the "Simple" expression better. Maybe it's because I loathe working with Regular Expressions in general, and prefer to keep it simple. Regardless, the original Step 3 I posted is not necessary. Thanks RoChess for pointing that out - makes it even simpler to configure.
     

    Users who are viewing this thread

    Similar threads

    Yes. I've just this minute found the cause of the problem; though I haven't found the exact line of configuration that caused it. I am using a centrally configured system, meaning that some configuration files are stored centrally and are not overridden when installing new versions. It would seem that 1.31 had a change in...
    Yes. I've just this minute found the cause of the problem; though I haven't found the exact line of configuration that caused it...
    Since I installed 1.31 .wtv files display in the top left-hand quadrant of the screen instead of the whole screen. Is this a known...
    Replies
    2
    Views
    1K
    OK, I found a way to make it work. It seems like MP-TV-series Configuration (and Moving Pictures Configuration) starts as Administrator, and the Administrator do not have yet logged in on the UNC \\192.168.222.247\Public even if the normal user on the PC have done it. So to fix it on the Win 11 HTPC: Created a shortcut to...
    OK, I found a way to make it work. It seems like MP-TV-series Configuration (and Moving Pictures Configuration) starts as...
    Hi! I was running MP1.33 x64 and I was fine and happy since many years, then the hard drive on the HTPC died. But I was able to...
    Replies
    1
    Views
    1K
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to make this long winded or anything, but just to point out over the @15 years I've overall donated several hundred quid. And I begrduge NONE of it, not a penny - I do wish MP well - 100%. It is an awesome...
    Hi CyberSimian (and others) just a bit along the coast from me (near Exeter) - I know you are very long-standing! Not going to...
    ONGGGG term MP user (and donator - why wouldn't you?) and leaving somewhat reluctantly. Few reasons, some that just seem...
    Replies
    4
    Views
    1K
    Right, so are there any skins that are higher resolutions? I've had a look through the list and there are MP Display++ skins but no information on resolution.
    Right, so are there any skins that are higher resolutions? I've had a look through the list and there are MP Display++ skins but no...
    I have a new PC with a high resolution screen and want to manually configure the size of the windowed MP1 resolution. By default...
    Replies
    8
    Views
    827
    Got a solution, with this log entry, I found this site, which helped me: https://stackoverflow.com/questions/5247659/system-management-managementexception
    Got a solution, with this log entry, I found this site, which helped me...
    Hello, I have a problem, that i cannot start reocordings anymore and I cannot delete old recordings with MP1. This started two...
    Replies
    1
    Views
    475
    Top Bottom