mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Implementation of playlist page visualization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public class SubsonicResponse {
|
||||
private License license;
|
||||
private JukeboxPlaylist jukeboxPlaylist;
|
||||
private JukeboxStatus jukeboxStatus;
|
||||
@Element
|
||||
@Element(name = "playlist")
|
||||
private PlaylistWithSongs playlist;
|
||||
@Element
|
||||
private Playlists playlists;
|
||||
|
||||
Reference in New Issue
Block a user