The script performs a Discogs API search for Artist SongTitle for the 'master release' of the single, gets back the Year, Genres and Styles.The script can optionally write the "Artist - Release" of the Discogs item into the Comments field, so you can check afterwards which master release this year came from.Multiple Genres (Auto): the script will write all genres and styles in the Genre field, separated by semicolons, for example Pop New Wave Synthpop One Genre (Auto) the script will write only one Genre. Choose Genre: the script will the prompt you for each track for the Genre to write.You choose to write Year, Genre or both.You select one or more songs in Music, you run the script Discogs Year and Genres.When you open Music, there's now a scripts dropdown menu in the top menu bar between Window and Help.(note: for iTunes users, the folder is /Library/iTunes/Scripts) Put this file in /Library/Music/Scripts (all users) or /Users/rickastley/Library/Music/Scripts (one user).Save the script as Discogs Year and Genres.scpt.Replace the tell application "Music" line with tell application "iTunes" If you are on macOS Mojave or older, you still have iTunes.Replace the text please_insert_your_own_API_key_here in the QueryDiscogs function with your own Discogs API key (you need to set up a Discogs account if you haven't got one).Download the Discogs Year and Genres.applescript file from this repository to your drive and open it in Script Editor.This is where this script comes in: it will try to find the original single on Discogs, and tag the song with that year and its specific genre(s). MusicBrainz Picard is pretty awesome, but will still tag (most) compilation album tracks with the release date of the album, not the years when the original singles were released. But looking up every single song, checking its original release year and genre(s), and writing that in the tags is tedious manual work. You might have tried auto-tagging genres with some tagger using last.fm or MusicBrainz but you've found out that the genres in those databases are all over the place.Ĭlearly, for search/filter/smart playlists to work as expected, these songs need to be tagged with their original release year, and preferably, the genre of the specific song.You've started using a new music player that supports multiple genres, but all your tracks are tagged with one genre.But unfortunately, all songs are tagged with the same genre(s). You have a compilation album with collected hit singles, but they're pretty diverse: Pop, Punk Rock, Hip-Hop, House, Reggaeton.So none of these songs ever get included in your Genre or Decade playlists, and this makes you sad. You have a big folder of loose tracks you downloaded on Napster back in the 1990s because you loved the videos on MTV! But they have no genre or year tags.To your frustration, Beatles songs keep appearing in your "90s Rock" playlists. You have ripped your cherished red and blue Beatles best-of CDs, released in 1993. ![]() Tagging these tracks with 2018 makes little sense: your smart playlist of "70s Disco" will not pick these tracks up, and instead these tunes show up between modern songs by Jessie Ware and Dua Lipa. You have an awesome disco compilation that was released in 2018, but contains tracks from 1975-1985. ![]() If you have a sizeable music library, you will probably recognise these scenarios: You might like the interface, the scriptabilty, or you simply need Music to sync music to your iPhone or iPad, or stream to your AppleTV. You are a happy macOS user, and you've successfully survived the transition from iTunes to the new Music app, introduced with macOS Catalina last year. Script 4: Display All Tags Script 1: Automatic tagging of Year and/or Genres from Discogs Script 1: Automatic tagging of Year and/or Genres from Discogs
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |