本文介绍了什么是最好的/非常好的元数据阅读器库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我对从MP3文件(ID3标签?)中读取数据特别感兴趣,但是在不影响ID3标签读取能力的情况下,它可以做得越多(例如,来自图像的EXIF?)越好. >

我对制作一个可以遍历媒体(现在是我的音乐文件)的脚本感兴趣,并确保文件名和目录路径与文件的元数据相对应,然后创建不匹配文件的日志,以便我检查看看哪个是正确的并进行适当的更改.我正在考虑使用Ruby或Python(请参见专门针对Python的相关问题)这样做将是最好的选择,但是我真的愿意使用任何语言(并且可能会更喜欢使用C,C ++,Java,C#等应用程序语言,以防该项目关闭).

解决方案

在Joel"Jaykul" Bennet的网站.您可以使用TagLibSharp以任何基于.NET的语言读取元数据,但是PowerShell非常适合您要尝试执行的操作.

Right now, I'm particularly interested in reading the data from MP3 files (ID3 tags?), but the more it can do (eg EXIF from images?) the better without compromising the ID3 tag reading abilities.

I'm interested in making a script that goes through my media (right now, my music files) and makes sure the file name and directory path correspond to the file's metadata and then create a log of mismatched files so I can check to see which is accurate and make the proper changes. I'm thinking Ruby or Python (see a related question specifically for Python) would be best for this, but I'm open to using any language really (and would actually probably prefer an application language like C, C++, Java, C# in case this project goes off).

解决方案

There is a great post on using PowerShell and TagLibSharp on Joel "Jaykul" Bennet's site. You could use TagLibSharp to read the metatdata with any .NET based language, but PowerShell is quite appropriate for what you are trying to do.

这篇关于什么是最好的/非常好的元数据阅读器库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 21:36