Implementation of playlist page visualization

This commit is contained in:
CappielloAntonio 2021-07-30 14:27:00 +02:00
parent 95bcbb0f61
commit 051ba23b58
5 changed files with 35 additions and 17 deletions

View file

@ -6,12 +6,13 @@ import java.util.Map;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
public interface PlaylistService {
@GET("getPlaylists")
Call<SubsonicResponse> getPlaylists(@QueryMap Map<String, String> params);
@GET("getPlaylist?id={id}")
Call<SubsonicResponse> getPlaylist(@QueryMap Map<String, String> params, String id);
@GET("getPlaylist")
Call<SubsonicResponse> getPlaylist(@QueryMap Map<String, String> params, @Query("id") String id);
}