Difference between revisions of "UserTags"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
::* if episode is in "resume" (watched), that episode is returned as "next" | ::* if episode is in "resume" (watched), that episode is returned as "next" | ||
::* if episode is "completed", it returns the next available episode (next one within season or first one of next season) | ::* if episode is "completed", it returns the next available episode (next one within season or first one of next season) | ||
− | ::* if there is not available (new) episode, it | + | ::* if there is not available (new) episode, it returns the "last wached" episode, with -1 (''completed'') for ResumeValue (Series Completed; meaning that series is completed so far) |
::* if there is not any episode already watched, it returns the available episode with highest Season and Episode | ::* if there is not any episode already watched, it returns the available episode with highest Season and Episode | ||
::*etc | ::*etc |
Revision as of 16:59, 11 February 2015
UserTags are structured objects used to represent contents (movies, series...) along with their tags (watched, completed, favorite, etc.). This struct is a key object in the MyTv features, which shows lists of tagged user contents
Members
Field | Data Type | Description |
---|---|---|
TaggedContentID | int | Movie ID (in the case of series -follow-up feature- it will be the ID of the "movie" object -of series type- referring the whole series, not the ID of the SimpleMovie returned "below" in the TaggedContent) |
TagType | Array of TagType | Array of tags "active" for the object (for example, a movie may have tags "watched" + "completed" + "favorite") |
ResumeValue | int | It will contain the resume time value (for objects with "watched" started but not totally "completed"), or "-1" if completed.
|
TaggedContent | SimpleMovie |
|
Example
{
"Offset": 0,
"Limit": 100,
"Count": 2,
"List":
- {
- TaggedContentID: movieID001,
- TagType: [3 ('"watched"), 6 ("completed")],
- ResumeValue: -1 (already "completed'"),
- TaggedContent:
- SimpleMovie object
- }
- {
- TaggedContentID: movieID008,
- TagType: [3 ("watched")],
- ResumeValue: 43154 (int) (represents the time already watched),
- TaggedContent:
- SimpleMovie object
- }
}
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
3.0 | Initial data type implementation | Jose A. Jiménez |