package com.live.mylivewallpaper.request;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface MusicApi {



    @POST("LiveLoop/AppData/jmywall.php")
    @FormUrlEncoded
    Observable<ResponseBody> getMP4(@Field("pi") int pi,
                                         @Field("medium") String medium,
                                         @Field("alpha") String alpha,
                                         @Field("version") String version,
                                         @Field("quality") String quality);



    //shift
    @POST("LiveLoop/AppData/jshiftwall.php")
    @FormUrlEncoded
    Observable<ResponseBody> getShiftMP4(@Field("pi") int pi,
                                    @Field("medium") String medium,
                                    @Field("alpha") String alpha,
                                    @Field("version") String version,
                                    @Field("quality") String quality);

//
//    //Dnamic
//    @POST("LiveLoop/AppData/jdaytimewall.php")
//    @FormUrlEncoded
//    Observable<ResponseBody> getDMP4(@Field("pi") int pi,
//                                         @Field("medium") String medium,
//                                         @Field("alpha") String alpha,
//                                         @Field("version") String version,
//                                         @Field("quality") String quality,
//                                         @Field("filenumber") String filenumber);

}
