My add to itunes script is trying to add files of unsupported types such as jpg/txt/.thumb etc
I would like to be a bit more specific with the below code to only select mp3 & m4a
tell application "Finder" to set fPaths to paragraphs of ((files of entire contents of iTunesFolder) as Unicode text)
repeat with thisFilePath in fPaths
--processing code goes here
-- maybe I need an if file extension is in... type condition?
end repeat