View Full Version : List of all artists with 5 star songs?
hbmartin
05-02-2004, 01:59 AM
Is there any way to get a list of all artists who have 5 star songs?
Thanks,
Harold
ginalee
05-02-2004, 04:02 AM
Course there is...
Go to File > New Smart playlist > my Rating is > select 5 starts and VOILA your list of music of 5 stars!
hbmartin
05-02-2004, 12:03 PM
Originally posted by ginalee
Course there is...
Go to File > New Smart playlist > my Rating is > select 5 starts and VOILA your list of music of 5 stars!
I asked for a list of all artists, not all songs.
dekkerd
05-02-2004, 12:33 PM
Picky, aren't you? :)
Follow above steps, then clicky on the artist group tab. They should list in alphabetical then.
To directly answer your question, I know of no way just to get a list of artists. You have to list the songs, then sort them by artist.
hbmartin
05-02-2004, 12:38 PM
I already tried that and it was a pain.
Which is why I asked for an automated way :)
dcmacnut
05-02-2004, 03:27 PM
Create your playlist as recommended above, and then go into browse mode within that list. Control-B on Windows and Command-B on a Mac. Then you'll see a list of your artists in the browse window. That's about the closest you are going to get.
Chris
Doug Adams
05-02-2004, 05:36 PM
This AppleScript creates a text file listing all artists who have at least 1 track rated 5 stars.global file_name, newContents
tell application "iTunes"
set theList to (get a reference to (every track of library playlist 1 whose rating is 100))
set newContents to {}
repeat with a in theList
set art to (get artist of a as text)
if art is not "" and art is not in newContents then
set end of newContents to art
set end of newContents to return
end if
end repeat
set newContents to newContents as string
my get_the_file_name()
my make_report()
end tell
to get_the_file_name()
set file_name to (choose file name with prompt "Enter a name for the exported file:" default name "")
if file_name is false then error number -128 -- cancel
if file_name as string does not end with ".txt" then set file_name to ((file_name as string) & ".txt")
return file_name
end get_the_file_name
to make_report()
try
do shell script "rm " & quoted form of POSIX path of file_name
end try
try
copy (a reference to (open for access file_name with write permission)) to fileRefr
write newContents to fileRefr
close access fileRefr
on error errx number errNum from badObj
try
close access fileRefr
end try
log errNum
if (errNum is equal to -48) then
--display dialog "File exists"
do shell script "rm " & quoted form of POSIX path of file_name
my make_report()
else
display dialog "There has been an error creating the file:" & return & return & (badObj as string) & errx & return & "error number: " & errNum buttons {"Cancel"}
end if
end try
set dMes to return & return & "Would you like to open the text file report with TextEdit now?"
set myEnding to (display dialog "Done!" & dMes buttons {"Done", "Yes"} default button 2 with icon 1 giving up after 30)
if button returned of myEnding is "Yes" or gave up of myEnding is true then
tell application "TextEdit"
activate
try
open (file_name as alias)
on error errMs
display dialog errMs buttons {"Cancel"}
end try
end tell
end if -- button is "Done"
end make_report
festus
05-04-2004, 07:22 PM
You can get a printed list. Make a smart playlist of the songs with 5 stars and go to File>Print then select "song name"
Doug Adams
05-04-2004, 08:37 PM
He wanted a list of each Artist (listed only once) that had at least one 5 star track. Not a list of all 5-star tracks.
hbmartin
05-04-2004, 09:41 PM
Thanks Doug. The second script you gave me worked great :)
Harold