crunchy-labs / crunchyroll-rs

🦀 Pure Rust implementation of the Crunchyroll API
Apache License 2.0
63 stars 14 forks source link

Questions about watch history capabilities #35

Closed vynxc closed 7 months ago

vynxc commented 7 months ago

I didn't see any implementation to set watch history, if this doesn't exist already is it planned? Just come context, I'm looking to create a cli tool to copy watch history from one account/profile to another.

bytedream commented 7 months ago

Setting a episode as watched is a bit ugly. The only way to do it is via the set_playhead method. I think something like this should work:

episode.set_playhead(episode.duration.num_seconds() as u32).await