You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When automatically assigning a genre, take a peek at the other genres of that artist to find the most occurring genre. For instance, Muse is all Prog Rock, so when adding an album for Muse, it's probably going to be Prog Rock as well.
The text was updated successfully, but these errors were encountered:
// pseudocodeprivateStringgetCommonGenreForArtist() {
if (notInLabel()) {
FileartistDirectory = file.getParentFile().getParentFile();
List<File> allFiles = FileUtils.listFiles(artistDirectory);
foreach(Filefile : allFiles) {
if (file.getName().endsWith(".mp3") {
// getGenre and store it in list count
}
}
// do math on genre list
}
}
When automatically assigning a genre, take a peek at the other genres of that artist to find the most occurring genre. For instance, Muse is all Prog Rock, so when adding an album for Muse, it's probably going to be Prog Rock as well.
The text was updated successfully, but these errors were encountered: