AppleScript를 사용하지 않고 iTunes 보관함 디렉토리에있는 트랙을 확인하려고합니다.AppleScript - 라이브러리의 모든 iTunes 트랙을 반복 재생할 때 성능이 좋지 않음
다음 스크립트는 정말 (라이브러리에 대한 8000 트랙있다) 각 트랙에 대한 2 초 복용 느린입니다 : 또한 다음을 시도
#!/usr/bin/osascript
tell application "iTunes"
repeat with l in (location of every file track)
set fileName to (POSIX path of l)
if fileName does not start with "/Users/user/Music/iTunes/iTunes Media/" then
log fileName
end if
end repeat
end tell
하지만 동일한 성능 :
#!/usr/bin/osascript
tell application "iTunes"
repeat with l in (location of every file track)
POSIX path of l does not start with "/Users/user/Music/iTunes/iTunes Media/"
end repeat
end tell
가
한편 iTunes는 꽤 반응이 없습니다.
어리석은 짓을하고 있어야하지만 무엇을 알아낼 수는 없습니다.
이것은 2015 27M iMac의 OS X El Capitan에 있습니다.
도움을 주시면 감사하겠습니다.
건배
자리에! 감사 – user1905449