Hi there,
newbie to apple scripting, though have some very basic coding experience.
I’m trying to set up a script that automates copies the tags from existing files in my library to a whole bunch of new, unnamed files that will always be imported to a certain playlist. (i’m re-ripping my library using cd-paranoia on the PC, then importing the files to my mac… almost all the files have the correct id3 tags, so I want to keep them and add them on to the newly imported files, which have no existing id3 tags).
I’ve been using a modified script to do it:
--copyleft 2003 John Paul Davis http://www.johnpauldavis.org
--this module is covered by the GNU LIMITED GENERAL PUBLIC LICENSE NO WARRANTY
--Do not remove this notice
tell application "iTunes"
activate
repeat with i from 1 to the count of sources
if the name of source i is "*Inprog" then
set thePlaylist to (get a reference to (source i))
end if
end repeat
if selection exists then
set trackList to (get a reference to (selection of front window))
set trLister to make new playlist with properties {name:"*going"}
duplicate trackList to trLister
else
display dialog "You must select the tracks whose information you wish to copy to the Playlist."
end if
-- repeat with n from 1 to the count of tracks in thePlaylist
-- set plTr to the track number of track i of thePlaylist
-- if plTr is not i then
-- delete trLister
-- display dialog "Stop this script and sort your CD tracks by track number" buttons {"Cancel"}
-- else
-- -- do nothing
-- end if
-- end repeat
repeat with i from 1 to the count of tracks in thePlaylist
set trackFlag to true
set trackNum to 1
set trackCount to the (count of tracks in trLister) as integer
repeat while trackFlag is true
if trackNum is not equal to trackCount then
set trNum to the track number of track trackNum of trLister as integer
if trNum is i then
set the artist of (track i of thePlaylist) to (the artist of track trackNum of trLister) as string
set the album of (track i of thePlaylist) to (the album of track trackNum of trLister) as string
set bpm of (track i of thePlaylist) to (bpm of track trackNum of trLister) as integer
set comment of (track i of thePlaylist) to (comment of track trackNum of trLister) as text
set compilation of (track i of thePlaylist) to (compilation of track trackNum of trLister) as boolean
set the composer of (track i of thePlaylist) to (the composer of track trackNum of trLister) as string
set the disc number of (track i of thePlaylist) to (the disc number of track trackNum of trLister) as integer
set the disc count of (track i of thePlaylist) to (the disc count of track trackNum of trLister) as integer
set enabled of (track i of thePlaylist) to (enabled of track trackNum of trLister) as boolean
set EQ of (track i of thePlaylist) to (EQ of track trackNum of trLister) as text
set finish of (track i of thePlaylist) to (finish of track trackNum of trLister) as integer
set genre of (track i of thePlaylist) to (genre of track trackNum of trLister) as text
set the name of (track i of thePlaylist) to (the name of track trackNum of trLister) as string
set rating of (track i of thePlaylist) to (rating of track trackNum of trLister) as integer
set start of (track i of thePlaylist) to (start of track trackNum of trLister) as integer
set year of (track i of thePlaylist) to (year of track trackNum of trLister) as integer
set trackFlag to false
else
set trackNum to trackNum + 1
end if
else
set trNum to the track number of track trackNum of trLister as integer
if trNum is i then
set the artist of (track i of thePlaylist) to (the artist of track trackNum of trLister) as string
set the album of (track i of thePlaylist) to (the album of track trackNum of trLister) as string
set bpm of (track i of thePlaylist) to (bpm of track trackNum of trLister) as integer
set comment of (track i of thePlaylist) to (comment of track trackNum of trLister) as text
set compilation of (track i of thePlaylist) to (compilation of track trackNum of trLister) as boolean
set the composer of (track i of thePlaylist) to (the composer of track trackNum of trLister) as string
set the disc number of (track i of thePlaylist) to (the disc number of track trackNum of trLister) as integer
set the disc count of (track i of thePlaylist) to (the disc count of track trackNum of trLister) as integer
set enabled of (track i of thePlaylist) to (enabled of track trackNum of trLister) as boolean
set EQ of (track i of thePlaylist) to (EQ of track trackNum of trLister) as text
set finish of (track i of thePlaylist) to (finish of track trackNum of trLister) as integer
set genre of (track i of thePlaylist) to (genre of track trackNum of trLister) as text
set the name of (track i of thePlaylist) to (the name of track trackNum of trLister) as string
set rating of (track i of thePlaylist) to (rating of track trackNum of trLister) as integer
set start of (track i of thePlaylist) to (start of track trackNum of trLister) as integer
set year of (track i of thePlaylist) to (year of track trackNum of trLister) as integer
set trackFlag to false
else
set enabled of track i of thePlaylist to false
set trackFlag to false
end if
end if
end repeat
end repeat
delete trLister
end tell
now, the problem is it doesn’t write the tags to the newly imported files:
tell application "iTunes"
activate
count every playlist of current application
56
get name of playlist 1
"Library"
get name of playlist 2
"Party Shuffle"
get name of playlist 3
"All playlisted"
get name of playlist 4
"Lossless"
get name of playlist 5
"My Top Rated"
get name of playlist 6
"Needs tags"
get name of playlist 7
"Non-playlisted"
get name of playlist 8
"Non-rated"
get name of playlist 9
"Recently Imported"
get name of playlist 10
"Recently Played"
get name of playlist 11
"Top 100 Most Played"
get name of playlist 12
"track"
get name of playlist 13
"Want higher quality"
get name of playlist 14
"*General Problems"
get name of playlist 15
"*Inprog"
get name of playlist 16
"*Needs rating/playlisting"
get name of playlist 17
"*Sorting"
get name of playlist 18
"*Sorting - 1 album"
get name of playlist 19
"*Specific Problems!"
get name of playlist 20
"*To be tested"
get name of playlist 21
"*Unrippable"
get name of playlist 22
"Cafe del Mar"
get name of playlist 23
"CDPara"
get name of playlist 24
"Chill"
get name of playlist 25
"Classical"
get name of playlist 26
"Crystal Method"
get name of playlist 27
"Dark"
get name of playlist 28
"Dark - Rock"
get name of playlist 29
"Dark - Slow"
get name of playlist 30
"Faithless"
get name of playlist 31
"Fatboy Slim"
get name of playlist 32
"Favourite Music"
get name of playlist 33
"Fun"
get name of playlist 34
"Groove Armada"
get name of playlist 35
"Instrumental"
get name of playlist 36
"Interviews"
get name of playlist 37
"Jazz - Fun"
get name of playlist 38
"Jazz - Hip"
get name of playlist 39
"Jazz - Instrumental"
get name of playlist 40
"Linkin Park"
get name of playlist 41
"M of S - Annuals"
get name of playlist 42
"M of S - Chillouts"
get name of playlist 43
"Massive Attack"
get name of playlist 44
"Mood"
get name of playlist 45
"New Music"
get name of playlist 46
"Oldies - Fun"
get name of playlist 47
"Oldies - Slow"
get name of playlist 48
"Placebo"
get name of playlist 49
"Pulse"
get name of playlist 50
"Quick CD"
get name of playlist 51
"Relax"
get name of playlist 52
"Rock"
get name of playlist 53
"Smooth"
get name of playlist 54
"testing"
get name of playlist 55
"Up"
get name of playlist 56
"z2nd version"
exists selection
true
make new playlist with properties {name:"*going"}
user playlist id 33941 of source id 47
copy selection of window 1 to user playlist id 33941 of source id 47
{file track id 33944 of user playlist id 33941 of source id 47, file track id 33945 of user playlist id 33941 of source id 47, file track id 33946 of user playlist id 33941 of source id 47, file track id 33947 of user playlist id 33941 of source id 47, file track id 33948 of user playlist id 33941 of source id 47, file track id 33949 of user playlist id 33941 of source id 47, file track id 33950 of user playlist id 33941 of source id 47, file track id 33951 of user playlist id 33941 of source id 47, file track id 33952 of user playlist id 33941 of source id 47, file track id 33953 of user playlist id 33941 of source id 47, file track id 33954 of user playlist id 33941 of source id 47, file track id 33955 of user playlist id 33941 of source id 47}
count every track of playlist 15
12
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get artist of track 1 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 1 of playlist 15 to "1 Giant Leap"
get album of track 1 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 1 of playlist 15 to "1 Giant Leap"
get bpm of track 1 of user playlist id 33941 of source id 47
0
set bpm of track 1 of playlist 15 to 0
get comment of track 1 of user playlist id 33941 of source id 47
""
set comment of track 1 of playlist 15 to ""
get compilation of track 1 of user playlist id 33941 of source id 47
false
set compilation of track 1 of playlist 15 to false
get composer of track 1 of user playlist id 33941 of source id 47
""
set composer of track 1 of playlist 15 to ""
get disc number of track 1 of user playlist id 33941 of source id 47
1
set disc number of track 1 of playlist 15 to 1
get disc count of track 1 of user playlist id 33941 of source id 47
1
set disc count of track 1 of playlist 15 to 1
get enabled of track 1 of user playlist id 33941 of source id 47
true
set enabled of track 1 of playlist 15 to true
get EQ of track 1 of user playlist id 33941 of source id 47
""
set EQ of track 1 of playlist 15 to ""
get finish of track 1 of user playlist id 33941 of source id 47
175
set finish of track 1 of playlist 15 to 175
get genre of track 1 of user playlist id 33941 of source id 47
"World"
set genre of track 1 of playlist 15 to "World"
get name of track 1 of user playlist id 33941 of source id 47
"Dunya Salam (featuring Baaba Maal)"
set name of track 1 of playlist 15 to "Dunya Salam (featuring Baaba Maal)"
get rating of track 1 of user playlist id 33941 of source id 47
0
set rating of track 1 of playlist 15 to 0
get start of track 1 of user playlist id 33941 of source id 47
0
set start of track 1 of playlist 15 to 0
get year of track 1 of user playlist id 33941 of source id 47
2002
set year of track 1 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get artist of track 2 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 2 of playlist 15 to "1 Giant Leap"
get album of track 2 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 2 of playlist 15 to "1 Giant Leap"
get bpm of track 2 of user playlist id 33941 of source id 47
0
set bpm of track 2 of playlist 15 to 0
get comment of track 2 of user playlist id 33941 of source id 47
""
set comment of track 2 of playlist 15 to ""
get compilation of track 2 of user playlist id 33941 of source id 47
false
set compilation of track 2 of playlist 15 to false
get composer of track 2 of user playlist id 33941 of source id 47
""
set composer of track 2 of playlist 15 to ""
get disc number of track 2 of user playlist id 33941 of source id 47
1
set disc number of track 2 of playlist 15 to 1
get disc count of track 2 of user playlist id 33941 of source id 47
1
set disc count of track 2 of playlist 15 to 1
get enabled of track 2 of user playlist id 33941 of source id 47
true
set enabled of track 2 of playlist 15 to true
get EQ of track 2 of user playlist id 33941 of source id 47
""
set EQ of track 2 of playlist 15 to ""
get finish of track 2 of user playlist id 33941 of source id 47
339
set finish of track 2 of playlist 15 to 339
get genre of track 2 of user playlist id 33941 of source id 47
"World"
set genre of track 2 of playlist 15 to "World"
get name of track 2 of user playlist id 33941 of source id 47
"My Culture (featuring Robbie Williams & Maxi Jazz)"
set name of track 2 of playlist 15 to "My Culture (featuring Robbie Williams & Maxi Jazz)"
get rating of track 2 of user playlist id 33941 of source id 47
0
set rating of track 2 of playlist 15 to 0
get start of track 2 of user playlist id 33941 of source id 47
0
set start of track 2 of playlist 15 to 0
get year of track 2 of user playlist id 33941 of source id 47
2002
set year of track 2 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get artist of track 3 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 3 of playlist 15 to "1 Giant Leap"
get album of track 3 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 3 of playlist 15 to "1 Giant Leap"
get bpm of track 3 of user playlist id 33941 of source id 47
0
set bpm of track 3 of playlist 15 to 0
get comment of track 3 of user playlist id 33941 of source id 47
""
set comment of track 3 of playlist 15 to ""
get compilation of track 3 of user playlist id 33941 of source id 47
false
set compilation of track 3 of playlist 15 to false
get composer of track 3 of user playlist id 33941 of source id 47
""
set composer of track 3 of playlist 15 to ""
get disc number of track 3 of user playlist id 33941 of source id 47
1
set disc number of track 3 of playlist 15 to 1
get disc count of track 3 of user playlist id 33941 of source id 47
1
set disc count of track 3 of playlist 15 to 1
get enabled of track 3 of user playlist id 33941 of source id 47
true
set enabled of track 3 of playlist 15 to true
get EQ of track 3 of user playlist id 33941 of source id 47
""
set EQ of track 3 of playlist 15 to ""
get finish of track 3 of user playlist id 33941 of source id 47
500
set finish of track 3 of playlist 15 to 500
get genre of track 3 of user playlist id 33941 of source id 47
"World"
set genre of track 3 of playlist 15 to "World"
get name of track 3 of user playlist id 33941 of source id 47
"The Way You Dream (featuring Michael Stipe & Asha Bhosle)"
set name of track 3 of playlist 15 to "The Way You Dream (featuring Michael Stipe & Asha Bhosle)"
get rating of track 3 of user playlist id 33941 of source id 47
0
set rating of track 3 of playlist 15 to 0
get start of track 3 of user playlist id 33941 of source id 47
0
set start of track 3 of playlist 15 to 0
get year of track 3 of user playlist id 33941 of source id 47
2002
set year of track 3 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get artist of track 4 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 4 of playlist 15 to "1 Giant Leap"
get album of track 4 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 4 of playlist 15 to "1 Giant Leap"
get bpm of track 4 of user playlist id 33941 of source id 47
0
set bpm of track 4 of playlist 15 to 0
get comment of track 4 of user playlist id 33941 of source id 47
""
set comment of track 4 of playlist 15 to ""
get compilation of track 4 of user playlist id 33941 of source id 47
false
set compilation of track 4 of playlist 15 to false
get composer of track 4 of user playlist id 33941 of source id 47
""
set composer of track 4 of playlist 15 to ""
get disc number of track 4 of user playlist id 33941 of source id 47
1
set disc number of track 4 of playlist 15 to 1
get disc count of track 4 of user playlist id 33941 of source id 47
1
set disc count of track 4 of playlist 15 to 1
get enabled of track 4 of user playlist id 33941 of source id 47
true
set enabled of track 4 of playlist 15 to true
get EQ of track 4 of user playlist id 33941 of source id 47
""
set EQ of track 4 of playlist 15 to ""
get finish of track 4 of user playlist id 33941 of source id 47
288
set finish of track 4 of playlist 15 to 288
get genre of track 4 of user playlist id 33941 of source id 47
"World"
set genre of track 4 of playlist 15 to "World"
get name of track 4 of user playlist id 33941 of source id 47
"Ma' Africa (featuring The Mahotella Queens & Ulali)"
set name of track 4 of playlist 15 to "Ma' Africa (featuring The Mahotella Queens & Ulali)"
get rating of track 4 of user playlist id 33941 of source id 47
0
set rating of track 4 of playlist 15 to 0
get start of track 4 of user playlist id 33941 of source id 47
0
set start of track 4 of playlist 15 to 0
get year of track 4 of user playlist id 33941 of source id 47
2002
set year of track 4 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get artist of track 5 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 5 of playlist 15 to "1 Giant Leap"
get album of track 5 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 5 of playlist 15 to "1 Giant Leap"
get bpm of track 5 of user playlist id 33941 of source id 47
0
set bpm of track 5 of playlist 15 to 0
get comment of track 5 of user playlist id 33941 of source id 47
""
set comment of track 5 of playlist 15 to ""
get compilation of track 5 of user playlist id 33941 of source id 47
false
set compilation of track 5 of playlist 15 to false
get composer of track 5 of user playlist id 33941 of source id 47
""
set composer of track 5 of playlist 15 to ""
get disc number of track 5 of user playlist id 33941 of source id 47
1
set disc number of track 5 of playlist 15 to 1
get disc count of track 5 of user playlist id 33941 of source id 47
1
set disc count of track 5 of playlist 15 to 1
get enabled of track 5 of user playlist id 33941 of source id 47
true
set enabled of track 5 of playlist 15 to true
get EQ of track 5 of user playlist id 33941 of source id 47
""
set EQ of track 5 of playlist 15 to ""
get finish of track 5 of user playlist id 33941 of source id 47
243
set finish of track 5 of playlist 15 to 243
get genre of track 5 of user playlist id 33941 of source id 47
"World"
set genre of track 5 of playlist 15 to "World"
get name of track 5 of user playlist id 33941 of source id 47
"Braided Hair (featuring Speech & Neneh Cherry)"
set name of track 5 of playlist 15 to "Braided Hair (featuring Speech & Neneh Cherry)"
get rating of track 5 of user playlist id 33941 of source id 47
0
set rating of track 5 of playlist 15 to 0
get start of track 5 of user playlist id 33941 of source id 47
0
set start of track 5 of playlist 15 to 0
get year of track 5 of user playlist id 33941 of source id 47
2002
set year of track 5 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get artist of track 6 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 6 of playlist 15 to "1 Giant Leap"
get album of track 6 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 6 of playlist 15 to "1 Giant Leap"
get bpm of track 6 of user playlist id 33941 of source id 47
0
set bpm of track 6 of playlist 15 to 0
get comment of track 6 of user playlist id 33941 of source id 47
""
set comment of track 6 of playlist 15 to ""
get compilation of track 6 of user playlist id 33941 of source id 47
false
set compilation of track 6 of playlist 15 to false
get composer of track 6 of user playlist id 33941 of source id 47
""
set composer of track 6 of playlist 15 to ""
get disc number of track 6 of user playlist id 33941 of source id 47
1
set disc number of track 6 of playlist 15 to 1
get disc count of track 6 of user playlist id 33941 of source id 47
1
set disc count of track 6 of playlist 15 to 1
get enabled of track 6 of user playlist id 33941 of source id 47
true
set enabled of track 6 of playlist 15 to true
get EQ of track 6 of user playlist id 33941 of source id 47
""
set EQ of track 6 of playlist 15 to ""
get finish of track 6 of user playlist id 33941 of source id 47
309
set finish of track 6 of playlist 15 to 309
get genre of track 6 of user playlist id 33941 of source id 47
"World"
set genre of track 6 of playlist 15 to "World"
get name of track 6 of user playlist id 33941 of source id 47
"Ta Moko (featuring Whiri Mako Black)"
set name of track 6 of playlist 15 to "Ta Moko (featuring Whiri Mako Black)"
get rating of track 6 of user playlist id 33941 of source id 47
0
set rating of track 6 of playlist 15 to 0
get start of track 6 of user playlist id 33941 of source id 47
0
set start of track 6 of playlist 15 to 0
get year of track 6 of user playlist id 33941 of source id 47
2002
set year of track 6 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get artist of track 7 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 7 of playlist 15 to "1 Giant Leap"
get album of track 7 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 7 of playlist 15 to "1 Giant Leap"
get bpm of track 7 of user playlist id 33941 of source id 47
0
set bpm of track 7 of playlist 15 to 0
get comment of track 7 of user playlist id 33941 of source id 47
""
set comment of track 7 of playlist 15 to ""
get compilation of track 7 of user playlist id 33941 of source id 47
false
set compilation of track 7 of playlist 15 to false
get composer of track 7 of user playlist id 33941 of source id 47
""
set composer of track 7 of playlist 15 to ""
get disc number of track 7 of user playlist id 33941 of source id 47
1
set disc number of track 7 of playlist 15 to 1
get disc count of track 7 of user playlist id 33941 of source id 47
1
set disc count of track 7 of playlist 15 to 1
get enabled of track 7 of user playlist id 33941 of source id 47
true
set enabled of track 7 of playlist 15 to true
get EQ of track 7 of user playlist id 33941 of source id 47
""
set EQ of track 7 of playlist 15 to ""
get finish of track 7 of user playlist id 33941 of source id 47
394
set finish of track 7 of playlist 15 to 394
get genre of track 7 of user playlist id 33941 of source id 47
"World"
set genre of track 7 of playlist 15 to "World"
get name of track 7 of user playlist id 33941 of source id 47
"Bushes (featuring Baaba Maal)"
set name of track 7 of playlist 15 to "Bushes (featuring Baaba Maal)"
get rating of track 7 of user playlist id 33941 of source id 47
0
set rating of track 7 of playlist 15 to 0
get start of track 7 of user playlist id 33941 of source id 47
0
set start of track 7 of playlist 15 to 0
get year of track 7 of user playlist id 33941 of source id 47
2002
set year of track 7 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get track number of track 8 of user playlist id 33941 of source id 47
8
get artist of track 8 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 8 of playlist 15 to "1 Giant Leap"
get album of track 8 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 8 of playlist 15 to "1 Giant Leap"
get bpm of track 8 of user playlist id 33941 of source id 47
0
set bpm of track 8 of playlist 15 to 0
get comment of track 8 of user playlist id 33941 of source id 47
""
set comment of track 8 of playlist 15 to ""
get compilation of track 8 of user playlist id 33941 of source id 47
false
set compilation of track 8 of playlist 15 to false
get composer of track 8 of user playlist id 33941 of source id 47
""
set composer of track 8 of playlist 15 to ""
get disc number of track 8 of user playlist id 33941 of source id 47
1
set disc number of track 8 of playlist 15 to 1
get disc count of track 8 of user playlist id 33941 of source id 47
1
set disc count of track 8 of playlist 15 to 1
get enabled of track 8 of user playlist id 33941 of source id 47
true
set enabled of track 8 of playlist 15 to true
get EQ of track 8 of user playlist id 33941 of source id 47
""
set EQ of track 8 of playlist 15 to ""
get finish of track 8 of user playlist id 33941 of source id 47
346
set finish of track 8 of playlist 15 to 346
get genre of track 8 of user playlist id 33941 of source id 47
"World"
set genre of track 8 of playlist 15 to "World"
get name of track 8 of user playlist id 33941 of source id 47
"Passion (featuring Michael Franti)"
set name of track 8 of playlist 15 to "Passion (featuring Michael Franti)"
get rating of track 8 of user playlist id 33941 of source id 47
0
set rating of track 8 of playlist 15 to 0
get start of track 8 of user playlist id 33941 of source id 47
0
set start of track 8 of playlist 15 to 0
get year of track 8 of user playlist id 33941 of source id 47
2002
set year of track 8 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get track number of track 8 of user playlist id 33941 of source id 47
8
get track number of track 9 of user playlist id 33941 of source id 47
9
get artist of track 9 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 9 of playlist 15 to "1 Giant Leap"
get album of track 9 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 9 of playlist 15 to "1 Giant Leap"
get bpm of track 9 of user playlist id 33941 of source id 47
0
set bpm of track 9 of playlist 15 to 0
get comment of track 9 of user playlist id 33941 of source id 47
""
set comment of track 9 of playlist 15 to ""
get compilation of track 9 of user playlist id 33941 of source id 47
false
set compilation of track 9 of playlist 15 to false
get composer of track 9 of user playlist id 33941 of source id 47
""
set composer of track 9 of playlist 15 to ""
get disc number of track 9 of user playlist id 33941 of source id 47
1
set disc number of track 9 of playlist 15 to 1
get disc count of track 9 of user playlist id 33941 of source id 47
1
set disc count of track 9 of playlist 15 to 1
get enabled of track 9 of user playlist id 33941 of source id 47
true
set enabled of track 9 of playlist 15 to true
get EQ of track 9 of user playlist id 33941 of source id 47
""
set EQ of track 9 of playlist 15 to ""
get finish of track 9 of user playlist id 33941 of source id 47
423
set finish of track 9 of playlist 15 to 423
get genre of track 9 of user playlist id 33941 of source id 47
"World"
set genre of track 9 of playlist 15 to "World"
get name of track 9 of user playlist id 33941 of source id 47
"Daphne (featuring Eddi Reader, The Mahotella Queens & Revetti Sakalar)"
set name of track 9 of playlist 15 to "Daphne (featuring Eddi Reader, The Mahotella Queens & Revetti Sakalar)"
get rating of track 9 of user playlist id 33941 of source id 47
0
set rating of track 9 of playlist 15 to 0
get start of track 9 of user playlist id 33941 of source id 47
0
set start of track 9 of playlist 15 to 0
get year of track 9 of user playlist id 33941 of source id 47
2002
set year of track 9 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get track number of track 8 of user playlist id 33941 of source id 47
8
get track number of track 9 of user playlist id 33941 of source id 47
9
get track number of track 10 of user playlist id 33941 of source id 47
10
get artist of track 10 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 10 of playlist 15 to "1 Giant Leap"
get album of track 10 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 10 of playlist 15 to "1 Giant Leap"
get bpm of track 10 of user playlist id 33941 of source id 47
0
set bpm of track 10 of playlist 15 to 0
get comment of track 10 of user playlist id 33941 of source id 47
""
set comment of track 10 of playlist 15 to ""
get compilation of track 10 of user playlist id 33941 of source id 47
false
set compilation of track 10 of playlist 15 to false
get composer of track 10 of user playlist id 33941 of source id 47
""
set composer of track 10 of playlist 15 to ""
get disc number of track 10 of user playlist id 33941 of source id 47
1
set disc number of track 10 of playlist 15 to 1
get disc count of track 10 of user playlist id 33941 of source id 47
1
set disc count of track 10 of playlist 15 to 1
get enabled of track 10 of user playlist id 33941 of source id 47
true
set enabled of track 10 of playlist 15 to true
get EQ of track 10 of user playlist id 33941 of source id 47
""
set EQ of track 10 of playlist 15 to ""
get finish of track 10 of user playlist id 33941 of source id 47
470
set finish of track 10 of playlist 15 to 470
get genre of track 10 of user playlist id 33941 of source id 47
"World"
set genre of track 10 of playlist 15 to "World"
get name of track 10 of user playlist id 33941 of source id 47
"All Alone (On Eilean Shona)"
set name of track 10 of playlist 15 to "All Alone (On Eilean Shona)"
get rating of track 10 of user playlist id 33941 of source id 47
0
set rating of track 10 of playlist 15 to 0
get start of track 10 of user playlist id 33941 of source id 47
0
set start of track 10 of playlist 15 to 0
get year of track 10 of user playlist id 33941 of source id 47
2002
set year of track 10 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get track number of track 8 of user playlist id 33941 of source id 47
8
get track number of track 9 of user playlist id 33941 of source id 47
9
get track number of track 10 of user playlist id 33941 of source id 47
10
get track number of track 11 of user playlist id 33941 of source id 47
11
get artist of track 11 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 11 of playlist 15 to "1 Giant Leap"
get album of track 11 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 11 of playlist 15 to "1 Giant Leap"
get bpm of track 11 of user playlist id 33941 of source id 47
0
set bpm of track 11 of playlist 15 to 0
get comment of track 11 of user playlist id 33941 of source id 47
""
set comment of track 11 of playlist 15 to ""
get compilation of track 11 of user playlist id 33941 of source id 47
false
set compilation of track 11 of playlist 15 to false
get composer of track 11 of user playlist id 33941 of source id 47
""
set composer of track 11 of playlist 15 to ""
get disc number of track 11 of user playlist id 33941 of source id 47
1
set disc number of track 11 of playlist 15 to 1
get disc count of track 11 of user playlist id 33941 of source id 47
1
set disc count of track 11 of playlist 15 to 1
get enabled of track 11 of user playlist id 33941 of source id 47
true
set enabled of track 11 of playlist 15 to true
get EQ of track 11 of user playlist id 33941 of source id 47
""
set EQ of track 11 of playlist 15 to ""
get finish of track 11 of user playlist id 33941 of source id 47
359
set finish of track 11 of playlist 15 to 359
get genre of track 11 of user playlist id 33941 of source id 47
"World"
set genre of track 11 of playlist 15 to "World"
get name of track 11 of user playlist id 33941 of source id 47
"Racing Away (featuring Grant Lee Phillips & Horace Andy)"
set name of track 11 of playlist 15 to "Racing Away (featuring Grant Lee Phillips & Horace Andy)"
get rating of track 11 of user playlist id 33941 of source id 47
0
set rating of track 11 of playlist 15 to 0
get start of track 11 of user playlist id 33941 of source id 47
0
set start of track 11 of playlist 15 to 0
get year of track 11 of user playlist id 33941 of source id 47
2002
set year of track 11 of playlist 15 to 2002
count every track of user playlist id 33941 of source id 47
12
get track number of track 1 of user playlist id 33941 of source id 47
1
get track number of track 2 of user playlist id 33941 of source id 47
2
get track number of track 3 of user playlist id 33941 of source id 47
3
get track number of track 4 of user playlist id 33941 of source id 47
4
get track number of track 5 of user playlist id 33941 of source id 47
5
get track number of track 6 of user playlist id 33941 of source id 47
6
get track number of track 7 of user playlist id 33941 of source id 47
7
get track number of track 8 of user playlist id 33941 of source id 47
8
get track number of track 9 of user playlist id 33941 of source id 47
9
get track number of track 10 of user playlist id 33941 of source id 47
10
get track number of track 11 of user playlist id 33941 of source id 47
11
get track number of track 12 of user playlist id 33941 of source id 47
12
get artist of track 12 of user playlist id 33941 of source id 47
"1 Giant Leap"
set artist of track 12 of playlist 15 to "1 Giant Leap"
get album of track 12 of user playlist id 33941 of source id 47
"1 Giant Leap"
set album of track 12 of playlist 15 to "1 Giant Leap"
get bpm of track 12 of user playlist id 33941 of source id 47
0
set bpm of track 12 of playlist 15 to 0
get comment of track 12 of user playlist id 33941 of source id 47
""
set comment of track 12 of playlist 15 to ""
get compilation of track 12 of user playlist id 33941 of source id 47
false
set compilation of track 12 of playlist 15 to false
get composer of track 12 of user playlist id 33941 of source id 47
""
set composer of track 12 of playlist 15 to ""
get disc number of track 12 of user playlist id 33941 of source id 47
1
set disc number of track 12 of playlist 15 to 1
get disc count of track 12 of user playlist id 33941 of source id 47
1
set disc count of track 12 of playlist 15 to 1
get enabled of track 12 of user playlist id 33941 of source id 47
true
set enabled of track 12 of playlist 15 to true
get EQ of track 12 of user playlist id 33941 of source id 47
""
set EQ of track 12 of playlist 15 to ""
get finish of track 12 of user playlist id 33941 of source id 47
396
set finish of track 12 of playlist 15 to 396
get genre of track 12 of user playlist id 33941 of source id 47
"World"
set genre of track 12 of playlist 15 to "World"
get name of track 12 of user playlist id 33941 of source id 47
"Ghosts (featuring Eddi Reader)"
set name of track 12 of playlist 15 to "Ghosts (featuring Eddi Reader)"
get rating of track 12 of user playlist id 33941 of source id 47
0
set rating of track 12 of playlist 15 to 0
get start of track 12 of user playlist id 33941 of source id 47
0
set start of track 12 of playlist 15 to 0
get year of track 12 of user playlist id 33941 of source id 47
2002
set year of track 12 of playlist 15 to 2002
delete user playlist id 33941 of source id 47
end tell
if you see there at the end, when it “gets” it always gets from source id 47 (my main library) but when it “sets” there’s no source id. I’m figuring that’s why it won’t do it, but I can’t work out for the life of me how to achieve it!
Any help greatly appreciated…
– james