Implemented Top Songs view per artist
This commit is contained in:
@@ -110,9 +110,9 @@ public class BrowsingClient {
|
||||
return browsingService.getSimilarSongs2(subsonic.getParams(), id, limit);
|
||||
}
|
||||
|
||||
public Call<SubsonicResponse> getTopSongs(String id, int count) {
|
||||
public Call<SubsonicResponse> getTopSongs(String artist, int count) {
|
||||
Log.d(TAG, "getTopSongs()");
|
||||
return browsingService.getTopSongs(subsonic.getParams(), id, count);
|
||||
return browsingService.getTopSongs(subsonic.getParams(), artist, count);
|
||||
}
|
||||
|
||||
private OkHttpClient getOkHttpClient() {
|
||||
|
||||
@@ -59,5 +59,5 @@ public interface BrowsingService {
|
||||
Call<SubsonicResponse> getSimilarSongs2(@QueryMap Map<String, String> params, @Query("id") String id, @Query("count") int count);
|
||||
|
||||
@GET("getTopSongs")
|
||||
Call<SubsonicResponse> getTopSongs(@QueryMap Map<String, String> params, @Query("id") String id, @Query("count") int count);
|
||||
Call<SubsonicResponse> getTopSongs(@QueryMap Map<String, String> params, @Query("artist") String artist, @Query("count") int count);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user