124 lines
3.0 KiB
C#
124 lines
3.0 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using MusicCast.Net.Api.Server.Models;
|
|
|
|
namespace MusicCast.Net.Api.Server.Controllers;
|
|
|
|
[ApiController]
|
|
[Route("/YamahaExtendedControl/v1/netusb/")]
|
|
public class NetUsbController
|
|
{
|
|
[HttpGet]
|
|
[Route("getMcPlaylistName")]
|
|
public GetMcPlaylistNameResponse GetMcPlaylistName()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("getStreamingServiceSettings")]
|
|
public GetStreamingServiceSettingsResponse GetStreamingServiceSettings()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("getPlayInfo")]
|
|
public GetPlayInfoResponse GetPlayInfo()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("getPlayQueue")]
|
|
public GetPlayQueueResponse GetPlayQueue([FromQuery] int index)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("getRecentInfo")]
|
|
public GetRecentInfoResponse GetRecentInfo()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("recallRecentItem")]
|
|
public BaseResponse RecallRecentItem([FromQuery] string zone, [FromQuery] int num)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("setPlayback")]
|
|
public BaseResponse SetPlayback([FromQuery] PlaybackAction playback)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("toggleShuffle")]
|
|
public BaseResponse ToggleShuffle()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("toggleRepeat")]
|
|
public BaseResponse ToggleRepeat()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("getListInfo")]
|
|
public GetListInfoResponse GetListInfo([FromQuery] string list_id, [FromQuery] string input, [FromQuery] int size, [FromQuery] string lang)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("setListControl")]
|
|
public BaseResponse SetListControl([FromQuery] ListControlAction type, [FromQuery] int index, [FromQuery] string zone)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("manageList")]
|
|
public BaseResponse ManageList(
|
|
[FromQuery] string list_id,
|
|
[FromQuery] ManageListAction type,
|
|
[FromQuery] int index,
|
|
[FromQuery] int timeout,
|
|
[FromQuery] string zone
|
|
)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("managePlayQueue")]
|
|
public BaseResponse ManagePlayQueue(
|
|
[FromQuery] ManagePlayQueueAction type,
|
|
[FromQuery] int index,
|
|
[FromQuery] string zone
|
|
)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("copyPlayQueue")]
|
|
public BaseResponse CopyPlayQueue([FromQuery] int index)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[HttpGet]
|
|
[Route("movePlayQueueItem")]
|
|
public BaseResponse MovePlayQueueItem([FromQuery] int from, [FromQuery] int to)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |