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:
@@ -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>
|
||||
|
||||
@@ -105,8 +105,6 @@
|
||||
<string name="lbl_go_genre">Go to genre</string>
|
||||
<string name="lbl_go_artist">Go to artist</string>
|
||||
<string name="lbl_go_album">Go to album</string>
|
||||
<string name="lbl_play_genre">Play from genre</string>
|
||||
<string name="lbl_play_artist">Play from artist</string>
|
||||
<string name="lbl_song_detail">View properties</string>
|
||||
|
||||
<string name="lbl_props">Song properties</string>
|
||||
@@ -182,7 +180,7 @@
|
||||
<!-- Skip to next (song) -->
|
||||
<string name="set_bar_action_next">Skip to next</string>
|
||||
<string name="set_bar_action_repeat">Repeat mode</string>
|
||||
<string name="set_bar_action_shuffle">@string/lbl_shuffle</string>
|
||||
<string name="set_bar_action_shuffle" translatable="false">@string/lbl_shuffle</string>
|
||||
<string name="set_alt_action">Use alternate notification action</string>
|
||||
<string name="set_alt_repeat">Prefer repeat mode action</string>
|
||||
<string name="set_alt_shuffle">Prefer shuffle action</string>
|
||||
@@ -206,8 +204,7 @@
|
||||
<string name="set_playback_mode_none">Play from shown item</string>
|
||||
<string name="set_playback_mode_all">Play from all songs</string>
|
||||
<string name="set_playback_mode_album">Play from album</string>
|
||||
<string name="set_playback_mode_artist">@string/lbl_play_artist</string>
|
||||
<string name="set_playback_mode_genre">@string/lbl_play_genre</string>
|
||||
<string name="set_playback_mode_artist">Play from artist</string>
|
||||
<string name="set_keep_shuffle">Remember shuffle</string>
|
||||
<string name="set_keep_shuffle_desc">Keep shuffle on when playing a new song</string>
|
||||
<string name="set_rewind_prev">Rewind before skipping back</string>
|
||||
@@ -237,7 +234,8 @@
|
||||
<string name="set_dirs_mode_include">Include</string>
|
||||
<string name="set_dirs_mode_include_desc">Music will <b>only</b> be loaded from the folders you add.</string>
|
||||
<string name="set_separators">Multi-value separators</string>
|
||||
<string name="set_separators_desc">Configure the characters that denote multiple values in tags</string>
|
||||
<string name="set_separators_desc">Configure characters that denote multiple tag values</string>
|
||||
<string name="set_separators_warning">Warning: Using this setting may result in some tags being incorrectly interpreted as having multiple values.</string>
|
||||
<string name="set_separators_comma">Comma (,)</string>
|
||||
<string name="set_separators_semicolon">Semicolon (;)</string>
|
||||
<string name="set_separators_slash">Slash (/)</string>
|
||||
|
||||
Reference in New Issue
Block a user