[英]How does Songkick import your iTunes data?
Today I found Songkick.com which offers the possibility to scan your iTunes library, how do they do it? 今天,我发现Songkick.com可以扫描iTunes库,它们是如何做到的? I tried to google around but I couldn't find an API from Apple for it, do you have any idea?
我尝试在Google周围搜索,但找不到Apple的API,您有任何想法吗?
Songkick loads a java applet in web browser that has read-only access to file system. Songkick在具有对文件系统的只读访问权限的Web浏览器中加载一个Java applet。 It refers to iTunes library file, for example on mac at
/Users/username/Music/iTunes/iTunes Library.xml
to read all the tracks and their metadata. 它引用iTunes库文件,例如在Mac上的
/Users/username/Music/iTunes/iTunes Library.xml
中读取所有曲目及其元数据。
Since iTunes doesn't work as a web service, it would not have an API. 由于iTunes不能作为网络服务使用,因此它没有API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.