@@ -1985,7 +1985,7 @@ public ErrorResponse SeekPlayback(int positionMs, string deviceId = "")
19851985 /// <returns></returns>
19861986 public ErrorResponse SetRepeatMode ( RepeatState state , string deviceId = "" )
19871987 {
1988- return UploadData < ErrorResponse > ( _builder . SetRepeatMode ( state , deviceId ) , string . Empty ) ;
1988+ return UploadData < ErrorResponse > ( _builder . SetRepeatMode ( state , deviceId ) , string . Empty , "PUT" ) ;
19891989 }
19901990
19911991 /// <summary>
@@ -1996,7 +1996,7 @@ public ErrorResponse SetRepeatMode(RepeatState state, string deviceId = "")
19961996 /// <returns></returns>
19971997 public ErrorResponse SetVolume ( int volumePercent , string deviceId = "" )
19981998 {
1999- return UploadData < ErrorResponse > ( _builder . SetVolume ( volumePercent , deviceId ) , string . Empty ) ;
1999+ return UploadData < ErrorResponse > ( _builder . SetVolume ( volumePercent , deviceId ) , string . Empty , "PUT" ) ;
20002000 }
20012001
20022002 /// <summary>
@@ -2007,7 +2007,7 @@ public ErrorResponse SetVolume(int volumePercent, string deviceId = "")
20072007 /// <returns></returns>
20082008 public ErrorResponse SetShuffle ( bool shuffle , string deviceId = "" )
20092009 {
2010- return UploadData < ErrorResponse > ( _builder . SetShuffle ( shuffle , deviceId ) , string . Empty ) ;
2010+ return UploadData < ErrorResponse > ( _builder . SetShuffle ( shuffle , deviceId ) , string . Empty , "PUT" ) ;
20112011 }
20122012
20132013 #endregion
@@ -2248,4 +2248,4 @@ private Task<Tuple<ResponseInfo, T>> DownloadDataAltAsync<T>(string url)
22482248
22492249 #endregion Util
22502250 }
2251- }
2251+ }
0 commit comments