iTunesを使いこなそう! Part 55 at MAC
[2ch|▼Menu]
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