freezy / freezy/android-xbmcremote

Mixed up Button Actions in Album Details

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
364
Forks
247
PR merge metrics
No merged PRs in 30d

Description

The Actions of the 'Play' and 'Queue' Button in DialogFactory.java / getAlbumDetail() are mixed up.
The Play button queues an album, the queue button plays the album ;)

``` java
queueButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
musicManager.play(new DataResponse(), album, context);
}
});
playButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
musicManager.addToPlaylist(new DataResponse(), album, context);
}
});
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open DialogFactory.java and inspect getAlbumDetail(), focusing on the click listeners for the Play and Queue buttons. Correct the actions so Play plays the album and Queue adds it to the playlist, then verify both buttons behave accordingly in the album details dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.