Searching for a similar song in iTunes
Hi,
I'd like to get all the similar songs of a selected track with similar name and same artist.
Here is my script :
tell application "iTunes"
set theSelection to selection
set t to (item 1 of theSelection)
set artist_name to artist of t
set track_name to name of t
set results to (file tracks whose artist is artist_name and name contains track_name)
return results
end tell
Everything is ok except I get the selected song in the results and I want to exclude it.
How to do that ?
Thx.