2016-07-30 44 views

回答

0

我怕你問的事,是目前不可能因爲從iTunes 12.2從API開始我們只能搜索本地庫,而不是整個蘋果音樂。

在這種情況下,你必須要你的庫裏面玩(本地或雲)這首歌,你可以搜索和播放這樣一首歌:

tell application "iTunes" 
    set results to (every track whose name contains "Cumuli" and artist is "883") 
    repeat with tune in results 
     play tune 
    end repeat 
end tell 

然後你就可以把檢索到的調在您想要的播放列表中,或者創建一個新的列表。看看this post for an example

相關問題