Add server api definition

This commit is contained in:
2025-05-24 19:54:06 +02:00
commit a80465c6c1
37 changed files with 3842 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
namespace MusicCast.Net.Api.Server.Models;
public class GetPlayInfoResponse
{
public int response_code { get; set; }
public string input { get; set; }
public string play_queue_type { get; set; }
public string playback { get; set; }
public string repeat { get; set; }
public string shuffle { get; set; }
public int play_time { get; set; }
public int total_time { get; set; }
public string artist { get; set; }
public string album { get; set; }
public string track { get; set; }
public string albumart_url { get; set; }
public int albumart_id { get; set; }
public string usb_devicetype { get; set; }
public bool auto_stopped { get; set; }
public int attribute { get; set; }
public string[] repeat_available { get; set; }
public string[] shuffle_available { get; set; }
}