This commit is contained in:
2026-03-05 13:22:00 +03:00
commit f276b28be7
10 changed files with 510 additions and 0 deletions

18
subsonic/system.go Normal file
View File

@@ -0,0 +1,18 @@
package subsonic
import "time"
type PingResponse struct {
Response
}
type License struct {
Valid bool `xml:"valid,attr" json:"valid"`
Email string `xml:"email,attr" json:"email"`
Expires time.Time `xml:"licenseExpires,attr" json:"licenseExpires"`
}
type LicenseResponse struct {
Response
License License `xml:"license" json:"license"`
}