Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: allan716 <525223688@qq.com>
- Loading branch information
1 parent
753d2db
commit ff325ef
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package ifaces | ||
|
||
type iMediaSystem interface { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package media_system | ||
|
||
type RecentlyItems struct { | ||
Items []RecentlyItem `json:"Items,omitempty"` | ||
TotalRecordCount int `json:"TotalRecordCount,omitempty"` | ||
} | ||
|
||
type RecentlyItem struct { | ||
Name string `json:"Name,omitempty"` | ||
Id string `json:"Id,omitempty"` | ||
IndexNumber int `json:"IndexNumber,omitempty"` | ||
ParentIndexNumber int `json:"ParentIndexNumber,omitempty"` | ||
Type string `json:"Type,omitempty"` | ||
UserData struct { | ||
PlaybackPositionTicks int `json:"PlaybackPositionTicks"` | ||
PlayCount int `json:"PlayCount"` | ||
IsFavorite bool `json:"IsFavorite"` | ||
Played bool `json:"Played"` | ||
} `json:"UserData"` | ||
SeriesName string `json:"SeriesName,omitempty"` | ||
} |