I'm trying to make a link to my album, but none of the scripts seem to cover it... Fraid your gonna have to get your hands dirty with AppleScript, good news though - its easy. Here's an example, Lee 'Scratch' Perry : Voodooism. So using the AlbumLinkScript I created an extra line after set album_name & set artist_name for: set genre_name to "reggae" I left the 'set playlist_name' alone because I still want the playlist to be named "Lee 'Scratch' Perry : Voodooism". then I scrolled down to the bit of script that checks for a working playlist and creates one if it doesn't work or exist: if playlist playList_name exists then and added ", genre_name" to the 2 "my make_playlist" lines: my make_playlist(playList_name, album_name, artist_name, genre_name) This makes sure that when the script calls the my make_playlist code it sends the genre to that part of the script. on make_playlist(playList_name, album_name, artist_name) I add ", genre_name" like below: on make_playlist(playList_name, album_name, artist_name, genre_name) Now the make_playlist code knows that wherever it sees "genre_name" it really means "reggae". scroll down a bit for the track selection code: duplicate (every track whose album and change "artist" to "genre" and "artist_name" to "genre_name" like so: duplicate (every track whose album now click on the run button to test it. if it works save it as run only as normal but also save a copy as compiled (in case you need to alter it for a different album). Now if someone else has made a reggae album also called voodooism this script would grab that as well, Oops, but in the event you can always remove the unwanted tracks from the playlist, Long as it works. If I wasn't so lazy I could have made the track selections to cope with multiple artists ie: duplicate (every track whose album This is similar to the Lee Perry ArtistLink which looks for tracks whose (artist contains "Lee" and artist contains "Perry") So now you've got a rough idea, just keep changing it around to suit your needs.
| |