获取轨道和文件名列表从OS X的iTunes(或办法打他们) [英] Get list of tracks and filenames (or a way to play them) from iTunes on OS X

查看:209
本文介绍了获取轨道和文件名列表从OS X的iTunes(或办法打他们)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在OS X中,有没有办法要求的iTunes它拥有的所有曲目,一些元数据(我最感兴趣的播放次数),以及曲目的文件名(或者,一个简单的办法发挥他们将被罚款以及)。

On OS X, is there a way to ask iTunes for all the tracks it has, with some metadata (I'm most interested in the number of plays), and the filenames of the tracks (alternatively, simply a way to play them would be fine as well).

我知道我大概可以砍的东西了阅读的iTunes数据库,但是我正在寻找一个解决方案,它不被视为禁地验收到Mac App Store的

I know I could probably hack something up reading the iTunes database, but I'm looking for a solution that is not considered off-limits for acceptance into the Mac App Store.

这可能吗?

推荐答案

iTunes是一个程序 - 这就是为什么没有在OSX上专用的SDK - 操作系统就像是在iOS不是一个内在不可移动的部分。您可以通过AppleScript的通过iTunes访问。

iTunes is a program - not an intrinsic unremovable part of the operating system like it is on iOS - which is why there is not a dedicated SDK on OSX. You can access via iTunes via AppleScript.

有在Mac应用程序商店,只是GUI对AppleScript的顶部的应用程序。 http://dougscripts.com/itunes/category/mac-app-store/

There are applications on the Mac app store that are just GUI's on top of AppleScript. http://dougscripts.com/itunes/category/mac-app-store/

这篇关于获取轨道和文件名列表从OS X的iTunes(或办法打他们)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆