Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to add/remove titles from a users watchlist #14

Open
Gyvastis opened this issue Jan 26, 2019 · 6 comments
Open

Feature to add/remove titles from a users watchlist #14

Gyvastis opened this issue Jan 26, 2019 · 6 comments

Comments

@Gyvastis
Copy link

Gyvastis commented Jan 26, 2019

Has there been any research on this topic? I would be willing to contribute, just wondering if it's already been discussed and has been dismissed or is it feasible to be implemented? As far as I can see, you're probably making the same API calls as the Netflix client does, so that should not be an issue. Unless there's no need for this feature.

@LBBO
Copy link
Owner

LBBO commented Jan 26, 2019

If you mean adding titles to the list of titles you want to watch: no, there have not been any plans for thats. However, a PR would be highly appreciated!

If you mean adding / removing titles from viewing history: Yes, there are plans to add that. I'll go into more detail, if that's what you actually meant.

@uilton-oliveira
Copy link

@LBBO "adding / removing titles from viewing history" what is the current stage of this? that would be amazing!

@LBBO
Copy link
Owner

LBBO commented Feb 9, 2019

@DarkSupremo Removing titles should be fairly simple, I might even get that done this weekend. Adding them to the viewing history is a whole other story, though!

As far as I know, the normal netflix UI offers no other way of doing that, than watching titles. I inspected the network activity while doing just that and every time I paused or resumed the video, it sent a request to a certain endpoint which, judging by its URL, does not belong to the shakti API. Those requests always had practically identical headers, however the bodies always contained three JSON objects, which seemed to contain Base64 encoded JSON data which seems to be partially encrypted as one property is named ciphertext and contains completely illegible data.

It might be possible to send these requests manually, but it would definitely take me a while to figure out, how. If you'd like, you're very welcome to help!

@orgicus
Copy link
Contributor

orgicus commented Mar 8, 2019

@genderquery looking forward to a bit of feedback: this my first PR on a node project and using Netflix and node is not something I do a lot off.

Let me know if this PR is acceptable or advise otherwise.

(In hind sight I've spotted a typo and perhaps hideViewingHistory is a more transparent name than clearViewhingHistory which implies the history is completely cleared for a movie or series when it's simply hidden from the user.)

@DarkSupremo hopefully this covers removing (a request to the same getViewingHistory()(/viewingactivity), but a POST instead of GET passing {"movieID":YOUR_MOVIE_ID,"seriesAll":hideWholeSeriesOrNot,"authURL":"YOUR_AUTH_URL_HERE"} as the request body).
I don't know how to add new things to the viewing history other watching something (e.g. /watch/80077368) but I'm hoping there are other ideas.

@orgicus
Copy link
Contributor

orgicus commented Mar 8, 2019

@LBBO FYI I've fixed my typo, added hideMovieViewingHistory/hideAllViewingHistory methods and updated the README. Hope it's all legit 😄

LBBO pushed a commit that referenced this issue Sep 10, 2019
* added hideSingleEpisodeFromViewingActivity, hideEntireSeriesFromViewingHistory and hideAllViewingHistory addressing issue #14

* updated README
@Wikxen
Copy link

Wikxen commented Apr 8, 2020

This is requested in the CLI project as well: LBBO/netflix-migrate#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants