Yes, we reached an end in the discussion.
If I find a solution I will post here.
Thanks for your help.
1 Like
Here is a quick and dirty solution. It is fast but arguably not pretty. But it gets the job done!
tell application "Music"
-- Start playing the first song in the playlist. Then start the script.
-- You will receive an error message when the script is done.
set pl to current playlist
repeat
set sel to current track
get description of sel
set description of sel to ""
set sel to next track
end repeat
end tell
1 Like
Here is a better version.
tell application "Music"
-- Start playing any song in the playlist. Then run the script.
try
set pl to current playlist
on error
display dialog "Start playing any song in the playlist. Then run the script."
error number -128
end try
set theName to the text returned of (display dialog "Enter text for Description tag." default answer "")
set pl to current playlist
set ct to number of track in pl
play pl
repeat ct times
set sel to current track
get description of sel
set description of sel to theName
set sel to next track
pause
end repeat
end tell
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.