in

andy vt's tools & blog

Automating lazy

Can't get WM/Toolname to appear in PC list

Last post 01-30-2008 7:24 AM by onlydarksets. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 01-17-2008 1:12 PM

    Can't get WM/Toolname to appear in PC list

    I created a test Profile, added the AdjustMetaData Action, and set the MetaMarker to "DurationFixed: " (with a space at the end).  None of the boxes are checked.  I ran the Profile on a DVR-MS file from the command-line, and got the following:

    InputFile=G:\recorded tv\American Dad - 2007-03-25 - Apocalypse to Remember.dvr-ms
    Processing actions, this may take some time!!
    Profile = _Test
    ProcessId = 3568
    DvrmsToolbox Version: 1.2.1.0
    Adjust Meta Data in output DVR-MS
    Duration = 00:00:01.0057950
    Total Duration = 00:00:01.0145835

    I went to the ProcessingConditions, and selected "Generate MetaTags.bin".  However, there is no WM/Toolname option when I go in to create a new PC.  I can see that the MetaTags.bin file was last modified at the same time I updated the file.

    Any thoughts?  Thanks!

     

  • 01-21-2008 6:53 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    Did you select a file that adjustmetadata had been run against as the source?
  • 01-21-2008 6:59 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    Yep.  The output above is from the file I used.  Does that look normal?
  • 01-21-2008 7:45 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    does WM/Toolname show up when you look at the meta data with Toubs meta data editor?  If not, you can use his tool to add it...
  • 01-22-2008 8:54 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    It doesn't.  However, I'm trying to set this value in a Profile, and then test for it in a second Profile that will run on the file.  Do you have a Profile that is using the Action to write the WM/Toolname metadata to a file?  Also, I'm testing this on XP - could that make a difference?  I'll give it a try in Vista tonight.
  • 01-22-2008 9:29 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    I may have broken this when I altered the metadata writer to not write all of the attributes.
  • 01-22-2008 6:26 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    <gasp> What?!?!  You don't fully regression test every component before releasing?  No worries - I think I have another way to do this.
  • 01-23-2008 7:06 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    I plan to bring it up with my testing staff.
  • 01-27-2008 3:12 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    My testing staff was unable to recreate the problem (i.e. AdjustMetaData is working properly).
  • 01-27-2008 4:04 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    Perhaps I'm misunderstanding how this is supposed to work.  Here is what I thought was supposed to happen:

    1. WM/Toolname is not something that Media Center writes (i.e., open a new DVR-MS recording in Toub's metadata editor. and it won't show up)
    2. Create a Profile with one Action - AdjustMetaData
    3. Specify a text string
    4. Run the Profile on a DVR-MS file
    5. Open Toub's editor, and now WM/Toolname should appear.

    Am I missing something?  Wouldn't be the first time...

    Thanks! 

  • 01-27-2008 7:13 PM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    Try the attached profile.
  • 01-28-2008 12:15 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    I'm really confused now.  Your profile works perfectly.  However, when I recreate it manually on my system, it doesn't work.  The attached is, I believe, essentially the same as yours (my target context is OutputFile instead of CutDVRMS).  The logs are different, too.  However, if I create a profile that is identical to yours, it works.

    Your Log File:

    InputFile=E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Processing actions, this may take some time!!
    Profile = adjust
    ProcessId = 1864
    DvrmsToolbox Version: 1.1.0.7
    Get the value of Context["InputFile"] and set the value of Context["CutDvrmsFile"]
    Context["InputFile"] = E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Context["CutDvrmsFile"] = E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Duration = 00:00:00
    Fix slider in MCE; Add "DTB Rocks3: " to the Description Meta Tag;
    Setting WM/MediaOriginalRunTime
    Setting WM/WMRVEndTime
    Adding MetaMarker to description
    Saving meta data
    Duration = 00:00:01.0156250
    Total Duration = 00:00:01.0156250

    My Log File 

    InputFile=E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Processing actions, this may take some time!!
    Profile = test5
    ProcessId = 6000
    DvrmsToolbox Version: 1.1.0.7
    Get the value of Context["InputFile"] and set the value of Context["OutputFile"]
    Context["InputFile"] = E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Context["OutputFile"] = E:\Recorded TV\College Basketball_WJLA-DT_19_01_2008_17_38_04.dvr-ms
    Duration = 00:00:00
    Fix slider in MCE; Add "DTb Rocks2:" to the Description Meta Tag;
    Duration = 00:00:01
    Total Duration = 00:00:01

    Thanks again for taking a look at this.
     

  • 01-28-2008 6:58 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    AdjustMetaData looks at the CutDvrmsFile context value.  In you application you probably need to set it to the value of OutputFile.
     

  • 01-30-2008 7:24 AM In reply to

    Re: Can't get WM/Toolname to appear in PC list

    Beautiful, thanks.  I've documented it (working on getting it into the wiki).

    http://onlydarksets.wordpress.com/2008/01/29/adjustmetadata/

     

Page 1 of 1 (14 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems