MoleMan1024 / audiowagon

AudioWagon will play audio files from an attached USB flash drive in cars equipped with Android Automotive OS
https://moleman1024.github.io/audiowagon/
GNU General Public License v3.0
58 stars 18 forks source link

Compilations / various artist albums are created as separate albums #1

Closed MoleMan1024 closed 2 years ago

MoleMan1024 commented 3 years ago

Describe the issue received from a beta tester: "No matter how I tag an album, unless all the artists are the same, you end up with 20 separate albums. [...] [then] you can't use the track skip buttons unless you've selected 'play all' and, in the scenario above, you can never select play all because each album only has one track in it."

AudioWagon version 0.2.5

Logfiles audiowagon_2021-09-05_16-26-50.zip

MoleMan1024 commented 3 years ago

Logfile shows that isInCompilation was false, so the iTunesCompilation flag was not set in the MP3 files.

2021-09-05 16:26:52.138 [DEBUG   ][10008][AudioMetadataMaker  ] Extracted metadata: AudioItem(id=, uri=, artist=Dire Straits, album=Soundcheck, title=So Far Away - Full Version, genre=, trackNum=4, year=1985, durationMS=312790, albumArtURI=, browsPlayableFlags=0, isInCompilation=false)
...
2021-09-05 16:26:52.184 [DEBUG   ][10008][AudioMetadataMaker  ] Extracted metadata: AudioItem(id=, uri=, artist=Donald Fagen, album=Soundcheck, title=Morph the Cat, genre=, trackNum=23, year=2006, durationMS=408973, albumArtURI=, browsPlayableFlags=0, isInCompilation=false)

I already saw that this would be annoying when implementing it... I cannot use only the album name itself because there might be albums by different artists with the same name (e.g. "Greatest Hits"). Need to find if there are heuristics to determine if an album is a compilation album.

stevelup commented 3 years ago

This was user error on my behalf. Adding the extended ID3 tag of 'COMPILATION=1' resolves this. Can either be done in software such as Mp3Tag (you need to add a custom field called 'COMPILATION' and then set the value to 1 for all the tracks on the album.

iTunes should also sort this out if you tick the 'part of a compilation' option.

lvitalis commented 2 years ago

Related to #22

MoleMan1024 commented 2 years ago

documentation on the new behaviour for tagging has been added to FAQ section for 1.1.0