iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
- Subject: iTunes: KIND was: Applescript-users Digest, Vol 2, Issue 304
- From: "Steven D. Majewski" <email@hidden>
- Date: Wed, 25 May 2005 10:59:16 -0400
On May 25, 2005, at 9:42 AM, JF Neto wrote:
Hi,
I'm trying to build an script to change the name (which is
expressed in the dictinary as KIND) of certains audio tracks, but
i've failed writing.
I can get the KIND but not set it. Any ideas?
KIND is documented in the dictionary as "r/o" -- read-only.
You can't change it's value.
Despite the fact that the iTunes dictionary describes it as:
kind (Unicode text, r/o) : a text description of the track
if you look at the contents of that field, what it contains is the
'kind' of audio format: MP3, AAC, etc.
( Makes sense that that info is read-only: you can change that field
only by doing a format conversion of the data. )
Maybe what you want to change is "genre" or "comment" of the track.
[ Next time, please trim included text and edit the subject line! ]
-- Steve Majewski
--
tell application "QuickTime Player"
activate
tell movie 1
activate
set m_list to kind of track 2
tell track 1
get kind
set kind to "portugues"
end tell
end tell
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden