【发布时间】:2012-05-04 05:46:08
【问题描述】:
当当前曲目是收音机时,如何在 iTunes 中获取当前曲目的歌曲名称?
我的意思是出现在电台名称正下方的字符串:)
像下面这样查询它的名字会给我收音机的名字 (Trance Channel - DIGGITALLY IMPORTED - we can't define it!) 但不是歌曲
tell application "iTunes"
set thisTrack to current track
set trackName to the name of thisTrack
set trackTime to thisTrack's time
end tell
这是预期的,因为我的图书馆中的信息是:
但是有没有办法专门处理这些流媒体曲目?并像第一张图片中的 iTunes 一样正确获取他们的信息?我知道当前曲目是收音机,因为它的时间将是 missing value 而不是 MM:SS 的形式,如果这有帮助的话。
这可能吗?
【问题讨论】:
标签: macos applescript itunes