iTunesを使いこなそう! Part 55
at MAC
554:名称未設定
07/09/14 11:26:30 vVzOI/ZE0
>>548
tell application "iTunes"
set originalPlaylistName to "TMP"
activate
set CDPlaylist to playlist 1 of (source 1 where its kind is audio CD)
set tmpTracklist to tracks of (playlist originalPlaylistName of (source 1 where its kind is library))
set n to number of tmpTracklist
repeat with i from 1 to n
set CDTrack to track i of CDPlaylist
set tmpTrack to item i of tmpTracklist
set {na, ar, al, ge, yr, cm} to {name of tmpTrack, artist of tmpTrack, album of tmpTrack, genre of tmpTrack, year of tmpTrack, composer of tmpTrack}
with transaction
set {name of CDTrack, artist of CDTrack, album of CDTrack, genre of CDTrack, year of CDTrack, composer of CDTrack} to {na, ar, al, ge, yr, cm}
end transaction
end repeat
end tell
ふだん使ってるのをちょこちょこっと改造。
古い(自分で訂正した)CDの曲をプレイリスト"TMP"(2行目を書き換えれば
変更可能)に入れる。
※TMPのリストはトラック番号でソートしておくこと。
あとは、対応するCDを入れてから走らせると、CDの各トラックの「曲名」
「アルバム名」「アーティスト」「ジャンル」「年」「作曲家」が
TMPのもので書き換えられる。
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5393日前に更新/178 KB
担当:undef