Merge lp:~vthompson/music-app/fix-1515067 into lp:music-app
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Victor Thompson | ||||
Approved revision: | 942 | ||||
Merged at revision: | 971 | ||||
Proposed branch: | lp:~vthompson/music-app/fix-1515067 | ||||
Merge into: | lp:music-app | ||||
Diff against target: |
47 lines (+2/-21) 2 files modified
app/ui/Artists.qml (+1/-21) debian/changelog (+1/-0) |
||||
To merge this branch: | bzr merge lp:~vthompson/music-app/fix-1515067 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Victor Thompson | Needs Information | ||
Andrew Hayzen | Approve | ||
Michi Henning (community) | Needs Information | ||
Facundo Batista | question about backend semantics | Pending | |
Review via email: mp+277306@code.launchpad.net |
Commit message
* Remove repeater for getting album titles in Artists.qml
Description of the change
* Remove repeater for getting album titles in Artists.qml
This makes the artistart queries the following: image:/
There are 2 main issues/questions concerning this change:
1. Is there a benefit to providing the "album" in this query? Ie, will we get better results?
2. When I remove the album parameter, such that the query is "image:
That being said, the results for providing a blank album seem to be the same as before--just fewer queries.
Thanks for the quick response, Victor!
The changes look good to me. But I don't know that much about the backend semantics, so I added Facundo to the review. Facundo, could you let us know please? We are trying to avoid hitting the server twice for each album in order to get artist art.
What are the semantics of setting only the artist, but not the album?
If I set both, such as "Beatles/Revolver" for one request, and then "Beatles/Help!", is it possible that different artist art would be returned? But maybe the question is academic because the music app does not have the concept of "different artist art depending on the album"...
If the album is needed for disambiguation, no problem. Victor, in that case, I'd just modify the change to always send a single request that specifies both album and artist, and not send the request with the empty album.
The point is to avoid hitting the server twice when once is enough.