解决方案 »

  1.   

    The get_attributeCount method retrieves the number of attribute names available for a given media item. Index numbers can then be used with the getAttributeName method to determine the name of each available attribute. Individual attribute names can be passed to getItemInfo.
    你可以用get_attributeCount和getAttributeName来遍历当前的属性都有哪些,看看有没有类似时间的,再用得到的属性名称调用getItemInfo来获取时间
      

  2.   

    抱歉,这么晚才回复你,我当时去查了一下你说的两个函数用法,英文不好,没看太懂,也没遍历出来,因为生产实习进度很快,所以放弃了这项内容,另外一个问题是当参数设置为Title时取得的时属性里的标题而不是当前媒体的名称,如果每个文件都去改属性的话会很麻烦,怎样能直接得到咱们平时看到的文件名字而不是属性里的标题名字?