mirror of
https://github.com/nvllsvm/Audinaut
synced 2024-12-11 16:25:22 +01:00
Fix search artist for some backends
This commit is contained in:
parent
27b0dc742c
commit
09c5d7ee51
@ -65,10 +65,10 @@ public class QueryReceiverActivity extends AppCompatActivity {
|
||||
intent.putExtra(Constants.INTENT_EXTRA_VIEW_ALBUM, true);
|
||||
if (albumId.indexOf("ar-") == 0) {
|
||||
intent.putExtra(Constants.INTENT_EXTRA_NAME_ARTIST, true);
|
||||
albumId = albumId.replace("ar-", "");
|
||||
albumId = albumId.replaceFirst("ar-", "");
|
||||
} else if (albumId.indexOf("so-") == 0) {
|
||||
intent.putExtra(Constants.INTENT_EXTRA_SEARCH_SONG, name);
|
||||
albumId = albumId.replace("so-", "");
|
||||
albumId = albumId.replaceFirst("so-", "");
|
||||
}
|
||||
intent.putExtra(Constants.INTENT_EXTRA_NAME_ID, albumId);
|
||||
if (name != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user