Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
Discussion options

You must be logged in to vote

To mark only specific seasons as watched, you can use
TraktPost.NewSyncHistoryPost().AddShowAndSeasons(show).WithSeasons(1, 3, 5).

For your example, this would look like this:

ITraktSyncHistoryPost myTraktSyncHistoryPost = TraktPost.NewSyncHistoryPost().AddShowAndSeasons(
    new TraktShow { Ids = new TraktShowIds { Slug = watchedShow } })
    .WithSeasons(watchedSeason)
    .Build();

myHistoryAddResponse = await client.Sync.AddWatchedHistoryItemsAsync(myTraktSyncHistoryPost);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mpfc75
Comment options

Answer selected by mpfc75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants