Hi Doug,
I've started this thread as a continuation of your work following my post on this page:
http://www.ipodlounge.com/forums/sho...5&pagenumber=2 (sorry, don't know how to link to specific post).
I have some further suggestions/refinements to the algorithm if you are interested.
Again, I'm not sure how feasible it is. anyway here it is in layman's terms/plain English:
=========
/Comment/ User runs script
check is selected track = playing track?
if YES continue, if NO ask "did you want to move the selected track ("S") or the playing track("P")"? Set choice (S or P) to "track"
/Comment/ I'm not sure what parameters of "track" you collect. I am assuming it is - track name, artist name, album name, file size, and maybe a whole lot more.
Select playlist you wish to add this track to. List all user playlists.
Note user selection of playlist.
check if selected "track" exists in playlist if YES ask user to confirm move.
check if selected "track"(track name, artist, album) matches any track in playlist with same track name, artist, album. Compare bit rates and ask "you already have this track with a higher/lower bit rate. do you want to add or replace?"
check if selected "track"(track name, artist) matches any track in playlist with same track name, artist. Compare album names and ask "you already have this track by (artist name) from another album. do you want to add or replace?"
check if selected "track"(track name) matches any track in playlist with same track name. Compare artist names and ask "you already have a track called (track name) by another artist. do you want to add or replace?"
/add or replace routine goes here/
Doug, I take it that it is not easy to add applescript shortcuts to the contextual menu, correct?
Piquet