Results 1 to 5 of 5

Thread: Importing metadata from wtv files

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    2

    Importing metadata from wtv files

    I'm trying to setup a Hierarchical Metadata Tree, but the metadata I want is not being imported from the video files. I'm using Windows Media Center to record television shows, and I would like to be able to play them on our tv in the living room hooked up to the PS3. I can do this now with KooRaRoo, but it places them all in one folder, and they all have the name of the show as the title. This makes it hard to locate a particular episode. I can manually set up separate dynamic file playlists for each show that I record, but that still doesn't get the episode title displayed in the menu on the PS3.

    I think I can boil it down to two basic problems. (1) There don't seem to be enough metadata types. All I have listed in the file properties are Album, Album Artist, Artist, Creator, Genre and Studio. I'd like to see types for things like Series Title, Episode Title, Year, TV Station name and channel, etc. Maybe I'm misunderstanding how the metadata works, but the existing list seems really limited. (2) I'm not getting any metadata imported from the .wtv files, even for the Genre which does exist in the File Information window. I'll paste an example at the end of this post.

    Ultimately, what I'd like to have is a Hierarchical Metadata Tree that shows subfolders for each Series, and then the files listed under the Series subfolder with the Episode title as the title displayed in the PS3 menu. And I would like it to update automatically as new shows and new episodes are added and old ones removed in Windows Media Center.

    Can anyone help me with this?

    Below is the File Information example that I promised. The episode name is the WM/Subtitle line. None of this seems to be getting imported except the Title.

    -------------

    Video, DB: 2, Thumb: 4
    S [mpeg2video, 2], bitrate: 0, framerate: 59.94, level: 4, profile: 4, flags: 0x0, flags2: 0x0


    ------------------------

    ffmpeg version N-47402-g5e2be27 Copyright (c) 2000-2012 the FFmpeg developers
    built on Dec 3 2012 15:16:02 with gcc 4.7.1 (GCC)
    configuration: --enable-memalign-hack --arch=x86 --enable-gpl --enable-libx264 --enable-avisynth --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-libmp3lame --enable-version3 --extra-libs=-lws2_32 --enable-zlib --extra-libs=-lwinmm --extra-libs=-lgdi32 --enable-gnutls --enable-libass --enable-avresample --disable-w32threads --enable-runtime-cpudetect --disable-ffplay --disable-ffserver --enable-memalign-hack
    libavutil 52. 11.101 / 52. 11.101
    libavcodec 54. 78.101 / 54. 78.101
    libavformat 54. 42.100 / 54. 42.100
    libavdevice 54. 3.102 / 54. 3.102
    libavfilter 3. 23.105 / 3. 23.105
    libswscale 2. 1.103 / 2. 1.103
    libswresample 0. 17.101 / 0. 17.101
    libpostproc 52. 2.100 / 52. 2.100
    Input #0, wtv, from 'C:\Users\Public\Recorded TV\Arrow_KWGNDT_2012_11_28_19_58_00.wtv':
    Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title : Arrow
    WM/SubTitle : Muse of Fire
    WM/SubTitleDescription: Oliver meets a mysterious woman with dangerous secrets; following an unfortunate turn of events, Tommy seeks Laurel's support.
    genre : Drama;General;Series;Action/Adventure;Sci-Fi/Fantasy
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Stephen Amell/Colin Donnell/Katie Cassidy/David Ramsey/Willa Holland/Susanna Thompson/Paul Blackthorne;David Grossman;;Jessica De Gouw/Jeffrey Nordling
    service_provider: KWGNDT
    service_name : KWGNDT (KWGN-DT)
    WM/MediaNetworkAffiliation: CW Affiliate
    WM/MediaOriginalChannel: 2
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 2012-11-28T07:00:00Z
    WM/MediaOriginalRunTime: 38925183378
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive : false
    WM/MediaIsTape : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-14
    WM/Provider : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-11-29 02:58:07
    WM/WMRVSeriesUID: !MCSeries!274858679
    WM/WMRVServiceID: !MCService!40006990
    WM/WMRVProgramID: !MCProgram!282503071
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality : 3
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration : 38925193179
    WM/WMRVEndTime : 2012-11-29 04:03:00
    WM/WMRVBitrate : 10.287711
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 412
    WM/WMRVActualSoftPostPadding: 180
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 14
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WM/MediaThumbTimeStamp: 4644182202844500612
    WM/MediaThumbType: 3
    Duration: 01:04:52.29, start: 1.766511, bitrate: 9722 kb/s
    Stream #0:0[0x12](spa): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:1[0x13]: Video: mpeg2video (Main), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 10000k tbn, 119.88 tbc
    Stream #0:2[0x14](eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:3[0x15]: Subtitle: eia_608
    Stream #0:4[0x0]: Attachment: mjpeg
    Metadata:
    title : TV Thumbnail
    At least one output file must be specified

  2. #2
    Would you be able to send a short recording like that (or even that one) to support (at) kooraroo (dot) com so that I could check why some of the metadata is not being processed? If it's a large file we can use Dropbox (http://db.tt/lRFZ8DfF) or any other file sharing site.

    There are more metadata types that can be used to build up dynamic playlists, but not all of them can be edited currently. I'll allow editing more metadata types in the upcoming update.

    I am also happy to add more metadata types (e.g. Series) to the hierarchical and dynamic playlists - I've added this to development to-do list as well.

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    I can do that. I'll have to do it tonight after I get home from work. There's not enough time this morning. The files tend to be very large, several gigabytes, but I could easily create a short recording that's a few minutes long of just whatever is on tomorrow night. That should have all the metadata.

    Please note that the title is wrong too. I want it to use the WM/Subtitle (the episode name) for that instead of the name of the show (or series). I can't see a way currently to change what KooRaRoo picks from the metadata to use for the title. I want it to look like this if possible on the PS3:

    Recorded TV Shows
    |---Show title 1
    |-----Episode 1
    |-----Episode 2
    |-----....
    |---Show title 2
    |-----Episode 1
    |-----...

    Thanks,
    Homer

  4. #4
    Yes, that should be do-able once I extend metadata types and hierarchical playlists with those metadata types. I'll wait for your file and start working on this.

  5. #5
    Homer,

    Actually the easiest way to do this is to re-use the existing Album criteria (it's already used to pull in series info from some metadata files). So, what you'd need to do is simply create a Hierarchical Tree playlist with Album as the keyword and "Video" as the file type.

    I've sent you a patch through support that enhances WTV metadata support, please give it a try and let me know how it goes. Thanks!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •