music: add multi-artist support

Add semi-complete support for multiple artists.

This changeset completely reworks the music linker to add the following
new behaviors:
1. Artists are now derived from both artist and album artist tags,
with them being linked to songs and albums respectively
2. Albums and songs can now have multiple artists that can be distinct
from eachother
3. Previous Genre picking infrastructure has been removed and replaced
with artist picking infrastructure. "Play from genre" has been retired
entirely.

This is a clean break to the previous artist model and may not work
with all libraries. Steps to migrate the music library will be added
to the changelog.

Resolves #195.
This commit is contained in:
Alexander Capehart
2022-09-23 10:15:28 -06:00
parent b6d1cd7cb0
commit 62ee46cfe6
43 changed files with 845 additions and 592 deletions
+11 -16
View File
@@ -80,14 +80,12 @@
<item>@string/set_playback_mode_all</item>
<item>@string/set_playback_mode_artist</item>
<item>@string/set_playback_mode_album</item>
<item>@string/set_playback_mode_genre</item>
</string-array>
<integer-array name="values_library_song_playback_mode">
<item>@integer/play_mode_songs</item>
<item>@integer/play_mode_artist</item>
<item>@integer/play_mode_album</item>
<item>@integer/play_mode_genre</item>
<item>@integer/music_mode_songs</item>
<item>@integer/music_mode_artist</item>
<item>@integer/music_mode_album</item>
</integer-array>
<string-array name="entries_detail_song_playback_mode">
@@ -95,15 +93,13 @@
<item>@string/set_playback_mode_all</item>
<item>@string/set_playback_mode_artist</item>
<item>@string/set_playback_mode_album</item>
<item>@string/set_playback_mode_genre</item>
</string-array>
<integer-array name="values_detail_song_playback_mode">
<item>@integer/play_mode_none</item>
<item>@integer/play_mode_songs</item>
<item>@integer/play_mode_artist</item>
<item>@integer/play_mode_album</item>
<item>@integer/play_mode_genre</item>
<item>@integer/music_mode_none</item>
<item>@integer/music_mode_songs</item>
<item>@integer/music_mode_artist</item>
<item>@integer/music_mode_album</item>
</integer-array>
<string-array name="entries_replay_gain">
@@ -126,11 +122,10 @@
<integer name="bar_action_repeat">0xA11A</integer>
<integer name="bar_action_shuffle">0xA11B</integer>
<integer name="play_mode_none">-2147483648</integer>
<integer name="play_mode_genre">0xA108</integer>
<integer name="play_mode_artist">0xA109</integer>
<integer name="play_mode_album">0xA10A</integer>
<integer name="play_mode_songs">0xA10B</integer>
<integer name="music_mode_none">-2147483648</integer>
<integer name="music_mode_artist">0xA109</integer>
<integer name="music_mode_album">0xA10A</integer>
<integer name="music_mode_songs">0xA10B</integer>
<integer name="replay_gain_track">0xA111</integer>
<integer name="replay_gain_album">0xA112</integer>