by Scottes » Tue Apr 29, 2014 3:06 pm
I'm working on a project (C#) to get a lot of info about my songs. I'm going to access numerous databases (MusicBrainz, Echo Nest, Last.fm, etc.) and grab what info I can get (within reason). As an example, I might get genres/styles from all of them for later analysis when looking for similar artists/albums/tracks.
This will be too much data to store in MM, so I will put it in a different database. Yet I want to be able to somehow link the two so that I can show a single form that shows a song's data from all sources simultaneously (MM, MusicBrainz, Last.fm, etc.) So I need a way to link songs in MM to records in my database.
My first guess would be to use SongID, but I'm worried that a specific SongID might get changed after deleting songs and/or cleaning and compacting the database.
Would SongID be a good key field to link the databases? Do SongIDs ever get re-used and/or re-assigned?
It would be easy to generate a unique ID and store it in a Custom field, and link on that, but I'd rather not use up a Custom.
Anyone have any suggestions?
I'm working on a project (C#) to get a lot of info about my songs. I'm going to access numerous databases (MusicBrainz, Echo Nest, Last.fm, etc.) and grab what info I can get (within reason). As an example, I might get genres/styles from all of them for later analysis when looking for similar artists/albums/tracks.
This will be too much data to store in MM, so I will put it in a different database. Yet I want to be able to somehow link the two so that I can show a single form that shows a song's data from all sources simultaneously (MM, MusicBrainz, Last.fm, etc.) So I need a way to link songs in MM to records in my database.
My first guess would be to use SongID, but I'm worried that a specific SongID might get changed after deleting songs and/or cleaning and compacting the database.
Would SongID be a good key field to link the databases? Do SongIDs ever get re-used and/or re-assigned?
It would be easy to generate a unique ID and store it in a Custom field, and link on that, but I'd rather not use up a Custom.
Anyone have any suggestions?