locked
adding extra metdata other than those already defined for files

    Question

  • I have some TV show episodes

    I wish to add new metadata like file description, series name, episode no, first aired date to the files. I was able to change existing metadata like filename, title using the fileproperties, video properties,etc (using winjs api). how to add new metadata?


    mayanklohani

    Saturday, April 5, 2014 6:25 AM

Answers

  • Hi mayanklohani,

    I believe that SavePropertiesAsync | savePropertiesAsync methods should be a good thing for you. While getting the properties from the file, you can save them back to the file for update. Note: only the read-write attribute can be saved, otherwise the exception with no access will be thrown.

    By the way a good sample for you: Take a look at the six scenario from File access sample. Write should be as same as Read.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, April 8, 2014 7:38 AM
    Moderator