media-player.go 321 B

12345678910111213
  1. package main
  2. type MediaPlugin struct {
  3. Bandwidth string `xml:"bandwidth,attr"`
  4. Id int `xml:"id,attr"`
  5. Name string `xml:"name,attr"`
  6. }
  7. type MediaPlayer struct {
  8. Error bool `xml:"error,attr"`
  9. State string `xml:"state,attr"`
  10. Plugin MediaPlugin `xml:"plugin"` // Might not exist in xml
  11. }