我需要从 iTunes 获取 RSS 订阅列表。我正在使用 Apple 提供的用于控制 iTunes 的 COM 接口,并且在 Windows 和 Mac 上都尝试过。
例如
tell application "iTunes"
repeat with a_track in tracks of playlist "Podcasts"
get artist of a_track
get album of a_track
get name of a_track
get rating of a_track
end repeat
end tell
我可以获得播客剧集的列表,但不能获得它们对应的 RSS URL。iTunes 似乎将所有剧集作为曲目放在“播客”播放列表中,但似乎没有任何类型的分组,正如您对窗口中显示的内容所期望的那样。