Mediainfo For Your Wtv Files
I wrote a vbscrip to insert the mediainfo into the mymovies.xml(movies)or ep-name.xml (tv series)using ffprobe. Pretty simple to use extract to anywhere double click on the Mi4Wtv(movies).vbs or Mi4Wtv(tv).vbs browser to the root folder (or specific folder) click ok thats it. If you want to use it on other extensions see line 23 of the vbs file (and edit in notepad or similar) It’s not perfect but its better than what is avail right now (nothing). It will create a back up of your existing xml however if you run it 2x it will overwrite the backup.
It is available here (this version supports mymovies.xml
New version supports movie.xml is available here This version fixes a minor issue with mpeg2 video not showing correctly in mediabrowser
Wtv Meta Data Populator
Meta Data Populator Will Populate Wtv Files For Both Movies And Tv Series. Please Make Sure That mymovies.xml Is Present For Movies And series.xml And ep_name.xml (In metadata Folder) Are Present For Tv Series
Instructions extract to anywhere & run WTVMetadataPopulator.exe select tv or movies browse to root folder (or specific folder) click ok thats it.
It is available here
New version supports movie.xml is available here
As always any issues please pm me or post here. If you use or appreciate these tools please drop a thumbs up
When running Mi4Wtv.vbs I’m getting an error on line 72 on some titles (not all).
strData = objFSO.OpenTextFile(infotemp, ForReading).ReadAll
Error Input past end of file
Also, if a mymovies file doesn’t exist I get an error on line 63 – file not found.
I would love to see converted TV shows get metadata one day – even something as simple as inserting the show title into the WTV file would help organize things.
Great work! Metadata in the WTV file is the holy grail for me.
oops cant edit the original post for some reason new script is here (original zip file updated to
my bad it was codeplex you will need windows powershell
the script is here. I think this is what you were looking for
I will write tv versions of the wtvmetapopulator and mediainfo when i get the chance (probably on the weekend)
All The Above Links Have Been Updated With New Versions
Meta Data Populator Will Now Populate Wtv Files For Both Movies And Tv Series Please Make Sure That mymovies.xml Is Present For Movies And series.xml And ep_name.xml (In metadata Folder) Are Present For Tv Series. Many Thanks To Redshirt For The Code Help And Rtbarn For The Beta Testing.
Download From Link Above Or Here
Mediainfo For Wtv Files Has Also Been Updated. There Is Now A Script For Tv Series And Movies
(rtbarn grab the new versions there are a few changes from the version you have)
Please note Mi4Wtv(tvseries).vbs is currently NOT compatible with xml files created by MCM as one of the functions relies on the xml not being on a single line
Fixed bitrate converted from Mbit/s to Kbits/s so mediabrowser understands it
Fixed frame rate so it didnt show 23.9768837262516 it will now trim to a max of 3 dec places
Removed the blank line that was being created before the mediainfo node
Capitalized codec type (looks nicer imo)
Engaged the silent drive – no more dos windows stealing the focus
Grab the new scripts from the first post in this thread
Hi thx for this tool! i was bummed big time when i found out mediainfo plugin didnt support .wtv. I ran your script but it doesn’t always populate all the medaiinfo. A lot of the time it will only populate the audio info and not the video info. I’m guessing it’s hit or miss depending on my file? Is there a way around this? So far i ran it on 7 of my .wtv files and 2 gave video and audio and the other 5 only audio.
Also a request if it’s rly easy to do…can you have it that it remembers the last folder you were in so you don’t have to keep starting all over from the top level when finding your file?
kingb ya i am currently working on a better solution it is a bit hit and miss atm but i will see what i can do. re remembering the last dir I may do this depending on time constraints.
you dont have to run every folder if you have all your tv on a folder called say Tv you can run it on the root and it will recurse thru and find all your wtv files.