Re: iTunes : "File permission error"
Re: iTunes : "File permission error"
- Subject: Re: iTunes : "File permission error"
- From: Axel Luttgens <email@hidden>
- Date: Sun, 28 May 2006 09:42:04 +0200
On 28/05/06 5:19, Hiroshi T. wrote:
Thank you for your support.
Here is my Music directory listing:
[kelvino:~:6] ls -alo ~/Music/iTunes/
total 50472
drwxr-xr-x 6 hrst unknown - 204 28 May 10:55 ./
drwx------ 10 hrst unknown - 340 28 Nov 11:38 ../
drwxr-xr-x 4 hrst unknown - 136 28 Dec 11:43 Previous iTunes
Libraries/
-rw-r--r-- 1 hrst unknown - 13725374 28 May 10:55 iTunes Library
drwxr-xr-x 3 hrst unknown - 102 21 Jan 2003 iTunes Music/
-rw-r--r-- 1 hrst unknown - 12115604 28 May 10:55 iTunes Music
Library.xml
[kelvino:~:7]
Hmm... a bit strange.
May I ask you the output of following shell commands:
sw_vers
id
cd
pwd
I store music files in an external FireWire hard disk, where "iTunes
Music folder" also resides.
Even if I set the folder for "iTunes Music folder" to other place than
~/Music in iTunes Preference,
iTunes keeps on using "iTunes Music Library.xml" and "iTunes Library"
under ~/Music/iTunes (of course).
The "File permission error" occurs at the line:
set bookmarkable of curTrack to false
I use two recording applications: Audio Hijack Pro and RadioShark.
In RadioShark I set file creation parameters to bookmarkable AAC and
it creates files with extension ".m4b".
These files cause "File permission error" in my script.
In Audio Hijack Pro I set file creation parameters to bookmarkable and
non-bookmarkable Apple Lossless,
which I call B-files and N-files, respectively. Audio Hijack Pro
creates files with extension ".m4a" for both B- and N-files.
I also made a script to make tracks bookmarkable, which I call B-script.
Let us call my script to make tracks non-bookmarkable N-script.
B-files cause "File permission error" in both B- and N-script,
while N-files do not cause such error in either B- or N-script.
I can turn bookmarkable on and off for N-files, which I checked by
actual playing in iTunes.
I cannot check all tracks that I have but exceptions to the above law
are not found so far.
Seems that somewhat more forensics is needed. ;-)
Could you select in iTunes a sample of tracks so as to have an example
of every relevant combinations (file created with RS vs AHP, file
created as bookmarkable vs non-bookmarkable, problematic vs non
problematic file) and run following script with the events log opended:
tell application "iTunes"
repeat with curTrack in selection
if class of curTrack is file track then
kind of curTrack
do shell script "ls -alo " & quoted form of POSIX path of
(location of curTrack as string)
end if
end repeat
end tell
and then reproduce here the contents of the events log?
As well as tell us the combination for each of the selected files?
HTH,
Axel
_______________________________________________
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