mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-30 17:04:51 +01:00
Merge pull request #212 from ultrasonic/fix-fail-to-open-album
Fix app doesn't open album using ID3 tags browsing.
This commit is contained in:
commit
0f83368755
@ -887,8 +887,11 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
|
|||||||
}
|
}
|
||||||
|
|
||||||
Intent intent = new Intent(this, SelectAlbumActivity.class);
|
Intent intent = new Intent(this, SelectAlbumActivity.class);
|
||||||
intent.putExtra(Constants.INTENT_EXTRA_NAME_ID, entry.getParent());
|
String albumId = Util.getShouldUseId3Tags(this) ? entry.getAlbumId() : entry.getParent();
|
||||||
|
intent.putExtra(Constants.INTENT_EXTRA_NAME_ID, albumId);
|
||||||
intent.putExtra(Constants.INTENT_EXTRA_NAME_NAME, entry.getAlbum());
|
intent.putExtra(Constants.INTENT_EXTRA_NAME_NAME, entry.getAlbum());
|
||||||
|
intent.putExtra(Constants.INTENT_EXTRA_NAME_IS_ALBUM, true);
|
||||||
|
intent.putExtra(Constants.INTENT_EXTRA_NAME_PARENT_ID, entry.getParent());
|
||||||
startActivityForResultWithoutTransition(this, intent);
|
startActivityForResultWithoutTransition(this, intent);
|
||||||
return true;
|
return true;
|
||||||
case R.id.menu_lyrics:
|
case R.id.menu_lyrics:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user