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

    Isn't there anyone who needs the series episode listings in the EPG? Perhaps someone could move this post to the English forum.
    Isn't there anyone who needs the series episode listings in the EPG? Perhaps someone could move this post to the English forum.
    Since EPG Buddy is no longer working and the 'TV Movie EPG Import ++' plugin is working again, I'm now having trouble completing...
    Replies
    1
    Views
    1K
    Actually, you just reminded me of how I have handled this in the past: I merged the contents of an old export.xml with a new one to make a complete file containing the old values I needed and the new values I didn't want to change. Why should it matter if the export file is missing some values? I would expect the import process to...
    Actually, you just reminded me of how I have handled this in the past: I merged the contents of an old export.xml with a new one to...
    My "fresh install" is missing some settings (in particular genre maps) that I would like to import from a previous export. There...
    Replies
    2
    Views
    397
    I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
    I see no reason in Windows XP or 7, in my experience, on ancient Atom, Windows 10 worked faster than XP or 7...
    Hi all, I'm new to MediaPortal and looking forward to using it. Just one catch and I apologize if it sounds silly - I want to run...
    Replies
    3
    Views
    1K
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins. https://www.team-mediaportal.com/extensions/mp2-plugins I hope these work: Featured Plugins
    Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
    I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
    Replies
    1
    Views
    2K
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra benefit is that it collects from the Sky platform so it will give EPG for all the FreeSat channels plus the unencrypted movie channels on the Sky platform. It also allows me to pick the channels dedicated...
    I used to use the grabber but a few years back it disappeared on FreeSat DVBS. That is when I changed to EPG Collector. The extra...
    Hi everyone, I hope you are all well My Mum's Mediaportal lost it's marbles thanks to Microsoft update, (even though I had update...
    Replies
    2
    Views
    1K
    Top Bottom