mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 00:43:12 +01:00
18 lines
538 B
Go
18 lines
538 B
Go
package mpd
|
|
|
|
import "encoding/xml"
|
|
|
|
type EventStream struct {
|
|
XMLName xml.Name `xml:"EventStream"`
|
|
SchemeIDURI *string `xml:"schemeIdUri,attr"`
|
|
Value *string `xml:"value,attr,omitempty"`
|
|
Timescale *uint `xml:"timescale,attr"`
|
|
Events []Event `xml:"Event,omitempty"`
|
|
}
|
|
|
|
type Event struct {
|
|
XMLName xml.Name `xml:"Event"`
|
|
ID *string `xml:"id,attr,omitempty"`
|
|
PresentationTime *uint64 `xml:"presentationTime,attr,omitempty"`
|
|
Duration *uint64 `xml:"duration,attr,omitempty"`
|
|
}
|