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

    Maybe [News] - MediaPortal 1.33 Pre-Release with new x64 version ready for testing
    Maybe [News] - MediaPortal 1.33 Pre-Release with new x64 version ready for testing
    After a long time I built a new HTPC. Everything went well. Just one problem. I imported the old recordings and can see them in the...
    Replies
    4
    Views
    419
    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    689
    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
    2K
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    519
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select "Internal DirectShow player" as music output, but then you lose gapless playback. If you you don't have multichannel music you can choose WASAPI as the output and set the number of speakers to stereo. I have...
    I don't know about MP2 but as you said you tried MP1 too, how is the MP music config ? MP(1) will only use LAV if you select...
    Not sure if this a a bug/config/settings problem. I am running a media portal 2.5 server with 2.41 client but it seems I get the...
    Replies
    1
    Views
    650
    Top Bottom