Unwatched fix

This commit is contained in:
Matt Burchett
2018-11-20 11:46:42 -06:00
parent d016327e43
commit b75e47db83
2 changed files with 6 additions and 9 deletions

View File

@ -48,13 +48,13 @@ type PlexPyMediaInfo struct {
VideoResolution string `json:"video_resolution"`
GrandparentRatingKey string `json:"grandparent_rating_key"`
AudioChannels string `json:"audio_channels"`
LastPlayed int64 `json:"last_played"`
LastPlayed int64 `json:"last_played,omitempty"`
SectionID int `json:"section_id"`
PlayCount int `json:"play_count"`
Bitrate string `json:"bitrate"`
VideoFramerate string `json:"video_framerate"`
MediaIndex string `json:"media_index"`
AddedAt string `json:"added_at"`
AddedAt int64 `json:"added_at,string"`
VideoCodec string `json:"video_codec"`
ParentMediaIndex string `json:"parent_media_index"`
} `json:"data"`